Difference between revisions of "ContentTweaker:BlockItem Support"
From MineTweaker3 Wiki
m (8 revisions imported) |
|||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
The following handlers are supported: | The following handlers are supported: | ||
| − | * | + | * Blocks |
| − | * | + | * Items |
Groups are the overall types variations can be chiseled in. For example Cyan Hex Plating would be the Variation of the Group Hex Plating. | Groups are the overall types variations can be chiseled in. For example Cyan Hex Plating would be the Variation of the Group Hex Plating. | ||
| Line 10: | Line 10: | ||
Parameters marked as <span style="color:red">red</span> are optional and can be left out | Parameters marked as <span style="color:red">red</span> are optional and can be left out | ||
| + | |||
| + | //Blocks | ||
| + | // | ||
| + | //LocalizedNameString, UnlocalizedNameString, MaterialNameString, TextureNameString, <span style="color:red">CreativeTabString, renderType , IItemStackArrayDrops, Unbreakable, DoubleHardness, FloatLightLevel, IntLightOpacity</span> | ||
| + | mods.content.Block.registerBlock("Content", "content_block", "rock", "content_block", <span style="color:red">"misc", 1, [<minecraft:dirt>, <minecraft:diamond>], false, 0.5f, 0.8f, 2</span>); | ||
//Items | //Items | ||
Latest revision as of 18:17, 20 August 2025
Handlers Supported
The following handlers are supported:
- Blocks
- Items
Groups are the overall types variations can be chiseled in. For example Cyan Hex Plating would be the Variation of the Group Hex Plating.
Each of these handlers can have recipes added or removed:
Parameters marked as red are optional and can be left out //Blocks // //LocalizedNameString, UnlocalizedNameString, MaterialNameString, TextureNameString, CreativeTabString, renderType , IItemStackArrayDrops, Unbreakable, DoubleHardness, FloatLightLevel, IntLightOpacity mods.content.Block.registerBlock("Content", "content_block", "rock", "content_block", "misc", 1, [<minecraft:dirt>, <minecraft:diamond>], false, 0.5f, 0.8f, 2); //Items //LocalizedNameString, UnlocalizedNameString, TextureNameString, CreativeTabString, MaxDamage, MaxStackSize, ToolTypeString, ToolLevel, isFull3D, LoreArrayString mods.content.Item.registerItem("Content", "content", "content_item", "misc', 50, 1, "pickaxe", 2, true, ["I am the tooltip text", "I am also!"]);
Commands Supported
Prints are stored in the minetweaker log in the minecraft directory.
/mt [] - Outputs a list of /
| ContentTweaker Supported Mods & Vanilla |
|---|
|
Blocks and Items Support | |