Fix some final issues with the slabs + add recipes

This commit is contained in:
modmuss50 2018-06-09 11:32:02 +01:00
parent a567139ffd
commit 0536ef08a0
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
3 changed files with 15 additions and 3 deletions

View file

@ -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));

View file

@ -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");
}

View file

@ -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": {}
}