This tutorial faces Mengxin, who is just in contact
First of all, you need to prepare CRT, COT, BASE Start
Then enter the scripts folder of your game root directory. Create a new ZS English file in a ZS format.
The part with the slide is the part that I fill in
Do you
// State the script for cot operation
#Loader ContentTweaker
// His load order
#priority 56
// Import the corresponding resources
Import Mods.ContentTWEAKER.ITEM;
Import Mods.ContentTweaker.Vanillafactory;
// Create item data
// Create your item ID
var infleentropy as item = vanillafactory.createItem ("Inverse_entropy");
// Set the maximum stack of items
INVERSEENTROPY.MAXSTACKSIZE = 4;
// Where do you want him to create items in the label page
INVEENTROPY.CREATIVETAB =
// Can this thing be stuffed into the beacon
INVERSEENTROPY.BEACONPayment = TRUE;
// The maximum durability, the negative number is regarded as ordinary items, such as diamonds, and the positive number is regarded as a tool
INVERSEENTROPY.MAXDAMAGE = -1;
// Set the scarcity of items, which affects the color display color of the items. It can only be used "Common", "Uncommon", "Rare", "EPIC"
INVERSEENTROPY.rarity = "EPIC";
// Register this thing you write
INVERSEENTROPY.register ();
Of course, what COT can do is obviously more than just what I do n’t know why COT ’s death does not show the code about the battle that causes me to create a armor through COT when I write this tutorial.Pass
Because I only used the above instructions when I wrote this script, the following instructions were not included on the script above. Of course, the following is the same.
// Even if your items have no enchantment, it looks like an attachment.
xxx.glowing = Boolean value;
// What will happen when you use this tool to break a square
xxx.ItemDestroyedBlock = Boolean value;
// Your tools to destroy the speed of the square
xxx.ItemDestroyspeed = Treatment;
// Define what the animation is used in items, and can only use these 5 "NONE", "EAT", "Drink", "Block", "Bow"
xxx.ItemuseAction = ("None");
// Write the name in the code, of course I suggest you write LANG
xxx.localizedNameSupplier = ("What do you love to fill in");
// Throwing what you wrote in the furnace is burned, how much experience will give you
xxx.smeltingexprerine = float;
// Define if your item is a tool and what tools can be defined except swords and armor, such as pickaxe
xxx.toolClass = "Pickaxe";
// Define the excavation level of your tools
xxxtoollevel = "int";
There is no list here, because I do n’t understand what it means, and it ’s not commonly used. I’ m afraid to teach you wrong. If you want to see you, you can click this link to view
In addition, a more advanced tutorial can view the tutorial of the friendship with the guy and the Wikipedia of the CRT