diff --git a/src/main/java/techreborn/init/ModBlocks.java b/src/main/java/techreborn/init/ModBlocks.java index a31a2a0a9..fffe446ef 100644 --- a/src/main/java/techreborn/init/ModBlocks.java +++ b/src/main/java/techreborn/init/ModBlocks.java @@ -301,7 +301,7 @@ public class ModBlocks { RUBBER_PLANKS = new BlockRubberPlank(); registerBlock(RUBBER_PLANKS, "rubber_planks"); - RUBBER_LOG_SLAB_HALF = new BlockRubberPlankSlab.BlockHalf("rubber_log"); + RUBBER_LOG_SLAB_HALF = new BlockRubberPlankSlab.BlockHalf("rubber_plank"); registerBlockNoItem(RUBBER_LOG_SLAB_HALF, "rubber_plank_slab"); RUBBER_LOG_SLAB_DOUBLE = new BlockRubberPlankSlab.BlockDouble("rubber_plank", RUBBER_LOG_SLAB_HALF); @@ -469,6 +469,7 @@ public class ModBlocks { OreUtil.registerOre("logRubber", new ItemStack(RUBBER_LOG, 1, OreDictionary.WILDCARD_VALUE)); OreUtil.registerOre("plankWood", new ItemStack(RUBBER_PLANKS, 1, OreDictionary.WILDCARD_VALUE)); OreUtil.registerOre("slabWood", new ItemStack(RUBBER_LOG_SLAB_HALF, 1, OreDictionary.WILDCARD_VALUE)); + OreUtil.registerOre("stairWood", new ItemStack(RUBBER_LOG_STAIR, 1, OreDictionary.WILDCARD_VALUE)); OreUtil.registerOre("plankRubber", new ItemStack(RUBBER_PLANKS, 1, OreDictionary.WILDCARD_VALUE)); OreUtil.registerOre("treeLeaves", new ItemStack(RUBBER_LEAVES, 1, OreDictionary.WILDCARD_VALUE)); OreUtil.registerOre("leavesRubber", new ItemStack(RUBBER_LEAVES, 1, OreDictionary.WILDCARD_VALUE)); diff --git a/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java b/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java index 3dd53eb68..43b71f000 100644 --- a/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java +++ b/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java @@ -284,7 +284,10 @@ public class CraftingTableRecipes extends RecipeMethods { registerShaped(getMaterial(part, Type.PART), " O ", "OIO", " O ", 'I', getStack(Items.IRON_INGOT), 'O', "ingot" + StringUtils.toFirstCapital(part.replace("Gear", ""))); } } - + + registerShaped(new ItemStack(ModBlocks.RUBBER_LOG_SLAB_HALF), "WWW", 'W', new ItemStack(ModBlocks.RUBBER_PLANKS)); + registerShaped(new ItemStack(ModBlocks.RUBBER_LOG_STAIR), "W ", "WW ", "WWW", 'W', new ItemStack(ModBlocks.RUBBER_PLANKS)); + Core.logHelper.info("Crafting Table Recipes Added"); } diff --git a/src/main/resources/assets/techreborn/blockstates/rubber_plank_double_slab.json b/src/main/resources/assets/techreborn/blockstates/rubber_plank_double_slab.json index 69ddecdbc..d5031b42e 100644 --- a/src/main/resources/assets/techreborn/blockstates/rubber_plank_double_slab.json +++ b/src/main/resources/assets/techreborn/blockstates/rubber_plank_double_slab.json @@ -8,7 +8,15 @@ }, "variants": { - "inventory": { "transform": "forge:default-block" }, + "inventory": { + "transform": "forge:default-block", + "model": "half_slab", + "textures": { + "top": "techreborn:blocks/rubber_planks", + "bottom": "techreborn:blocks/rubber_planks", + "side": "techreborn:blocks/rubber_planks" + } + }, "variant": { "default": {} }