This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This first part adds Seared Stone as a material. Toolparts and tool graphics are created automatically by color */ | |
NBTTagCompound tag = new NBTTagCompound(); | |
tag.setInteger("Id", 50); // Unique material ID. Reseved IDs: 0-40 Tinker, 41-45 Iguana Tinker Tweaks, 100-200 ExtraTiC | |
tag.setString("Name", "Seared Stone"); // Unique material name | |
tag.setInteger("HarvestLevel", 3); // diamond level | |
tag.setInteger("Durability", 100); | |
tag.setInteger("MiningSpeed", 100); | |
tag.setInteger("Attack", 0); // optional | |
tag.setFloat("HandleModifier", 0.1f); | |
tag.setInteger("Reinforced", 0); // optional |