From 123c12ae454ee1bee939abc1d0d8058c69200c16 Mon Sep 17 00:00:00 2001 From: joflashstudios Date: Sun, 7 Jun 2015 01:02:45 -0400 Subject: [PATCH] Changed QuantumChest, QuantumTank, and DigitalChest to use readability helpers. --- .../techreborn/compat/recipes/RecipesIC2.java | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/main/java/techreborn/compat/recipes/RecipesIC2.java b/src/main/java/techreborn/compat/recipes/RecipesIC2.java index 351f7f668..076596174 100644 --- a/src/main/java/techreborn/compat/recipes/RecipesIC2.java +++ b/src/main/java/techreborn/compat/recipes/RecipesIC2.java @@ -22,6 +22,7 @@ import techreborn.init.ModItems; import techreborn.util.CraftingHelper; import techreborn.util.LogHelper; import techreborn.util.RecipeRemover; +import techreborn.items.ItemParts; public class RecipesIC2 { public static ConfigTechReborn config; @@ -391,8 +392,8 @@ public class RecipesIC2 { CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.quantumChest), new Object[] {"DCD", "ATA", "DQD", - 'D', new ItemStack(ModItems.parts, 1, 8), - 'C', new ItemStack(ModItems.parts, 1, 40), + 'D', ItemParts.getPartByName("dataOrb"), + 'C', ItemParts.getPartByName("computerMonitor"), 'A', ModBlocks.HighAdvancedMachineBlock, 'Q', ModBlocks.digitalChest, 'T', IC2Items.getItem("teleporter")}); @@ -401,10 +402,19 @@ public class RecipesIC2 { new Object[] {"PPP", "PDP", "PCP", 'P', "plateSteel", - 'D', new ItemStack(ModItems.parts, 1, 8), - 'C', new ItemStack(ModItems.parts, 1, 40) + 'D', ItemParts.getPartByName("dataOrb"), + 'C', ItemParts.getPartByName("computerMonitor") } ); + + CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.digitalChest), + new Object[] + {"PPP", "PDP", "PCP", + 'P', "plateAluminum", + 'D', ItemParts.getPartByName("dataOrb"), + 'C', ItemParts.getPartByName("computerMonitor") + } + ); LogHelper.info("Added Expensive IC2 Recipes"); }