Changed QuantumChest, QuantumTank, and DigitalChest to use readability helpers.

This commit is contained in:
joflashstudios 2015-06-07 00:41:20 -04:00
parent 9fa01eaee2
commit d9494c31fb

View file

@ -22,6 +22,8 @@ import techreborn.init.ModItems;
import techreborn.util.CraftingHelper; import techreborn.util.CraftingHelper;
import techreborn.util.LogHelper; import techreborn.util.LogHelper;
import techreborn.util.RecipeRemover; import techreborn.util.RecipeRemover;
import techreborn.items.ItemParts;
import techreborn.blocks.BlockOre;
public class RecipesIC2 { public class RecipesIC2 {
public static ConfigTechReborn config; public static ConfigTechReborn config;
@ -391,8 +393,8 @@ public class RecipesIC2 {
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.quantumChest), CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.quantumChest),
new Object[] new Object[]
{"DCD", "ATA", "DQD", {"DCD", "ATA", "DQD",
'D', new ItemStack(ModItems.parts, 1, 8), 'D', ItemParts.getPartByName("dataOrb"),
'C', new ItemStack(ModItems.parts, 1, 40), 'C', ItemParts.getPartByName("computerMonitor"),
'A', ModBlocks.HighAdvancedMachineBlock, 'A', ModBlocks.HighAdvancedMachineBlock,
'Q', ModBlocks.digitalChest, 'Q', ModBlocks.digitalChest,
'T', IC2Items.getItem("teleporter")}); 'T', IC2Items.getItem("teleporter")});
@ -401,11 +403,20 @@ public class RecipesIC2 {
new Object[] new Object[]
{"PPP", "PDP", "PCP", {"PPP", "PDP", "PCP",
'P', "plateSteel", 'P', "plateSteel",
'D', new ItemStack(ModItems.parts, 1, 8), 'D', ItemParts.getPartByName("dataOrb"),
'C', new ItemStack(ModItems.parts, 1, 40) 'C', BlockOre.getOreByName("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"); LogHelper.info("Added Expensive IC2 Recipes");
} }