Fix some final issues with the slabs + add recipes
This commit is contained in:
parent
a567139ffd
commit
0536ef08a0
3 changed files with 15 additions and 3 deletions
|
@ -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));
|
||||
|
|
|
@ -285,6 +285,9 @@ public class CraftingTableRecipes extends RecipeMethods {
|
|||
}
|
||||
}
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
|
|
|
@ -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": {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue