From 5ad0cf0cc03406840ff33758dde7751b0b60e53a Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 14 Aug 2016 11:55:20 +0200 Subject: [PATCH] Use oredict chests for crafting Closes #206 --- .../actuallyadditions/mod/crafting/BlockCrafting.java | 6 +++--- .../actuallyadditions/mod/crafting/ItemCrafting.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/BlockCrafting.java b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/BlockCrafting.java index 41bdeb1b4..6946fabde 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/BlockCrafting.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/BlockCrafting.java @@ -279,7 +279,7 @@ public final class BlockCrafting{ 'B', new ItemStack(Items.REDSTONE), 'O', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()), 'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()), - 'C', new ItemStack(Blocks.CHEST))); + 'C', "chestWood")); recipeItemInterface = RecipeUtil.lastIRecipe(); } @@ -459,7 +459,7 @@ public final class BlockCrafting{ GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomface), " C ", "EBE", " S ", 'E', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()), - 'C', Blocks.CHEST, + 'C', "chestWood", 'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()), 'B', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()))); recipePhantomface = RecipeUtil.lastIRecipe(); @@ -710,7 +710,7 @@ public final class BlockCrafting{ if(ConfigCrafting.GIANT_CHEST.isEnabled()){ GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGiantChest), "CWC", "WDW", "CWC", - 'C', new ItemStack(Blocks.CHEST), + 'C', "chestWood", 'D', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal()), 'W', "plankWood")); recipeCrate = RecipeUtil.lastIRecipe(); diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/ItemCrafting.java b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/ItemCrafting.java index 9ceb44039..3c63010a4 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/ItemCrafting.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/ItemCrafting.java @@ -99,7 +99,7 @@ public final class ItemCrafting{ "SLS", "SCS", "LVL", 'S', new ItemStack(Items.STRING), 'L', new ItemStack(Items.LEATHER), - 'C', new ItemStack(Blocks.CHEST), + 'C', "chestWood", 'V', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.COAL.ordinal()))); recipeBag = RecipeUtil.lastIRecipe(); }