Difference between revisions of "ContentTweaker:TConstruct Support"
From MineTweaker3 Wiki
(Create page) |
|||
| Line 12: | Line 12: | ||
//String key, String name, String style, IItemStack resource, int materialID, int harvestLevel, int durability, int miningSpeed, int attack, int reinforced, int primaryColor, int value, double handleModifier, double stonebound, boolean buildParts, int modifiers, String lore, double arrowMass, double arrowBreakChance, int bowDrawSpeed, double bowSpeedMax,<span style="color:red"> @Optional IItemStack[][] nativeModifiers, @Optional String[] nativeEnchantments</span> | //String key, String name, String style, IItemStack resource, int materialID, int harvestLevel, int durability, int miningSpeed, int attack, int reinforced, int primaryColor, int value, double handleModifier, double stonebound, boolean buildParts, int modifiers, String lore, double arrowMass, double arrowBreakChance, int bowDrawSpeed, double bowSpeedMax,<span style="color:red"> @Optional IItemStack[][] nativeModifiers, @Optional String[] nativeEnchantments</span> | ||
| − | mods.content.Material.registerMaterial("Content", "content", "§1", <minecraft:diamond>, 50, 8, 80, 8, 4, 0, 3914239, 1, 2, 0, true, 0, "hello", 1, 2, 3, 2, <span style="color:red">[[<minecraft:redstone>*5]], "16 3"</span>); | + | mods.content.Material.registerMaterial("Content", "content", "§1", <minecraft:diamond>, 50, 8, 80, 8, 4, 0, 3914239, 1, 2, 0, true, 0, "hello", 1, 2, 3, 2, <span style="color:red">[[<minecraft:redstone>*5]], "16 3"</span>); |
Here is an example for the naticeModifiers and nativeEnchantments | Here is an example for the naticeModifiers and nativeEnchantments | ||
Revision as of 13:40, 21 October 2015
Handlers Supported
The following handlers are supported:
- registerMaterial
Each of these handlers can have recipes added or removed:
Parameters marked as red are optional and can be left out //Materials //String key, String name, String style, IItemStack resource, int materialID, int harvestLevel, int durability, int miningSpeed, int attack, int reinforced, int primaryColor, int value, double handleModifier, double stonebound, boolean buildParts, int modifiers, String lore, double arrowMass, double arrowBreakChance, int bowDrawSpeed, double bowSpeedMax, @Optional IItemStack[][] nativeModifiers, @Optional String[] nativeEnchantments
mods.content.Material.registerMaterial("Content", "content", "§1", <minecraft:diamond>, 50, 8, 80, 8, 4, 0, 3914239, 1, 2, 0, true, 0, "hello", 1, 2, 3, 2, [[<minecraft:redstone>*5]], "16 3");
Here is an example for the naticeModifiers and nativeEnchantments https://gist.github.com/dries007/e59713e040723bfb7489 (This is for json, but it is fairly simple to convert to zenscript)
Commands Supported
Prints are stored in the minetweaker log in the minecraft directory.
/mt [] - Outputs a list of /
| ContentTweaker Supported Mods & Vanilla |
|---|