This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I have added thatch roofing to my mod. The problem is that I can't get the thatch half slab to be craftable:
{ "type": "minecraft:crafting_shaped", "pattern": [ "TTT" ], "key": { "T": { "item": "minecraft:stick" } }, "result": { "item": "km:thatch_half_slab", "count": 3 } }
Above is the JSON file for the crafting recipe.
Finds a server that says "No PvP"
*Pushes AFK player off cliff*
Steals Player's Stuff
Admin Can't do anything cause I didn't hit him so "no actual PvP".
Has anyone please found a solution to this?
In case it helps here is my block init class:
public class BlockInit { public static Block windmill_block; public static Block gravel_path; public static GravelPathSlab gravel_path_half_slab; public static GravelPathSlab gravel_path_double_slab; public static Block thatch_block; public static Block thatch_slope; public static ThatchSlab thatch_half_slab; public static ThatchSlab thatch_double_slab; //Initialize blocks: public static void init () { windmill_block = new WindmillBlock ("windmill_block"); gravel_path = new BlockBase("gravel_path", SoundType.GROUND, Material.GROUND, 0.6f, 3.0f, "shovel", 0); gravel_path_half_slab = new GravelPathSlab.Half("gravel_path_half_slab", SoundType.GROUND, gravel_path_half_slab, 0.6f, 3.0f, "shovel", 0, Material.GROUND); gravel_path_double_slab = new GravelPathSlab.Double("gravel_path_double_slab", SoundType.GROUND, gravel_path_double_slab, 0.6f, 3.0f, "shovel", 0, Material.GROUND); thatch_block = new BlockBase("thatch_block", SoundType.PLANT, Material.PLANTS, 0.5f, 2.5f, "axe", 0); thatch_slope = new StairsBase("thatch_slope", SoundType.PLANT, 0.5f, 2.5f, "axe", 0, thatch_block.getDefaultState()); thatch_half_slab = new ThatchSlab.Half("thatch_half_slab", SoundType.PLANT, thatch_half_slab, 0.5f, 2.5f, "axe", 0, Material.PLANTS); thatch_double_slab = new ThatchSlab.Double("thatch_double_slab", SoundType.PLANT, thatch_double_slab, 0.5f, 2.5f, "axe", 0, Material.PLANTS); } //Register blocks: public static void register () { registerBlock(windmill_block, Main.blocksTab); registerBlock(gravel_path, Main.blocksTab); registerBlock(gravel_path_half_slab, Main.blocksTab, new ItemSlab(gravel_path_half_slab, gravel_path_half_slab, gravel_path_double_slab)); ForgeRegistries.BLOCKS.register(gravel_path_double_slab); registerBlock(thatch_block, Main.blocksTab); registerBlock(thatch_slope, Main.blocksTab); registerBlock(thatch_half_slab, Main.blocksTab, new ItemSlab(thatch_half_slab, thatch_half_slab, thatch_double_slab)); ForgeRegistries.BLOCKS.register(thatch_double_slab); } //Register blocks continued: public static void registerBlock (Block block, CreativeTabs tab) { ForgeRegistries.BLOCKS.register(block); block.setCreativeTab(tab); ItemBlock item = new ItemBlock(block); item.setRegistryName(block.getRegistryName()); ForgeRegistries.ITEMS.register(item); ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory")); } //Register blocks continued: public static void registerBlock (Block block, CreativeTabs tab, ItemBlock itemBlock) { ForgeRegistries.BLOCKS.register(block); block.setCreativeTab(tab); itemBlock.setRegistryName(block.getRegistryName()); ForgeRegistries.ITEMS.register(itemBlock); ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory")); } }
I have added thatch roofing to my mod. The problem is that I can't get the thatch half slab to be craftable:
Above is the JSON file for the crafting recipe.
Finds a server that says "No PvP"
*Pushes AFK player off cliff*
Steals Player's Stuff
Admin Can't do anything cause I didn't hit him so "no actual PvP".
Has anyone please found a solution to this?
Finds a server that says "No PvP"
*Pushes AFK player off cliff*
Steals Player's Stuff
Admin Can't do anything cause I didn't hit him so "no actual PvP".
In case it helps here is my block init class:
Finds a server that says "No PvP"
*Pushes AFK player off cliff*
Steals Player's Stuff
Admin Can't do anything cause I didn't hit him so "no actual PvP".