From ca2ebd4bd1887d32dab8c9c23b419c617a1b4f58 Mon Sep 17 00:00:00 2001 From: boubou19 Date: Tue, 18 Jul 2023 17:52:23 +0200 Subject: Added machine type on single block tooltips (#2138) * change tooltips * put machine types together * Added constructor to accept multi line tooltip on sbs * sorting machine registering methods * update MachineType * migrate machines to multiline description * add new constructor for matter amplifier * migrate matter amplifier to multi line tooltip * spotless apply * Capitalize machine types * breakdown large run methods into themed methods * migrate TE IDs to an enum (1/?) * spotless apply * migrate TE IDs to an enum (2/?) * migrate TE IDs to an enum (3/?) * migrate TE IDs to an enum (4/?) * spotless apply * sorting crafting recipes by type + fix meta id typo * migrate TE IDs to an enum(5/?) * spotless apply * merge master (#2143) * Make structure tooltips more colorful (#2133) * default color changes * add colored casing amount builders * oversight * address reviews * GPL Special Item access (#2134) * Added getters to allow a machine to set the special item for recipe checking * Changes to ore factorys running mode description (#2135) * Changes the integrated ore factory mode description to match what its actually doing. * Some tooltip grammar changes. That would have annoyed me :) * Enable void protection for PA (#2136) * Added ofNoOverclock builder that accepts eut and duration (#2140) * Fix findRecipe might limit stack size by 64 (#2139) * Fix potential issue with applecore ItemFoodProxy (#2137) * Fix potential issue with applecore ItemFoodProxy * Fix the worst class loader issue ive ever encountered --------- Co-authored-by: GDCloud <93287602+GDCloudstrike@users.noreply.github.com> Co-authored-by: Maxim Co-authored-by: Lyfts <127234178+Lyfts@users.noreply.github.com> Co-authored-by: miozune Co-authored-by: Serenibyss <10861407+serenibyss@users.noreply.github.com> * Moved machine type and descriptions to lang files * Removed redundant visibility modifier * Only expose translated descriptions * Using prefix gt.recipe for NEI compatibility * Deprecate use of LanguageManager in GT_Recipe_Map * Unify GT_Recipe and MachineType localization * Electromagnetic Polarizer consistency with Separator * Added Packager MachineType * Added Scanner MachineType * Added Rock breaker MachineType * Added Mass Fabricator MachineType * Added Replicator MachineType * Added "Machine Type" tooltip to steam machines * public modifier unnecessary * Spotless apply --------- Co-authored-by: minecraft7771 Co-authored-by: Martin Robertz Co-authored-by: GDCloud <93287602+GDCloudstrike@users.noreply.github.com> Co-authored-by: Lyfts <127234178+Lyfts@users.noreply.github.com> Co-authored-by: miozune Co-authored-by: Serenibyss <10861407+serenibyss@users.noreply.github.com> Co-authored-by: YannickMG --- .../load/GT_Loader_MetaTileEntities_Recipes.java | 10428 ++++++++++--------- 1 file changed, 5281 insertions(+), 5147 deletions(-) (limited to 'src/main/java/gregtech/loaders/load') diff --git a/src/main/java/gregtech/loaders/load/GT_Loader_MetaTileEntities_Recipes.java b/src/main/java/gregtech/loaders/load/GT_Loader_MetaTileEntities_Recipes.java index 3f1540c9da..c637e21e05 100644 --- a/src/main/java/gregtech/loaders/load/GT_Loader_MetaTileEntities_Recipes.java +++ b/src/main/java/gregtech/loaders/load/GT_Loader_MetaTileEntities_Recipes.java @@ -1,5 +1,6 @@ package gregtech.loaders.load; +import static gregtech.api.enums.MetaTileEntityIDs.*; import static gregtech.api.enums.Mods.BuildCraftFactory; import static gregtech.api.enums.Mods.Forestry; import static gregtech.api.enums.Mods.Gendustry; @@ -20,6 +21,7 @@ import gregtech.api.enums.ConfigCategories; import gregtech.api.enums.Dyes; import gregtech.api.enums.GT_Values; import gregtech.api.enums.ItemList; +import gregtech.api.enums.MachineType; import gregtech.api.enums.Materials; import gregtech.api.enums.OreDictNames; import gregtech.api.enums.OrePrefixes; @@ -53,1352 +55,610 @@ public class GT_Loader_MetaTileEntities_Recipes implements Runnable { | GT_ModHandler.RecipeBits.BUFFERED; private static final long bitsd = GT_ModHandler.RecipeBits.DISMANTLEABLE | bits; - private static void run1() { - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Pipe_Polytetrafluoroethylene.get(1L), - bits, - new Object[] { "PIP", "IFI", "PIP", 'P', OrePrefixes.plate.get(Materials.Polytetrafluoroethylene), 'F', - OrePrefixes.frameGt.get(Materials.Polytetrafluoroethylene), 'I', - OrePrefixes.pipeMedium.get(Materials.Polytetrafluoroethylene) }); + private static void registerMachineTypes() { + registerAlloySmelter(); + registerArcFurnace(); + registerAutoclave(); + registerAssembler(); + registerBendingMachine(); + registerCanner(); + registerCentrifuge(); + registerCompressor(); + registerChemicalBath(); + registerChemicalReactor(); + registerCircuitAssembler(); + registerCuttingMachine(); + registerDistillery(); + registerElectricFurnace(); + registerElectrolyser(); + registerElectromagneticSeparator(); + registerExtractor(); + registerExtruder(); + registerFermenter(); + registerFluidCanner(); + registerFluidExtractor(); + registerFluidHeater(); + registerFluidSolidifier(); + registerForgeHammer(); + registerFormingPress(); + registerLathe(); + registerLaserEngraver(); + registerMacerator(); + registerMatterAmplifier(); + registerMicrowave(); + registerMixer(); + registerOreWasher(); + registerOven(); + registerPlasmaArcFurnace(); + registerPolarizer(); + registerPrinter(); + registerRecycler(); + registerSifter(); + registerSlicer(); + registerThermalCentrifuge(); + registerUnpackager(); + registerWiremill(); + } - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Pipe_Polybenzimidazole.get(1L), - bits, - new Object[] { "PIP", "IFI", "PIP", 'P', OrePrefixes.plate.get(Materials.Polybenzimidazole), 'F', - OrePrefixes.frameGt.get(Materials.Polybenzimidazole), 'I', - OrePrefixes.pipeMedium.get(Materials.Polybenzimidazole) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_ULV.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', - OrePrefixes.plate.get(Materials.WroughtIron) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_LV.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', OrePrefixes.plate.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_MV.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', OrePrefixes.plate.get(Materials.Aluminium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_HV.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', - OrePrefixes.plate.get(Materials.StainlessSteel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_EV.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', OrePrefixes.plate.get(Materials.Titanium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_IV.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', - OrePrefixes.plate.get(Materials.TungstenSteel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_LuV.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', - OrePrefixes.plate.get(ExternalMaterials.getRhodiumPlatedPalladium()) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_ZPM.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', OrePrefixes.plate.get(Materials.Iridium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_UV.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', OrePrefixes.plate.get(Materials.Osmium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_MAX.get(1L), - bits, - new Object[] { aTextPlate, aTextPlateWrench, aTextPlate, 'P', - OrePrefixes.plate.get(Materials.Neutronium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_BronzePlatedBricks.get(1L), - bits, - new Object[] { "PhP", "PBP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Bronze), 'B', - new ItemStack(Blocks.brick_block, 1) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Steel), 'F', - OrePrefixes.frameGt.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_StableTitanium.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Titanium), 'F', - OrePrefixes.frameGt.get(Materials.Titanium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_HeatProof.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Invar), 'F', - OrePrefixes.frameGt.get(Materials.Invar) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_FrostProof.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Aluminium), 'F', - OrePrefixes.frameGt.get(Materials.Aluminium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_CleanStainlessSteel.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.StainlessSteel), 'F', - OrePrefixes.frameGt.get(Materials.StainlessSteel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_RobustTungstenSteel.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.TungstenSteel), 'F', - OrePrefixes.frameGt.get(Materials.TungstenSteel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_MiningOsmiridium.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Osmiridium), 'F', - OrePrefixes.frameGt.get(Materials.Osmiridium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_MiningNeutronium.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Neutronium), 'F', - OrePrefixes.frameGt.get(Materials.Neutronium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_MiningBlackPlutonium.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.BlackPlutonium), 'F', - OrePrefixes.frameGt.get(Materials.BlackPlutonium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Turbine.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Magnalium), 'F', - OrePrefixes.frameGt.get(Materials.BlueSteel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Turbine1.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.StainlessSteel), 'F', - ItemList.Casing_Turbine }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Turbine2.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Titanium), 'F', - ItemList.Casing_Turbine }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Turbine3.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.TungstenSteel), 'F', - ItemList.Casing_Turbine }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_TurbineGasAdvanced.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.HSSS), 'F', - ItemList.Casing_Turbine }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Pipe_Bronze.get(1L), - bits, - new Object[] { "PIP", "IFI", "PIP", 'P', OrePrefixes.plate.get(Materials.Bronze), 'F', - OrePrefixes.frameGt.get(Materials.Bronze), 'I', OrePrefixes.pipeMedium.get(Materials.Bronze) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Pipe_Steel.get(1L), - bits, - new Object[] { "PIP", "IFI", "PIP", 'P', OrePrefixes.plate.get(Materials.Steel), 'F', - OrePrefixes.frameGt.get(Materials.Steel), 'I', OrePrefixes.pipeMedium.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Pipe_Titanium.get(1L), - bits, - new Object[] { "PIP", "IFI", "PIP", 'P', OrePrefixes.plate.get(Materials.Titanium), 'F', - OrePrefixes.frameGt.get(Materials.Titanium), 'I', OrePrefixes.pipeMedium.get(Materials.Titanium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Pipe_TungstenSteel.get(1L), - bits, - new Object[] { "PIP", "IFI", "PIP", 'P', OrePrefixes.plate.get(Materials.TungstenSteel), 'F', - OrePrefixes.frameGt.get(Materials.TungstenSteel), 'I', - OrePrefixes.pipeMedium.get(Materials.TungstenSteel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Gearbox_Bronze.get(1L), - bits, - new Object[] { "PhP", "GFG", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Bronze), 'F', - OrePrefixes.frameGt.get(Materials.Bronze), 'G', OrePrefixes.gearGt.get(Materials.Bronze) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Gearbox_Steel.get(1L), - bits, - new Object[] { "PhP", "GFG", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Steel), 'F', - OrePrefixes.frameGt.get(Materials.Steel), 'G', OrePrefixes.gearGt.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Gearbox_Titanium.get(1L), - bits, - new Object[] { "PhP", "GFG", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Steel), 'F', - OrePrefixes.frameGt.get(Materials.Titanium), 'G', OrePrefixes.gearGt.get(Materials.Titanium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Gearbox_TungstenSteel.get(1L), - bits, - new Object[] { "PhP", "GFG", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Steel), 'F', - OrePrefixes.frameGt.get(Materials.TungstenSteel), 'G', ItemList.Robot_Arm_IV }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Grate.get(1L), - bits, - new Object[] { "PVP", "PFP", aTextPlateMotor, 'P', new ItemStack(Blocks.iron_bars, 1), 'F', - OrePrefixes.frameGt.get(Materials.Steel), 'M', ItemList.Electric_Motor_MV, 'V', - OrePrefixes.rotor.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Assembler.get(1L), - bits, - new Object[] { "PVP", "PFP", aTextPlateMotor, 'P', OrePrefixes.circuit.get(Materials.Ultimate), 'F', - OrePrefixes.frameGt.get(Materials.TungstenSteel), 'M', ItemList.Electric_Motor_IV, 'V', - OrePrefixes.circuit.get(Materials.Master) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Firebox_Bronze.get(1L), - bits, - new Object[] { "PSP", "SFS", "PSP", 'P', OrePrefixes.plate.get(Materials.Bronze), 'F', - OrePrefixes.frameGt.get(Materials.Bronze), 'S', OrePrefixes.stick.get(Materials.Bronze) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Firebox_Steel.get(1L), - bits, - new Object[] { "PSP", "SFS", "PSP", 'P', OrePrefixes.plate.get(Materials.Steel), 'F', - OrePrefixes.frameGt.get(Materials.Steel), 'S', OrePrefixes.stick.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Firebox_Titanium.get(1L), - bits, - new Object[] { "PSP", "SFS", "PSP", 'P', OrePrefixes.plate.get(Materials.Titanium), 'F', - OrePrefixes.frameGt.get(Materials.Titanium), 'S', OrePrefixes.stick.get(Materials.Titanium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Firebox_TungstenSteel.get(1L), - bits, - new Object[] { "PSP", "SFS", "PSP", 'P', OrePrefixes.plate.get(Materials.TungstenSteel), 'F', - OrePrefixes.frameGt.get(Materials.TungstenSteel), 'S', - OrePrefixes.stick.get(Materials.TungstenSteel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Stripes_A.get(1L), - bits, - new Object[] { "Y ", " M ", " B", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Stripes_B.get(1L), - bits, - new Object[] { " Y", " M ", "B ", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_RadioactiveHazard.get(1L), - bits, - new Object[] { " YB", " M ", " ", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_BioHazard.get(1L), - bits, - new Object[] { " Y ", " MB", " ", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_ExplosionHazard.get(1L), - bits, - new Object[] { " Y ", " M ", " B", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_FireHazard.get(1L), - bits, - new Object[] { " Y ", " M ", " B ", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_AcidHazard.get(1L), - bits, - new Object[] { " Y ", " M ", "B ", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_MagicHazard.get(1L), - bits, - new Object[] { " Y ", "BM ", " ", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_FrostHazard.get(1L), - bits, - new Object[] { "BY ", " M ", " ", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_NoiseHazard.get(1L), - bits, - new Object[] { " ", " M ", "BY ", 'M', ItemList.Casing_SolidSteel, 'Y', Dyes.dyeYellow, 'B', - Dyes.dyeBlack }); - GT_ModHandler.addCraftingRecipe( - ItemList.Casing_Advanced_Iridium.get(1L), - bits, - new Object[] { "PhP", "PFP", aTextPlateWrench, 'P', OrePrefixes.plate.get(Materials.Iridium), 'F', - OrePrefixes.frameGt.get(Materials.Iridium) }); + private static void registerAlloySmelter() { + ItemList.Machine_LV_AlloySmelter.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ALLOY_SMELTER_LV.ID, + "basicmachine.alloysmelter.tier.01", + "Basic Alloy Smelter", + 1, + MachineType.ALLOY_SMELTER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes, + 2, + 1, + false, + 0, + 1, + "AlloySmelter.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ALLOY_SMELTER", + new Object[] { "ECE", aTextCableHull, aTextWireCoil, 'M', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }).getStackForm(1L)); + ItemList.Machine_MV_AlloySmelter.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ALLOY_SMELTER_MV.ID, + "basicmachine.alloysmelter.tier.02", + "Advanced Alloy Smelter", + 2, + MachineType.ALLOY_SMELTER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes, + 2, + 1, + false, + 0, + 1, + "AlloySmelter.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ALLOY_SMELTER", + new Object[] { "ECE", aTextCableHull, aTextWireCoil, 'M', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }).getStackForm(1L)); + ItemList.Machine_HV_AlloySmelter.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ALLOY_SMELTER_HV.ID, + "basicmachine.alloysmelter.tier.03", + "Advanced Alloy Smelter II", + 3, + MachineType.ALLOY_SMELTER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes, + 2, + 1, + false, + 0, + 1, + "AlloySmelter.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ALLOY_SMELTER", + new Object[] { "ECE", aTextCableHull, aTextWireCoil, 'M', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }).getStackForm(1L)); + ItemList.Machine_EV_AlloySmelter.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ALLOY_SMELTER_EV.ID, + "basicmachine.alloysmelter.tier.04", + "Advanced Alloy Smelter III", + 4, + MachineType.ALLOY_SMELTER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes, + 2, + 1, + false, + 0, + 1, + "AlloySmelter.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ALLOY_SMELTER", + new Object[] { "ECE", aTextCableHull, aTextWireCoil, 'M', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }).getStackForm(1L)); + ItemList.Machine_IV_AlloySmelter.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ALLOY_SMELTER_IV.ID, + "basicmachine.alloysmelter.tier.05", + "Advanced Alloy Smelter IV", + 5, + MachineType.ALLOY_SMELTER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes, + 2, + 1, + false, + 0, + 1, + "AlloySmelter.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ALLOY_SMELTER", + new Object[] { "ECE", aTextCableHull, aTextWireCoil, 'M', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }).getStackForm(1L)); + } - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_Stripes_A }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_Stripes_B }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_RadioactiveHazard }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_BioHazard }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_ExplosionHazard }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_FireHazard }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_AcidHazard }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_MagicHazard }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_FrostHazard }); - GT_ModHandler.addShapelessCraftingRecipe( - ItemList.Casing_SolidSteel.get(1L), - bits, - new Object[] { ItemList.Casing_NoiseHazard }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_Bricked_BlastFurnace.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "BFB", "FwF", "BFB", 'B', ItemList.Casing_Firebricks, 'F', - OreDictNames.craftingIronFurnace }); + private static void registerArcFurnace() { + ItemList.Machine_LV_ArcFurnace.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ARC_FURNACE_LV.ID, + "basicmachine.arcfurnace.tier.01", + "Basic Arc Furnace", + 1, + MachineType.ARC_FURNACE.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sArcFurnaceRecipes, + 1, + 4, + true, + 0, + 1, + "ArcFurnace.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ARC_FURNACE", + new Object[] { "WGW", aTextCableHull, aTextPlate, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, + 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }) + .getStackForm(1L)); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_Bronze.get(1L), - bits, - new Object[] { aTextPlate, "PhP", aTextPlate, 'P', OrePrefixes.plate.get(Materials.Bronze) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_Bronze_Bricks.get(1L), - bits, - new Object[] { aTextPlate, "PhP", "BBB", 'P', OrePrefixes.plate.get(Materials.Bronze), 'B', - new ItemStack(Blocks.brick_block, 1) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_HP.get(1L), - bits, - new Object[] { aTextPlate, "PhP", aTextPlate, 'P', OrePrefixes.plate.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_HP_Bricks.get(1L), - bits, - new Object[] { aTextPlate, "PhP", "BBB", 'P', OrePrefixes.plate.get(Materials.WroughtIron), 'B', - new ItemStack(Blocks.brick_block, 1) }); + ItemList.Machine_MV_ArcFurnace.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ARC_FURNACE_MV.ID, + "basicmachine.arcfurnace.tier.02", + "Advanced Arc Furnace", + 2, + MachineType.ARC_FURNACE.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sArcFurnaceRecipes, + 1, + 4, + true, + 0, + 1, + "ArcFurnace.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ARC_FURNACE", + new Object[] { "WGW", aTextCableHull, aTextPlate, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, + 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }) + .getStackForm(1L)); + ItemList.Machine_HV_ArcFurnace.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ARC_FURNACE_HV.ID, + "basicmachine.arcfurnace.tier.03", + "Advanced Arc Furnace II", + 3, + MachineType.ARC_FURNACE.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sArcFurnaceRecipes, + 1, + 4, + true, + 0, + 1, + "ArcFurnace.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ARC_FURNACE", + new Object[] { "WGW", aTextCableHull, aTextPlate, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, + 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }) + .getStackForm(1L)); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_ULV.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_ULV, 'C', OrePrefixes.cableGt01.get(Materials.Lead), - 'H', OrePrefixes.plate.get(Materials.WroughtIron), 'P', OrePrefixes.plate.get(Materials.Wood) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_LV.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_LV, 'C', OrePrefixes.cableGt01.get(Materials.Tin), 'H', - OrePrefixes.plate.get(Materials.Steel), 'P', OrePrefixes.plate.get(Materials.WroughtIron) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_MV.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_MV, 'C', OrePrefixes.cableGt01.get(Materials.AnyCopper), - 'H', OrePrefixes.plate.get(Materials.Aluminium), 'P', OrePrefixes.plate.get(Materials.WroughtIron) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_HV.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_HV, 'C', OrePrefixes.cableGt01.get(Materials.Gold), 'H', - OrePrefixes.plate.get(Materials.StainlessSteel), 'P', OrePrefixes.plate.get(Materials.Plastic) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_EV.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_EV, 'C', OrePrefixes.cableGt01.get(Materials.Aluminium), - 'H', OrePrefixes.plate.get(Materials.Titanium), 'P', OrePrefixes.plate.get(Materials.Plastic) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_IV.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_IV, 'C', OrePrefixes.cableGt01.get(Materials.Tungsten), - 'H', OrePrefixes.plate.get(Materials.TungstenSteel), 'P', - OrePrefixes.plate.get(Materials.Polytetrafluoroethylene) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_LuV.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_LuV, 'C', - OrePrefixes.cableGt01.get(Materials.VanadiumGallium), 'H', - OrePrefixes.plate.get(ExternalMaterials.getRhodiumPlatedPalladium()), 'P', - OrePrefixes.plate.get(Materials.Polytetrafluoroethylene) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_ZPM.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_ZPM, 'C', OrePrefixes.cableGt02.get(Materials.Naquadah), - 'H', OrePrefixes.plate.get(Materials.Iridium), 'P', - OrePrefixes.plate.get(Materials.Polybenzimidazole) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_UV.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_UV, 'C', - OrePrefixes.cableGt04.get(Materials.NaquadahAlloy), 'H', OrePrefixes.plate.get(Materials.Osmium), 'P', - OrePrefixes.plate.get(Materials.Polybenzimidazole) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_MAX.get(1L), - GT_ModHandler.RecipeBits.REVERSIBLE, - new Object[] { aTextCableHull, 'M', ItemList.Casing_MAX, 'C', - OrePrefixes.wireGt04.get(Materials.SuperconductorUV), 'H', OrePrefixes.plate.get(Materials.Neutronium), - 'P', OrePrefixes.plate.get(Materials.Polybenzimidazole) }); + ItemList.Machine_EV_ArcFurnace.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ARC_FURNACE_EV.ID, + "basicmachine.arcfurnace.tier.04", + "Advanced Arc Furnace III", + 4, + MachineType.ARC_FURNACE.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sArcFurnaceRecipes, + 1, + 9, + true, + 0, + 1, + "ArcFurnace.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ARC_FURNACE", + new Object[] { "WGW", aTextCableHull, aTextPlate, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, + 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }) + .getStackForm(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_ULV.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_LV.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_MV.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_HV.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_EV.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_IV.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_LuV.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_ZPM.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_UV.get(1L)); - GT_ModHandler.removeRecipeByOutput(ItemList.Hull_MAX.get(1L)); + ItemList.Machine_IV_ArcFurnace.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ARC_FURNACE_IV.ID, + "basicmachine.arcfurnace.tier.05", + "Advanced Arc Furnace IV", + 5, + MachineType.ARC_FURNACE.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sArcFurnaceRecipes, + 1, + 9, + true, + 0, + 1, + "ArcFurnace.png", + SoundResource.IC2_MACHINES_INDUCTION_LOOP, + false, + false, + SpecialEffects.NONE, + "ARC_FURNACE", + new Object[] { "WGW", aTextCableHull, aTextPlate, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, + 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }) + .getStackForm(1L)); + } - if (GT_Mod.gregtechproxy.mHardMachineCasings) { - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_ULV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_ULV, 'C', - OrePrefixes.cableGt01.get(Materials.Lead), 'H', OrePrefixes.plate.get(Materials.WroughtIron), 'P', - OrePrefixes.plate.get(Materials.Wood) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_LV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_LV, 'C', - OrePrefixes.cableGt01.get(Materials.Tin), 'H', OrePrefixes.plate.get(Materials.Steel), 'P', - OrePrefixes.plate.get(Materials.WroughtIron) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_MV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_MV, 'C', - OrePrefixes.cableGt01.get(Materials.Copper), 'H', OrePrefixes.plate.get(Materials.Aluminium), 'P', - OrePrefixes.plate.get(Materials.WroughtIron) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_HV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_HV, 'C', - OrePrefixes.cableGt01.get(Materials.Gold), 'H', OrePrefixes.plate.get(Materials.StainlessSteel), - 'P', OrePrefixes.plate.get(Materials.Plastic) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_EV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_EV, 'C', - OrePrefixes.cableGt01.get(Materials.Aluminium), 'H', OrePrefixes.plate.get(Materials.Titanium), 'P', - OrePrefixes.plate.get(Materials.Plastic) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_IV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_IV, 'C', - OrePrefixes.cableGt01.get(Materials.Tungsten), 'H', OrePrefixes.plate.get(Materials.TungstenSteel), - 'P', OrePrefixes.plate.get(Materials.Polytetrafluoroethylene) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_LuV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_LuV, 'C', - OrePrefixes.cableGt01.get(Materials.VanadiumGallium), 'H', - OrePrefixes.plate.get(ExternalMaterials.getRhodiumPlatedPalladium()), 'P', - OrePrefixes.plate.get(Materials.Polytetrafluoroethylene) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_ZPM.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_ZPM, 'C', - OrePrefixes.cableGt01.get(Materials.Naquadah), 'H', OrePrefixes.plate.get(Materials.Iridium), 'P', - OrePrefixes.plate.get(Materials.Polybenzimidazole) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_UV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_UV, 'C', - OrePrefixes.wireGt04.get(Materials.NaquadahAlloy), 'H', OrePrefixes.plate.get(Materials.Osmium), - 'P', OrePrefixes.plate.get(Materials.Polybenzimidazole) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_MAX.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { "PHP", aTextCableHull, 'M', ItemList.Casing_MAX, 'C', - OrePrefixes.wireGt04.get(Materials.SuperconductorUV), 'H', - OrePrefixes.plate.get(Materials.Neutronium), 'P', - OrePrefixes.plate.get(Materials.Polybenzimidazole) }); - } else { - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_ULV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_ULV, 'C', - OrePrefixes.cableGt01.get(Materials.Lead) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_LV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_LV, 'C', - OrePrefixes.cableGt01.get(Materials.Tin) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_MV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_MV, 'C', - OrePrefixes.cableGt01.get(Materials.Copper) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_HV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_HV, 'C', - OrePrefixes.cableGt01.get(Materials.Gold) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_EV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_EV, 'C', - OrePrefixes.cableGt01.get(Materials.Aluminium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_IV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_IV, 'C', - OrePrefixes.cableGt01.get(Materials.Tungsten) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_LuV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_LuV, 'C', - OrePrefixes.cableGt01.get(Materials.VanadiumGallium) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_ZPM.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_ZPM, 'C', - OrePrefixes.cableGt01.get(Materials.Naquadah) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_UV.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_UV, 'C', - OrePrefixes.wireGt04.get(Materials.NaquadahAlloy) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hull_MAX.get(1L), - GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.BUFFERED, - new Object[] { aTextCableHull, 'M', ItemList.Casing_MAX, 'C', - OrePrefixes.wireGt04.get(Materials.SuperconductorUV) }); - } - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_LV_ULV.get(1L), - bitsd, - new Object[] { " BB", "CM ", " BB", 'M', ItemList.Hull_ULV, 'C', OrePrefixes.cableGt01.get(Materials.Tin), - 'B', OrePrefixes.cableGt01.get(Materials.Lead) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_MV_LV.get(1L), - bitsd, - new Object[] { " BB", "CM ", " BB", 'M', ItemList.Hull_LV, 'C', - OrePrefixes.cableGt01.get(Materials.AnyCopper), 'B', OrePrefixes.cableGt01.get(Materials.Tin) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_HV_MV.get(1L), - bitsd, - new Object[] { "KBB", "CM ", "KBB", 'M', ItemList.Hull_MV, 'C', OrePrefixes.cableGt01.get(Materials.Gold), - 'B', OrePrefixes.cableGt01.get(Materials.AnyCopper), 'K', - OrePrefixes.componentCircuit.get(Materials.Inductor) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_EV_HV.get(1L), - bitsd, - new Object[] { "KBB", "CM ", "KBB", 'M', ItemList.Hull_HV, 'C', - OrePrefixes.cableGt01.get(Materials.Aluminium), 'B', OrePrefixes.cableGt01.get(Materials.Gold), 'K', - ItemList.Circuit_Chip_ULPIC }); - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_IV_EV.get(1L), - bitsd, - new Object[] { "KBB", "CM ", "KBB", 'M', ItemList.Hull_EV, 'C', - OrePrefixes.cableGt01.get(Materials.Tungsten), 'B', OrePrefixes.cableGt01.get(Materials.Aluminium), 'K', - ItemList.Circuit_Chip_LPIC }); - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_LuV_IV.get(1L), - bitsd, - new Object[] { "KBB", "CM ", "KBB", 'M', ItemList.Hull_IV, 'C', - OrePrefixes.cableGt01.get(Materials.VanadiumGallium), 'B', - OrePrefixes.cableGt01.get(Materials.Tungsten), 'K', ItemList.Circuit_Chip_PIC }); - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_ZPM_LuV.get(1L), - bitsd, - new Object[] { "KBB", "CM ", "KBB", 'M', ItemList.Hull_LuV, 'C', - OrePrefixes.cableGt01.get(Materials.Naquadah), 'B', - OrePrefixes.cableGt01.get(Materials.VanadiumGallium), 'K', ItemList.Circuit_Chip_HPIC }); - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_UV_ZPM.get(1L), - bitsd, - new Object[] { "KBB", "CM ", "KBB", 'M', ItemList.Hull_ZPM, 'C', - OrePrefixes.cableGt01.get(Materials.NaquadahAlloy), 'B', OrePrefixes.cableGt01.get(Materials.Naquadah), - 'K', ItemList.Circuit_Chip_UHPIC }); - GT_ModHandler.addCraftingRecipe( - ItemList.Transformer_MAX_UV.get(1L), - bitsd, - new Object[] { "KBB", "CM ", "KBB", 'M', ItemList.Hull_UV, 'C', - OrePrefixes.wireGt01.get(Materials.Bedrockium), 'B', OrePrefixes.cableGt01.get(Materials.NaquadahAlloy), - 'K', ItemList.Circuit_Chip_NPIC }); - - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Dynamo_ULV.get(1L), - bitsd, - new Object[] { "XOL", "SMP", "XOL", 'M', ItemList.Hull_ULV, 'S', OrePrefixes.spring.get(Materials.Lead), - 'X', OrePrefixes.circuit.get(Materials.Primitive), 'O', ItemList.ULV_Coil, 'L', - OrePrefixes.cell.get(Materials.Lubricant), 'P', OrePrefixes.rotor.get(Materials.Lead) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Dynamo_LV.get(1L), - bitsd, - new Object[] { "XOL", "SMP", "XOL", 'M', ItemList.Hull_LV, 'S', OrePrefixes.spring.get(Materials.Tin), 'X', - OrePrefixes.circuit.get(Materials.Basic), 'O', ItemList.LV_Coil, 'L', - OrePrefixes.cell.get(Materials.Lubricant), 'P', ItemList.Electric_Pump_LV }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Dynamo_MV.get(1L), - bitsd, - new Object[] { "XOL", "SMP", "XOL", 'M', ItemList.Hull_MV, 'S', OrePrefixes.spring.get(Materials.Copper), - 'X', ItemList.Circuit_Chip_ULPIC, 'O', ItemList.MV_Coil, 'L', OrePrefixes.cell.get(Materials.Lubricant), - 'P', ItemList.Electric_Pump_MV }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Energy_ULV.get(1L), - bitsd, - new Object[] { "COL", "XMP", "COL", 'M', ItemList.Hull_ULV, 'C', OrePrefixes.cableGt01.get(Materials.Lead), - 'X', OrePrefixes.circuit.get(Materials.Primitive), 'O', ItemList.ULV_Coil, 'L', - OrePrefixes.cell.get(Materials.Lubricant), 'P', OrePrefixes.rotor.get(Materials.Lead) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Energy_LV.get(1L), - bitsd, - new Object[] { "COL", "XMP", "COL", 'M', ItemList.Hull_LV, 'C', OrePrefixes.cableGt01.get(Materials.Tin), - 'X', OrePrefixes.circuit.get(Materials.Basic), 'O', ItemList.LV_Coil, 'L', - OrePrefixes.cell.get(Materials.Lubricant), 'P', ItemList.Electric_Pump_LV }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Energy_MV.get(1L), - bitsd, - new Object[] { "XOL", "CMP", "XOL", 'M', ItemList.Hull_MV, 'C', OrePrefixes.cableGt01.get(Materials.Copper), - 'X', ItemList.Circuit_Chip_ULPIC, 'O', ItemList.MV_Coil, 'L', OrePrefixes.cell.get(Materials.Lubricant), - 'P', ItemList.Electric_Pump_MV }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Maintenance.get(1L), - bitsd, - new Object[] { "dwx", "hMc", "fsr", 'M', ItemList.Hull_LV }); - - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_DataAccess_EV.get(1L), - bitsd, - new Object[] { "COC", "OMO", "COC", 'M', ItemList.Hull_EV, 'O', ItemList.Tool_DataStick, 'C', - OrePrefixes.circuit.get(Materials.Elite) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_DataAccess_LuV.get(1L), - bitsd, - new Object[] { "COC", "OMO", "COC", 'M', ItemList.Hull_LuV, 'O', ItemList.Tool_DataOrb, 'C', - OrePrefixes.circuit.get(Materials.Ultimate) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_DataAccess_UV.get(1L), - bitsd, - new Object[] { "CRC", "OMO", "CRC", 'M', ItemList.Hull_UV, 'O', ItemList.Tool_DataOrb, 'C', - OrePrefixes.circuit.get(Materials.Infinite), 'R', ItemList.Robot_Arm_UV }); - - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_AutoMaintenance.get(1L), - bitsd, - new Object[] { "CHC", "AMA", "CHC", 'M', ItemList.Hull_LuV, 'H', ItemList.Hatch_Maintenance, 'A', - ItemList.Robot_Arm_LuV, 'C', OrePrefixes.circuit.get(Materials.Ultimate) }); - - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Muffler_LV.get(1L), - bitsd, - new Object[] { "MX ", "PR ", 'M', ItemList.Hull_LV, 'P', OrePrefixes.pipeMedium.get(Materials.Bronze), 'R', - OrePrefixes.rotor.get(Materials.Bronze), 'X', ItemList.Electric_Motor_LV }); - GT_ModHandler.addCraftingRecipe( - ItemList.Hatch_Muffler_MV.get(1L), - bitsd, - new Object[] { "MX ", "PR ", 'M', ItemList.Hull_MV, 'P', OrePrefixes.pipeMedium.get(Materials.Steel), 'R', - OrePrefixes.rotor.get(Materials.Steel), 'X', ItemList.Electric_Motor_MV }); - - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_Bronze_Boiler.get(1L), - bitsd, - new Object[] { aTextPlate, "PwP", "BFB", 'F', OreDictNames.craftingIronFurnace, 'P', - OrePrefixes.plate.get(Materials.Bronze), 'B', new ItemStack(Blocks.brick_block, 1) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_Steel_Boiler.get(1L), - bitsd, - new Object[] { aTextPlate, "PwP", "BFB", 'F', OreDictNames.craftingIronFurnace, 'P', - OrePrefixes.plate.get(Materials.Steel), 'B', new ItemStack(Blocks.brick_block, 1) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_Steel_Boiler_Lava.get(1L), - bitsd, - new Object[] { aTextPlate, "PTP", aTextPlateMotor, 'M', ItemList.Hull_HP, 'P', - OrePrefixes.plate.get(Materials.Steel), 'T', - GT_ModHandler.getModItem(BuildCraftFactory.ID, "tankBlock", 1L, 0) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_Bronze_Boiler_Solar.get(1L), - bitsd, - new Object[] { "GGG", "SSS", aTextPlateMotor, 'M', ItemList.Hull_Bronze_Bricks, 'P', - OrePrefixes.pipeSmall.get(Materials.Bronze), 'S', OrePrefixes.plateDouble.get(Materials.Silver), 'G', - new ItemStack(Blocks.glass, 1) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_HP_Solar.get(1L), - bitsd, - new Object[] { "GGG", "SSS", aTextPlateMotor, 'M', ItemList.Hull_HP_Bricks, 'P', - OrePrefixes.pipeSmall.get(Materials.Steel), 'S', OrePrefixes.plateTriple.get(Materials.Silver), 'G', - GT_ModHandler.getModItem(IndustrialCraft2.ID, "blockAlloyGlass", 1L) }); + private static void registerAssembler() { + ItemList.Machine_LV_Assembler.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ASSEMBLER_LV.ID, + "basicmachine.assembler.tier.01", + "Basic Assembling Machine", + 1, + MachineType.ASSEMBLER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAssemblerRecipes, + 6, + 1, + true, + 0, + 1, + "Assembler.png", + SoundResource.NONE, + false, + false, + SpecialEffects.NONE, + "ASSEMBLER", + new Object[] { "ACA", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'A', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }).getStackForm(1L)); + ItemList.Machine_MV_Assembler.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ASSEMBLER_MV.ID, + "basicmachine.assembler.tier.02", + "Advanced Assembling Machine", + 2, + MachineType.ASSEMBLER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAssemblerRecipes, + 9, + 1, + true, + 0, + 1, + "Assembler2.png", + SoundResource.NONE, + false, + false, + SpecialEffects.NONE, + "ASSEMBLER", + new Object[] { "ACA", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'A', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }).getStackForm(1L)); + ItemList.Machine_HV_Assembler.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ASSEMBLER_HV.ID, + "basicmachine.assembler.tier.03", + "Advanced Assembling Machine II", + 3, + MachineType.ASSEMBLER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAssemblerRecipes, + 9, + 1, + true, + 0, + 1, + "Assembler2.png", + SoundResource.NONE, + false, + false, + SpecialEffects.NONE, + "ASSEMBLER", + new Object[] { "ACA", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'A', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }).getStackForm(1L)); + ItemList.Machine_EV_Assembler.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ASSEMBLER_EV.ID, + "basicmachine.assembler.tier.04", + "Advanced Assembling Machine III", + 4, + MachineType.ASSEMBLER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAssemblerRecipes, + 9, + 1, + true, + 0, + 1, + "Assembler2.png", + SoundResource.NONE, + false, + false, + SpecialEffects.NONE, + "ASSEMBLER", + new Object[] { "ACA", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'A', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }).getStackForm(1L)); + ItemList.Machine_IV_Assembler.set( + new GT_MetaTileEntity_BasicMachine_GT_Recipe( + ASSEMBLER_IV.ID, + "basicmachine.assembler.tier.05", + "Advanced Assembling Machine IV", + 5, + MachineType.ASSEMBLER.tooltipDescription(), + GT_Recipe.GT_Recipe_Map.sAssemblerRecipes, + 9, + 1, + true, + 0, + 1, + "Assembler2.png", + SoundResource.NONE, + false, + false, + SpecialEffects.NONE, + "ASSEMBLER", + new Object[] { "ACA", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'A', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }).getStackForm(1L)); + } - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_Bronze_Furnace.get(1L), - bitsd, - new Object[] { "XXX", "XMX", "XFX", 'M', ItemList.Hull_Bronze_Bricks, 'X', - OrePrefixes.pipeSmall.get(Materials.Bronze), 'F', OreDictNames.craftingFurnace }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_HP_Furnace.get(1L), - bitsd, - new Object[] { "XSX", "PMP", "XXX", 'M', ItemList.Machine_Bronze_Furnace, 'X', - OrePrefixes.pipeSmall.get(Materials.WroughtIron), 'P', OrePrefixes.plate.get(Materials.WroughtIron), - 'S', OrePrefixes.plate.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_Bronze_Macerator.get(1L), - bitsd, - new Object[] { "DXD", "XMX", "PXP", 'M', ItemList.Hull_Bronze, 'X', - OrePrefixes.pipeSmall.get(Materials.Bronze), 'P', OreDictNames.craftingPiston, 'D', - OrePrefixes.gem.get(Materials.Diamond) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_HP_Macerator.get(1L), - bitsd, - new Object[] { "PSP", "XMX", "PPP", 'M', ItemList.Machine_Bronze_Macerator, 'X', - OrePrefixes.pipeSmall.get(Materials.WroughtIron), 'P', OrePrefixes.plate.get(Materials.WroughtIron), - 'S', OrePrefixes.plate.get(Materials.Steel) }); - GT_ModHandler.addCraftingRecipe( - ItemList.Machine_Bronze_Extractor.get(1L), - bitsd, - new Object[] { "XXX", "PMG", "XXX", 'M', ItemList.Hull_Bronze, 'X', - OrePrefixes.pipeSmall.get(Materials.Bronze), 'P', OreDictNames.craftingPiston, 'G', - new ItemStack(Blocks.glass, 1) }); - GT_ModHandler.addCraftingRecipe( - ItemL