diff --git a/common/crazypants/enderio/machine/MachineRecipes.java b/common/crazypants/enderio/machine/MachineRecipes.java index 6d56c69c..860f083e 100644 --- a/common/crazypants/enderio/machine/MachineRecipes.java +++ b/common/crazypants/enderio/machine/MachineRecipes.java @@ -54,15 +54,6 @@ public class MachineRecipes { } GameRegistry.addShapedRecipe(reservoir, "gfg", "gcg", "gfg", 'g', glassSides, 'c', Item.cauldron, 'f', fusedQuartz); - //light - ItemStack poweredLamp = new ItemStack(blockElectricLight.actualId, 1, 0); - ItemStack glowstone = new ItemStack(Item.glowstone); - if(Config.useHardRecipes) { - GameRegistry.addShapedRecipe(poweredLamp, "ggg", "sds", "scs", 'g', fusedQuartz, 'd', glowstone, 's', silicon, 'c', capacitor); - } else { - GameRegistry.addShapedRecipe(poweredLamp, "ggg", "sds", "scs", 'g', Block.glass, 'd', glowstone, 's', silicon, 'c', capacitor); - } - //mill ItemStack crusher = new ItemStack(blockCrusher.actualId, 1, 0); if(Config.useHardRecipes) { @@ -93,18 +84,10 @@ public class MachineRecipes { } } - //MJ Reader + //MJ Monitor ItemStack mJReader = new ItemStack(ModObject.itemMJReader.actualId, 1, 0); - ItemStack electricalSteel = new ItemStack(ModObject.itemAlloy.actualId, 1, Alloy.ELECTRICAL_STEEL.ordinal()); ItemStack powerConduit = new ItemStack(itemPowerConduit.actualId, 1, 0); ItemStack redstoneConduit = new ItemStack(itemRedstoneConduit.actualId, 1, 2); - - GameRegistry - .addShapedRecipe(mJReader, "epe", "gcg", "srs", 'p', powerConduit, 'r', redstoneConduit, 'c', Item.comparator, 'g', Block.thinGlass, 's', silicon, 'e', - electricalSteel); - - //MJ Monitor - ItemStack mJMonitor = new ItemStack(ModObject.blockPowerMonitor.actualId, 1, 0); GameRegistry .addShapedRecipe(mJMonitor, "bmb", "bMb", "bcb", 'b', Block.stoneBrick, 'e', Item.eyeOfEnder, 'M', machineChassi, 'm', mJReader, 'p', powerConduit, @@ -116,6 +99,7 @@ public class MachineRecipes { ItemStack capacitor = new ItemStack(itemBasicCapacitor.actualId, 1, 0); ItemStack alloySmelter = new ItemStack(blockAlloySmelter.actualId, 1, 0); ItemStack machineChassi = new ItemStack(ModObject.itemMachinePart.actualId, 1, MachinePart.MACHINE_CHASSI.ordinal()); + ItemStack fusedQuartz = new ItemStack(ModObject.blockFusedQuartz.actualId, 1, 0); //alloy smelter if(Config.useHardRecipes) { @@ -160,5 +144,27 @@ public class MachineRecipes { GameRegistry.addRecipe(new ShapedOreRecipe(capacitorBank, "mcm", "crc", "mcm", 'm', metal, 'c', activatedCapacitor, 'r', Block.blockRedstone)); } + + //light + ItemStack poweredLamp = new ItemStack(blockElectricLight.actualId, 1, 0); + ItemStack glowstone = new ItemStack(Item.glowstone); + ArrayList silicon = OreDictionary.getOres("itemSilicon"); + if(Config.useHardRecipes) { + GameRegistry.addShapedRecipe(poweredLamp, "ggg", "sds", "scs", 'g', fusedQuartz, 'd', glowstone, 's', silicon, 'c', capacitor); + GameRegistry.addRecipe(new ShapedOreRecipe(poweredLamp, "ggg", "sds", "scs", 'g', fusedQuartz, 'd', glowstone, 's', silicon, 'c', capacitor)); + + } else { + GameRegistry.addRecipe(new ShapedOreRecipe(poweredLamp, "ggg", "sds", "scs", 'g', Block.glass, 'd', glowstone, 's', silicon, 'c', capacitor)); + + } + + //MJ Reader + ItemStack mJReader = new ItemStack(ModObject.itemMJReader.actualId, 1, 0); + ItemStack electricalSteel = new ItemStack(ModObject.itemAlloy.actualId, 1, Alloy.ELECTRICAL_STEEL.ordinal()); + ItemStack powerConduit = new ItemStack(itemPowerConduit.actualId, 1, 0); + ItemStack redstoneConduit = new ItemStack(itemRedstoneConduit.actualId, 1, 2); + + GameRegistry.addRecipe(new ShapedOreRecipe(mJReader, "epe", "gcg", "srs", 'p', powerConduit, 'r', redstoneConduit, 'c', Item.comparator, 'g', Block.thinGlass, 's', silicon, 'e', + electricalSteel)); } } \ No newline at end of file