Difference between revisions of "ContentTweaker:BlockItem Support"

From MineTweaker3 Wiki
Jump to: navigation, search
(Handlers Supported)
m (8 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
 
  //Blocks
 
  //Blocks
 
  //
 
  //
  //LocalizedNameString, UnlocalizedNameString, MaterialNameString, TextureNameString, <span style="color:red">CreativeTabString, renderType , IItemStackArrayDrops, Unbreakable, DoubleHardness, FloatLightLevel, IntLightOpacity)
+
  //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>);
 
  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>);
 
   
 
   

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 |