Difference between revisions of "ContentTweaker:BlockItem Support"
From MineTweaker 3
(→Handlers Supported) |
m (8 revisions imported) |
(No difference)
|
Latest revision as of 14:35, 12 September 2023
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 | |