your current location:首页 > news>Extremely simple ZENTRAITS tutorial ZENTRAITS MINECRAFT Game

Extremely simple ZENTRAITS tutorial ZENTRAITS MINECRAFT Game

2024-12-10 17:57:55|Myriagame |source:minecraft skins

Guide bag

 Import Zentraits.traitmanager; 

Add the existing characteristics to the material

 tractmanager.attachtrait ("material ID", "characteristic ID", "part type (optional)");

Example:

 tractmanager.attachtrait ("stone", "holy"); // Add "sacred" entries to all parts of the stone material

Traitmanager.attachtrait ("Stone", "Holy", "Handle"); // Add the "sacred" entry to the handle of the stone material

Delete characteristics in existing materials

 tractmanager.detachtrait ("material ID", "characteristic ID", "component type (optional)"); 

Example:

 Traitmanager.detachtrait ("Cobalt", "Lightweight_armor"); // Remove the "light" armor entry from all components of cobalt materials

TraitManager.detachtrait ("Cobalt", "Lightweight_armor", "Trim"); // Remove the "light" armor entry from the cobalt material

Delete all the characteristics of existing materials

 tractmanager.detAchalltraits ("material ID", "component type (optional)"); 

Example:

 Trartmanager.detachalltraits ("Ardite"); // Delete all the characteristics of Adid's material

TraitManager.detAChalltraits ("Ardite", "Head"); // Delete all the characteristics on the top of the Adide material

Summary: A lightweight CRT expansion can partially instead of adjusting the module of the craftsmanship (in fact, there is no easy use, but the ZS statement may be more convenient to call)