diff --git a/.github/workflows/fullpack_test.yml b/.github/workflows/fullpack_test.yml new file mode 100644 index 00000000000..2cc148887ec --- /dev/null +++ b/.github/workflows/fullpack_test.yml @@ -0,0 +1,67 @@ +name: Run Server and Verify + +on: + workflow_run: + workflows: ["Build and test"] + types: + - completed + +jobs: + run-server: + runs-on: ubuntu-latest + + steps: + - name: Download artifacts from Build and test + uses: actions/download-artifact@v4 + with: + name: ${{ github.repository_id }}-build-libs + path: build/libs + + - name: Download artifacts from the specified run + uses: actions/download-artifact@v4 + with: + name: server-new + path: artifacts + + - name: Unzip the first level + run: | + mkdir -p extracted1 + unzip artifacts/server-new.zip -d extracted1 + + - name: Unzip the second level + run: | + mkdir -p extracted2 + unzip extracted1/server-new.zip -d extracted2 + + - name: Modify eula.txt + run: | + sed -i 's/eula=false/eula=true/' extracted2/eula.txt + + - name: Move JARs to mods folder + run: | + mkdir -p extracted2/mods + cp build/libs/*.jar extracted2/mods/ + + - name: Run the server + run: | + cd extracted2 + chmod +x ./startserver-java9.sh + ./startserver-java9.sh & + SERVER_PID=$! + + # Wait for 4 minutes to ensure the server runs correctly + sleep 240 + + # Check if the server is still running + if ps -p $SERVER_PID > /dev/null; then + echo "Server is running successfully." + exit 0 + else + echo "Server has crashed or failed." + exit 1 + fi + + - name: Clean up + if: always() + run: | + kill $SERVER_PID || true diff --git a/dependencies.gradle b/dependencies.gradle index 224947f0c66..c0ba423eee0 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -36,18 +36,18 @@ dependencies { api("com.github.GTNewHorizons:StructureLib:1.3.4:dev") api("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev") - api("com.github.GTNewHorizons:NotEnoughItems:2.6.22-GTNH:dev") + api("com.github.GTNewHorizons:NotEnoughItems:2.6.26-GTNH:dev") api("com.github.GTNewHorizons:NotEnoughIds:2.1.0:dev") - api("com.github.GTNewHorizons:GTNHLib:0.4.2:dev") + api("com.github.GTNewHorizons:GTNHLib:0.4.3:dev") api("com.github.GTNewHorizons:ModularUI:1.2.0:dev") api("com.github.GTNewHorizons:ModularUI2:2.1.1-1.7.10:dev") api("com.github.GTNewHorizons:waila:1.8.1:dev") - api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-426-GTNH:dev") - api("com.github.GTNewHorizons:AE2FluidCraft-Rework:1.3.21-gtnh:dev") + api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-430-GTNH:dev") + api("com.github.GTNewHorizons:AE2FluidCraft-Rework:1.3.24-gtnh:dev") api('com.github.GTNewHorizons:Yamcl:0.6.0:dev') compileOnlyApi('com.github.GTNewHorizons:ThaumicTinkerer:2.10.1:dev') - compileOnlyApi("com.github.GTNewHorizons:Mobs-Info:0.4.1-GTNH:dev") + compileOnlyApi("com.github.GTNewHorizons:Mobs-Info:0.4.2-GTNH:dev") compileOnlyApi("com.github.GTNewHorizons:Navigator:1.0.6:dev") implementation('com.github.GTNewHorizons:Baubles:1.0.4:dev') {transitive=false} // Required to prevent an older bauble api from Extra Utilities from loading first in the javac classpath @@ -80,11 +80,11 @@ dependencies { compileOnly("com.github.GTNewHorizons:Nuclear-Control:2.6.2:dev") { transitive = false } compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:Hodgepodge:2.5.42:dev") { transitive = false } - compileOnly('com.github.GTNewHorizons:Botania:1.11.3-GTNH:dev') { transitive = false } + compileOnly('com.github.GTNewHorizons:Botania:1.11.5-GTNH:dev') { transitive = false } compileOnly('com.github.GTNewHorizons:HoloInventory:2.4.12-GTNH:dev') { transitive = false } compileOnly rfg.deobf("curse.maven:extra-utilities-225561:2264384") compileOnly rfg.deobf('curse.maven:minefactory-reloaded-66672:2366150') - compileOnly("com.github.GTNewHorizons:OpenComputers:1.10.19-GTNH:dev") {transitive = false} + compileOnly("com.github.GTNewHorizons:OpenComputers:1.10.20-GTNH:dev") {transitive = false} // https://www.curseforge.com/minecraft/mc-mods/advancedsolarpanels compileOnlyApi rfg.deobf('curse.maven:advsolar-362768:2885953') compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.6.22-GTNH:dev') {transitive = false} diff --git a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java index db3212ad865..c7fd1bffe6e 100644 --- a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java +++ b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java @@ -2533,25 +2533,25 @@ public void run() { new GT_MetaTileEntity_Hatch_InputData( OpticalSlaveConnector.ID, "hatch.datain.tier.07", - "Optical Slave Connector", + "Optical Reception Connector", 7).getStackForm(1L)); dataOut_Hatch.set( new GT_MetaTileEntity_Hatch_OutputData( OpticalMasterConnector.ID, "hatch.dataout.tier.07", - "Optical Master Connector", + "Optical Transmission Connector", 7).getStackForm(1L)); dataInAss_Hatch.set( new GT_MetaTileEntity_Hatch_InputDataItems( AssemblylineSlaveConnector.ID, "hatch.datainass.tier.07", - "Assembly line Slave Connector", + "Assembly line Reception Connector", 7).getStackForm(1L)); dataOutAss_Hatch.set( new GT_MetaTileEntity_Hatch_OutputDataItems( DataBankMasterConnector.ID, "hatch.dataoutass.tier.07", - "Data Bank Master Connector", + "Data Bank Transmission Connector", 7).getStackForm(1L)); dataOut_Wireless_Hatch.set( new GT_MetaTileEntity_Hatch_WirelessComputation_Output( @@ -2569,13 +2569,13 @@ public void run() { new GT_MetaTileEntity_Hatch_WirelessInputDataItems( WirelessAssemblylineSlaveConnector.ID, "hatch.datainass.wireless.tier.12", - "Wireless Assembly line Slave Connector", + "Wireless Assembly line Reception Connector", 12).getStackForm(1L)); dataOutAss_Wireless_Hatch.set( new GT_MetaTileEntity_Hatch_WirelessOutputDataItems( WirelessDataBankMasterConnector.ID, "hatch.dataoutass.wireless.tier.12", - "Wireless Data Bank Master Connector", + "Wireless Data Bank Transmission Connector", 12).getStackForm(1L)); rack_Hatch.set( new GT_MetaTileEntity_Hatch_Rack(ComputerRack.ID, "hatch.rack.tier.08", "Computer Rack", 8) diff --git a/src/main/java/gregtech/api/enums/Materials.java b/src/main/java/gregtech/api/enums/Materials.java index 2006c191e68..16553e2d421 100644 --- a/src/main/java/gregtech/api/enums/Materials.java +++ b/src/main/java/gregtech/api/enums/Materials.java @@ -8,6 +8,7 @@ import java.util.Arrays; import java.util.Collection; import java.util.Collections; +import java.util.IllegalFormatException; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List; @@ -3230,19 +3231,27 @@ public String toString() { } public String getDefaultLocalizedNameForItem(String aFormat) { - return String.format( - aFormat.replace("%s", "%temp") - .replace("%material", "%s"), - this.mDefaultLocalName) - .replace("%temp", "%s"); + try { + return String.format( + aFormat.replace("%s", "%temp") + .replace("%material", "%s"), + this.mDefaultLocalName) + .replace("%temp", "%s"); + } catch (IllegalFormatException ignored) { + return aFormat; + } } public String getLocalizedNameForItem(String aFormat) { - return String.format( - aFormat.replace("%s", "%temp") - .replace("%material", "%s"), - this.mLocalizedName) - .replace("%temp", "%s"); + try { + return String.format( + aFormat.replace("%s", "%temp") + .replace("%material", "%s"), + this.mLocalizedName) + .replace("%temp", "%s"); + } catch (IllegalFormatException ignored) { + return aFormat; + } } public boolean hasCorrespondingFluid() { diff --git a/src/main/java/gregtech/api/util/GT_ModHandler.java b/src/main/java/gregtech/api/util/GT_ModHandler.java index b91bb810b6f..dabdbbc56be 100644 --- a/src/main/java/gregtech/api/util/GT_ModHandler.java +++ b/src/main/java/gregtech/api/util/GT_ModHandler.java @@ -8,6 +8,7 @@ import static gregtech.api.enums.GT_Values.M; import static gregtech.api.enums.GT_Values.RA; import static gregtech.api.enums.GT_Values.V; +import static gregtech.api.enums.GT_Values.VN; import static gregtech.api.enums.GT_Values.W; import static gregtech.api.recipe.RecipeMaps.alloySmelterRecipes; import static gregtech.api.recipe.RecipeMaps.oreWasherRecipes; @@ -62,11 +63,13 @@ import gregtech.api.enums.Materials; import gregtech.api.enums.OreDictNames; import gregtech.api.enums.OrePrefixes; +import gregtech.api.enums.Tier; import gregtech.api.enums.ToolDictNames; import gregtech.api.interfaces.IDamagableItem; import gregtech.api.interfaces.IItemContainer; import gregtech.api.interfaces.internal.IGT_CraftingRecipe; import gregtech.api.items.GT_MetaBase_Item; +import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_GT_Recipe; import gregtech.api.objects.GT_HashSet; import gregtech.api.objects.GT_ItemStack; import gregtech.api.objects.ItemData; @@ -788,6 +791,267 @@ public static boolean addCraftingRecipe(ItemStack aResult, long aBitMask, Object aRecipe); } + public static boolean addMachineCraftingRecipe(ItemStack aResult, long aBitMask, Object[] aRecipe, + int machineTier) { + if (aRecipe != null) { + for (int i = 3; i < aRecipe.length; i++) { + if (!(aRecipe[i] instanceof GT_MetaTileEntity_BasicMachine_GT_Recipe.X)) continue; + + // spotless:off + aRecipe[i] = switch ((GT_MetaTileEntity_BasicMachine_GT_Recipe.X) aRecipe[i]) { + case CIRCUIT -> Tier.ELECTRIC[machineTier].mManagingObject; + case BETTER_CIRCUIT -> Tier.ELECTRIC[machineTier].mBetterManagingObject; + case HULL -> Tier.ELECTRIC[machineTier].mHullObject; + case WIRE -> Tier.ELECTRIC[machineTier].mConductingObject; + case WIRE4 -> Tier.ELECTRIC[machineTier].mLargerConductingObject; + case STICK_DISTILLATION -> OrePrefixes.stick.get(Materials.Blaze); + + case GLASS -> switch (machineTier) { + case 0, 1, 2, 3 -> new ItemStack(Blocks.glass, 1, W); + case 4, 5, 6, 7, 8 -> "blockGlass" + VN[machineTier]; + default -> "blockGlass" + VN[8]; + }; + + case PLATE -> switch (machineTier) { + case 0, 1 -> OrePrefixes.plate.get(Materials.Steel); + case 2 -> OrePrefixes.plate.get(Materials.Aluminium); + case 3 -> OrePrefixes.plate.get(Materials.StainlessSteel); + case 4 -> OrePrefixes.plate.get(Materials.Titanium); + case 5 -> OrePrefixes.plate.get(Materials.TungstenSteel); + case 6 -> OrePrefixes.plate.get(Materials.HSSG); + case 7 -> OrePrefixes.plate.get(Materials.HSSE); + default -> OrePrefixes.plate.get(Materials.Neutronium); + }; + + case PIPE -> switch (machineTier) { + case 0, 1 -> OrePrefixes.pipeMedium.get(Materials.Bronze); + case 2 -> OrePrefixes.pipeMedium.get(Materials.Steel); + case 3 -> OrePrefixes.pipeMedium.get(Materials.StainlessSteel); + case 4 -> OrePrefixes.pipeMedium.get(Materials.Titanium); + case 5 -> OrePrefixes.pipeMedium.get(Materials.TungstenSteel); + case 6 -> OrePrefixes.pipeSmall.get(Materials.Ultimate); + case 7 -> OrePrefixes.pipeMedium.get(Materials.Ultimate); + case 8 -> OrePrefixes.pipeLarge.get(Materials.Ultimate); + default -> OrePrefixes.pipeHuge.get(Materials.Ultimate); + }; + + case COIL_HEATING -> switch (machineTier) { + case 0, 1 -> OrePrefixes.wireGt02.get(Materials.AnyCopper); + case 2 -> OrePrefixes.wireGt02.get(Materials.Cupronickel); + case 3 -> OrePrefixes.wireGt02.get(Materials.Kanthal); + case 4 -> OrePrefixes.wireGt02.get(Materials.Nichrome); + case 5 -> OrePrefixes.wireGt02.get(Materials.TPV); + case 6 -> OrePrefixes.wireGt02.get(Materials.HSSG); + case 7 -> OrePrefixes.wireGt02.get(Materials.Naquadah); + case 8 -> OrePrefixes.wireGt02.get(Materials.NaquadahAlloy); + case 9 -> OrePrefixes.wireGt04.get(Materials.NaquadahAlloy); + default -> OrePrefixes.wireGt08.get(Materials.NaquadahAlloy); + }; + + case COIL_HEATING_DOUBLE -> switch (machineTier) { + case 0, 1 -> OrePrefixes.wireGt04.get(Materials.AnyCopper); + case 2 -> OrePrefixes.wireGt04.get(Materials.Cupronickel); + case 3 -> OrePrefixes.wireGt04.get(Materials.Kanthal); + case 4 -> OrePrefixes.wireGt04.get(Materials.Nichrome); + case 5 -> OrePrefixes.wireGt04.get(Materials.TPV); + case 6 -> OrePrefixes.wireGt04.get(Materials.HSSG); + case 7 -> OrePrefixes.wireGt04.get(Materials.Naquadah); + case 8 -> OrePrefixes.wireGt04.get(Materials.NaquadahAlloy); + case 9 -> OrePrefixes.wireGt08.get(Materials.NaquadahAlloy); + default -> OrePrefixes.wireGt16.get(Materials.NaquadahAlloy); + }; + + case STICK_MAGNETIC -> switch (machineTier) { + case 0, 1 -> OrePrefixes.stick.get(Materials.IronMagnetic); + case 2, 3 -> OrePrefixes.stick.get(Materials.SteelMagnetic); + case 4, 5 -> OrePrefixes.stick.get(Materials.NeodymiumMagnetic); + case 6, 7, 8, 9 -> OrePrefixes.stick.get(Materials.SamariumMagnetic); + default -> OrePrefixes.stick.get(Materials.TengamAttuned); + }; + + case STICK_ELECTROMAGNETIC -> switch (machineTier) { + case 0, 1 -> OrePrefixes.stick.get(Materials.AnyIron); + case 2, 3 -> OrePrefixes.stick.get(Materials.Steel); + case 4 -> OrePrefixes.stick.get(Materials.Neodymium); + default -> OrePrefixes.stick.get(Materials.VanadiumGallium); + }; + + case COIL_ELECTRIC -> switch (machineTier) { + case 0 -> OrePrefixes.wireGt01.get(Materials.Lead); + case 1 -> OrePrefixes.wireGt02.get(Materials.Tin); + case 2 -> OrePrefixes.wireGt02.get(Materials.AnyCopper); + case 3 -> OrePrefixes.wireGt04.get(Materials.AnyCopper); + case 4 -> OrePrefixes.wireGt08.get(Materials.AnnealedCopper); + case 5 -> OrePrefixes.wireGt16.get(Materials.AnnealedCopper); + case 6 -> OrePrefixes.wireGt04.get(Materials.YttriumBariumCuprate); + case 7 -> OrePrefixes.wireGt08.get(Materials.Iridium); + default -> OrePrefixes.wireGt16.get(Materials.Osmium); + }; + + case ROBOT_ARM -> switch (machineTier) { + case 0, 1 -> ItemList.Robot_Arm_LV; + case 2 -> ItemList.Robot_Arm_MV; + case 3 -> ItemList.Robot_Arm_HV; + case 4 -> ItemList.Robot_Arm_EV; + case 5 -> ItemList.Robot_Arm_IV; + case 6 -> ItemList.Robot_Arm_LuV; + case 7 -> ItemList.Robot_Arm_ZPM; + case 8 -> ItemList.Robot_Arm_UV; + case 9 -> ItemList.Robot_Arm_UHV; + case 10 -> ItemList.Robot_Arm_UEV; + case 11 -> ItemList.Robot_Arm_UIV; + case 12 -> ItemList.Robot_Arm_UMV; + case 13 -> ItemList.Robot_Arm_UXV; + default -> ItemList.Robot_Arm_MAX; + }; + + case PUMP -> switch (machineTier) { + case 0, 1 -> ItemList.Electric_Pump_LV; + case 2 -> ItemList.Electric_Pump_MV; + case 3 -> ItemList.Electric_Pump_HV; + case 4 -> ItemList.Electric_Pump_EV; + case 5 -> ItemList.Electric_Pump_IV; + case 6 -> ItemList.Electric_Pump_LuV; + case 7 -> ItemList.Electric_Pump_ZPM; + case 8 -> ItemList.Electric_Pump_UV; + case 9 -> ItemList.Electric_Pump_UHV; + case 10 -> ItemList.Electric_Pump_UEV; + case 11 -> ItemList.Electric_Pump_UIV; + case 12 -> ItemList.Electric_Pump_UMV; + case 13 -> ItemList.Electric_Pump_UXV; + default -> ItemList.Electric_Pump_MAX; + }; + + case MOTOR -> switch (machineTier) { + case 0, 1 -> ItemList.Electric_Motor_LV; + case 2 -> ItemList.Electric_Motor_MV; + case 3 -> ItemList.Electric_Motor_HV; + case 4 -> ItemList.Electric_Motor_EV; + case 5 -> ItemList.Electric_Motor_IV; + case 6 -> ItemList.Electric_Motor_LuV; + case 7 -> ItemList.Electric_Motor_ZPM; + case 8 -> ItemList.Electric_Motor_UV; + case 9 -> ItemList.Electric_Motor_UHV; + case 10 -> ItemList.Electric_Motor_UEV; + case 11 -> ItemList.Electric_Motor_UIV; + case 12 -> ItemList.Electric_Motor_UMV; + case 13 -> ItemList.Electric_Motor_UXV; + default -> ItemList.Electric_Motor_MAX; + }; + + case PISTON -> switch (machineTier) { + case 0, 1 -> ItemList.Electric_Piston_LV; + case 2 -> ItemList.Electric_Piston_MV; + case 3 -> ItemList.Electric_Piston_HV; + case 4 -> ItemList.Electric_Piston_EV; + case 5 -> ItemList.Electric_Piston_IV; + case 6 -> ItemList.Electric_Piston_LuV; + case 7 -> ItemList.Electric_Piston_ZPM; + case 8 -> ItemList.Electric_Piston_UV; + case 9 -> ItemList.Electric_Piston_UHV; + case 10 -> ItemList.Electric_Piston_UEV; + case 11 -> ItemList.Electric_Piston_UIV; + case 12 -> ItemList.Electric_Piston_UMV; + case 13 -> ItemList.Electric_Piston_UXV; + default -> ItemList.Electric_Piston_MAX; + }; + + case CONVEYOR -> switch (machineTier) { + case 0, 1 -> ItemList.Conveyor_Module_LV; + case 2 -> ItemList.Conveyor_Module_MV; + case 3 -> ItemList.Conveyor_Module_HV; + case 4 -> ItemList.Conveyor_Module_EV; + case 5 -> ItemList.Conveyor_Module_IV; + case 6 -> ItemList.Conveyor_Module_LuV; + case 7 -> ItemList.Conveyor_Module_ZPM; + case 8 -> ItemList.Conveyor_Module_UV; + case 9 -> ItemList.Conveyor_Module_UHV; + case 10 -> ItemList.Conveyor_Module_UEV; + case 11 -> ItemList.Conveyor_Module_UIV; + case 12 -> ItemList.Conveyor_Module_UMV; + case 13 -> ItemList.Conveyor_Module_UXV; + default -> ItemList.Conveyor_Module_MAX; + }; + + case EMITTER -> switch (machineTier) { + case 0, 1 -> ItemList.Emitter_LV; + case 2 -> ItemList.Emitter_MV; + case 3 -> ItemList.Emitter_HV; + case 4 -> ItemList.Emitter_EV; + case 5 -> ItemList.Emitter_IV; + case 6 -> ItemList.Emitter_LuV; + case 7 -> ItemList.Emitter_ZPM; + case 8 -> ItemList.Emitter_UV; + case 9 -> ItemList.Emitter_UHV; + case 10 -> ItemList.Emitter_UEV; + case 11 -> ItemList.Emitter_UIV; + case 12 -> ItemList.Emitter_UMV; + case 13 -> ItemList.Emitter_UXV; + default -> ItemList.Emitter_MAX; + }; + + case SENSOR -> switch (machineTier) { + case 0, 1 -> ItemList.Sensor_LV; + case 2 -> ItemList.Sensor_MV; + case 3 -> ItemList.Sensor_HV; + case 4 -> ItemList.Sensor_EV; + case 5 -> ItemList.Sensor_IV; + case 6 -> ItemList.Sensor_LuV; + case 7 -> ItemList.Sensor_ZPM; + case 8 -> ItemList.Sensor_UV; + case 9 -> ItemList.Sensor_UHV; + case 10 -> ItemList.Sensor_UEV; + case 11 -> ItemList.Sensor_UIV; + case 12 -> ItemList.Sensor_UMV; + case 13 -> ItemList.Sensor_UXV; + default -> ItemList.Sensor_MAX; + }; + + case FIELD_GENERATOR -> switch (machineTier) { + case 0, 1 -> ItemList.Field_Generator_LV; + case 2 -> ItemList.Field_Generator_MV; + case 3 -> ItemList.Field_Generator_HV; + case 4 -> ItemList.Field_Generator_EV; + case 5 -> ItemList.Field_Generator_IV; + case 6 -> ItemList.Field_Generator_LuV; + case 7 -> ItemList.Field_Generator_ZPM; + case 8 -> ItemList.Field_Generator_UV; + case 9 -> ItemList.Field_Generator_UHV; + case 10 -> ItemList.Field_Generator_UEV; + case 11 -> ItemList.Field_Generator_UIV; + case 12 -> ItemList.Field_Generator_UMV; + case 13 -> ItemList.Field_Generator_UXV; + default -> ItemList.Field_Generator_MAX; + }; + + case ROTOR -> switch (machineTier) { + case 0, 1 -> OrePrefixes.rotor.get(Materials.Tin); + case 2 -> OrePrefixes.rotor.get(Materials.Bronze); + case 3 -> OrePrefixes.rotor.get(Materials.Steel); + case 4 -> OrePrefixes.rotor.get(Materials.StainlessSteel); + case 5 -> OrePrefixes.rotor.get(Materials.TungstenSteel); + case 6 -> OrePrefixes.rotor.get(ExternalMaterials.getRhodiumPlatedPalladium()); + case 7 -> OrePrefixes.rotor.get(Materials.Iridium); + default -> OrePrefixes.rotor.get(Materials.Osmium); + }; + + default -> throw new IllegalArgumentException("MISSING TIER MAPPING FOR: " + aRecipe[i] + " AT TIER " + machineTier); + }; + // spotless:on + } + + if (!GT_ModHandler.addCraftingRecipe( + aResult, + GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.BUFFERED + | GT_ModHandler.RecipeBits.NOT_REMOVABLE + | GT_ModHandler.RecipeBits.REVERSIBLE, + aRecipe)) { + throw new IllegalArgumentException("INVALID CRAFTING RECIPE FOR: " + aResult.getDisplayName()); + } + } + return true; + } + /** * Internal realisation of the Crafting Recipe adding Process. */ diff --git a/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_CraftingInput_Slave.java b/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_CraftingInput_Slave.java index ee53e9494ab..6dede1bea5f 100644 --- a/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_CraftingInput_Slave.java +++ b/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_CraftingInput_Slave.java @@ -42,7 +42,7 @@ public GT_MetaTileEntity_Hatch_CraftingInput_Slave(int aID, String aName, String aNameRegional, 6, 0, - new String[] { "Slave for Crafting Input Buffer/Bus", + new String[] { "Proxy for Crafting Input Buffer/Bus", "Link with Crafting Input Buffer/Bus using Data Stick to share inventory", "Left click on the Crafting Input Buffer/Bus, then right click on this block to link them", }); disableSort = true; 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 63b42cb012c..95ee79db748 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 @@ -97,324 +97,359 @@ private static void registerMachineTypes() { } private static void registerAlloySmelter() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_AlloySmelter.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_AlloySmelter.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_AlloySmelter.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_AlloySmelter.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_AlloySmelter.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 5); } private static void registerArcFurnace() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_ArcFurnace.get(1), bitsd, 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) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_ArcFurnace.get(1), bitsd, 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) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_ArcFurnace.get(1), bitsd, 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) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_ArcFurnace.get(1), bitsd, 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) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_ArcFurnace.get(1), bitsd, 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) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 5); } private static void registerAssembler() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Assembler.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Assembler.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Assembler.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Assembler.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Assembler.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerAutoclave() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Autoclave.get(1), bitsd, new Object[] { "IGI", "IMI", "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, - 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Autoclave.get(1), bitsd, new Object[] { "IGI", "IMI", "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, - 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Autoclave.get(1), bitsd, new Object[] { "IGI", "IMI", "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, - 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Autoclave.get(1), bitsd, new Object[] { "IGI", "IMI", "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, - 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Autoclave.get(1), bitsd, new Object[] { "IGI", "IMI", "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, - 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerBendingMachine() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Bender.get(1), bitsd, new Object[] { aTextPlateWrench, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Bender.get(1), bitsd, new Object[] { aTextPlateWrench, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Bender.get(1), bitsd, new Object[] { aTextPlateWrench, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Bender.get(1), bitsd, new Object[] { aTextPlateWrench, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Bender.get(1), bitsd, new Object[] { aTextPlateWrench, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerCanner() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Canner.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "GGG", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Canner.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "GGG", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Canner.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "GGG", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Canner.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "GGG", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Canner.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "GGG", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerCentrifuge() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Centrifuge.get(1), bitsd, new Object[] { "CEC", aTextWireHull, "CEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Centrifuge.get(1), bitsd, new Object[] { "CEC", aTextWireHull, "CEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Centrifuge.get(1), bitsd, new Object[] { "CEC", aTextWireHull, "CEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Centrifuge.get(1), bitsd, new Object[] { "CEC", aTextWireHull, "CEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Centrifuge.get(1), bitsd, new Object[] { "CEC", aTextWireHull, "CEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerChemicalBath() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_ChemicalBath.get(1), bitsd, new Object[] { "VGW", "PGV", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', @@ -422,9 +457,10 @@ private static void registerChemicalBath() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_ChemicalBath.get(1), bitsd, new Object[] { "VGW", "PGV", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', @@ -432,9 +468,10 @@ private static void registerChemicalBath() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_ChemicalBath.get(1), bitsd, new Object[] { "VGW", "PGV", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', @@ -442,9 +479,10 @@ private static void registerChemicalBath() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_ChemicalBath.get(1), bitsd, new Object[] { "VGW", "PGV", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', @@ -452,9 +490,10 @@ private static void registerChemicalBath() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_ChemicalBath.get(1), bitsd, new Object[] { "VGW", "PGV", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', @@ -462,56 +501,62 @@ private static void registerChemicalBath() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerChemicalReactor() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_ChemicalReactor.get(1), bitsd, new Object[] { "GRG", "WEW", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_ChemicalReactor.get(1), bitsd, new Object[] { "GRG", "WEW", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_ChemicalReactor.get(1), bitsd, new Object[] { "GRG", "WEW", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.pipeMedium.get(Materials.Plastic) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.pipeMedium.get(Materials.Plastic) }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_ChemicalReactor.get(1), bitsd, new Object[] { "GRG", "WEW", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.pipeLarge.get(Materials.Plastic) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.pipeLarge.get(Materials.Plastic) }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_ChemicalReactor.get(1), bitsd, new Object[] { "GRG", "WEW", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.pipeHuge.get(Materials.Plastic) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.pipeHuge.get(Materials.Plastic) }, + 5); } private static void registerCircuitAssembler() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_CircuitAssembler.get(1), bitsd, new Object[] { "ACE", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', @@ -519,9 +564,10 @@ private static void registerCircuitAssembler() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'E', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_CircuitAssembler.get(1), bitsd, new Object[] { "ACE", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', @@ -529,9 +575,10 @@ private static void registerCircuitAssembler() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'E', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_CircuitAssembler.get(1), bitsd, new Object[] { "ACE", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', @@ -539,9 +586,10 @@ private static void registerCircuitAssembler() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'E', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_CircuitAssembler.get(1), bitsd, new Object[] { "ACE", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', @@ -549,9 +597,10 @@ private static void registerCircuitAssembler() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'E', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_CircuitAssembler.get(1), bitsd, new Object[] { "ACE", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', @@ -559,9 +608,10 @@ private static void registerCircuitAssembler() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'E', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }, + 5); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LuV_CircuitAssembler.get(1), bitsd, new Object[] { "ACE", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', @@ -569,9 +619,10 @@ private static void registerCircuitAssembler() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'E', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }, + 6); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_ZPM_CircuitAssembler.get(1), bitsd, new Object[] { "ACE", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', @@ -579,9 +630,10 @@ private static void registerCircuitAssembler() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'E', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }, + 7); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_UV_CircuitAssembler.get(1), bitsd, new Object[] { "ACE", "VMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'V', @@ -589,55 +641,61 @@ private static void registerCircuitAssembler() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'E', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER }, + 8); } private static void registerCompressor() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Compressor.get(1), bitsd, new Object[] { aTextWireCoil, aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Compressor.get(1), bitsd, new Object[] { aTextWireCoil, aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Compressor.get(1), bitsd, new Object[] { aTextWireCoil, aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Compressor.get(1), bitsd, new Object[] { aTextWireCoil, aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Compressor.get(1), bitsd, new Object[] { aTextWireCoil, aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerCuttingMachine() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Cutter.get(1), bitsd, new Object[] { "WCG", "VMB", "CWE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', @@ -645,9 +703,10 @@ private static void registerCuttingMachine() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingDiamondBlade }); + 'B', OreDictNames.craftingDiamondBlade }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Cutter.get(1), bitsd, new Object[] { "WCG", "VMB", "CWE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', @@ -655,9 +714,10 @@ private static void registerCuttingMachine() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingDiamondBlade }); + 'B', OreDictNames.craftingDiamondBlade }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Cutter.get(1), bitsd, new Object[] { "WCG", "VMB", "CWE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', @@ -665,9 +725,10 @@ private static void registerCuttingMachine() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingDiamondBlade }); + 'B', OreDictNames.craftingDiamondBlade }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Cutter.get(1), bitsd, new Object[] { "WCG", "VMB", "CWE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', @@ -675,9 +736,10 @@ private static void registerCuttingMachine() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingDiamondBlade }); + 'B', OreDictNames.craftingDiamondBlade }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Cutter.get(1), bitsd, new Object[] { "WCG", "VMB", "CWE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', @@ -685,12 +747,13 @@ private static void registerCuttingMachine() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingDiamondBlade }); + 'B', OreDictNames.craftingDiamondBlade }, + 5); } private static void registerDistillery() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Distillery.get(1), bitsd, new Object[] { "GBG", aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -698,9 +761,10 @@ private static void registerDistillery() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Distillery.get(1), bitsd, new Object[] { "GBG", aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -708,9 +772,10 @@ private static void registerDistillery() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Distillery.get(1), bitsd, new Object[] { "GBG", aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -718,9 +783,10 @@ private static void registerDistillery() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Distillery.get(1), bitsd, new Object[] { "GBG", aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -728,9 +794,10 @@ private static void registerDistillery() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Distillery.get(1), bitsd, new Object[] { "GBG", aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -738,103 +805,114 @@ private static void registerDistillery() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerElectricFurnace() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_E_Furnace.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_E_Furnace.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_E_Furnace.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_E_Furnace.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_E_Furnace.get(1), bitsd, 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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 5); } private static void registerElectrolyser() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Electrolyzer.get(1), bitsd, new Object[] { "IGI", "IMI", "CWC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', OrePrefixes.wireGt01.get(Materials.Gold), 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Electrolyzer.get(1), bitsd, new Object[] { "IGI", "IMI", "CWC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', OrePrefixes.wireGt01.get(Materials.Silver), 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Electrolyzer.get(1), bitsd, new Object[] { "IGI", "IMI", "CWC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', OrePrefixes.wireGt01.get(Materials.Electrum), 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Electrolyzer.get(1), bitsd, new Object[] { "IGI", "IMI", "CWC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', OrePrefixes.wireGt01.get(Materials.Platinum), 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Electrolyzer.get(1), bitsd, new Object[] { "IGI", "IMI", "CWC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'I', OrePrefixes.wireGt01.get(Materials.HSSG), 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerElectromagneticSeparator() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_ElectromagneticSeparator.get(1), bitsd, new Object[] { "VWZ", "WMS", "CWZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', @@ -842,9 +920,10 @@ private static void registerElectromagneticSeparator() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_ElectromagneticSeparator.get(1), bitsd, new Object[] { "VWZ", "WMS", "CWZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', @@ -852,9 +931,10 @@ private static void registerElectromagneticSeparator() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_ElectromagneticSeparator.get(1), bitsd, new Object[] { "VWZ", "WMS", "CWZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', @@ -862,9 +942,10 @@ private static void registerElectromagneticSeparator() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_ElectromagneticSeparator.get(1), bitsd, new Object[] { "VWZ", "WMS", "CWZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', @@ -872,9 +953,10 @@ private static void registerElectromagneticSeparator() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_ElectromagneticSeparator.get(1), bitsd, new Object[] { "VWZ", "WMS", "CWZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', @@ -882,252 +964,278 @@ private static void registerElectromagneticSeparator() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerExtractor() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Extractor.get(1), bitsd, new Object[] { "GCG", "EMP", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Extractor.get(1), bitsd, new Object[] { "GCG", "EMP", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Extractor.get(1), bitsd, new Object[] { "GCG", "EMP", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Extractor.get(1), bitsd, new Object[] { "GCG", "EMP", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Extractor.get(1), bitsd, new Object[] { "GCG", "EMP", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerExtruder() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Extruder.get(1), bitsd, new Object[] { "CCE", "XMP", "CCE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'X', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Extruder.get(1), bitsd, new Object[] { "CCE", "XMP", "CCE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'X', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Extruder.get(1), bitsd, new Object[] { "CCE", "XMP", "CCE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'X', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Extruder.get(1), bitsd, new Object[] { "CCE", "XMP", "CCE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'X', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Extruder.get(1), bitsd, new Object[] { "CCE", "XMP", "CCE", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'X', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PIPE, 'C', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 5); } private static void registerFermenter() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Fermenter.get(1), bitsd, new Object[] { aTextWirePump, "GMG", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Fermenter.get(1), bitsd, new Object[] { aTextWirePump, "GMG", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Fermenter.get(1), bitsd, new Object[] { aTextWirePump, "GMG", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Fermenter.get(1), bitsd, new Object[] { aTextWirePump, "GMG", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Fermenter.get(1), bitsd, new Object[] { aTextWirePump, "GMG", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerFluidCanner() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_FluidCanner.get(1), bitsd, new Object[] { "GCG", "GMG", "WPW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_FluidCanner.get(1), bitsd, new Object[] { "GCG", "GMG", "WPW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_FluidCanner.get(1), bitsd, new Object[] { "GCG", "GMG", "WPW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_FluidCanner.get(1), bitsd, new Object[] { "GCG", "GMG", "WPW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_FluidCanner.get(1), bitsd, new Object[] { "GCG", "GMG", "WPW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerFluidExtractor() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_FluidExtractor.get(1), bitsd, new Object[] { "GEG", "TPT", "CMC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_FluidExtractor.get(1), bitsd, new Object[] { "GEG", "TPT", "CMC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_FluidExtractor.get(1), bitsd, new Object[] { "GEG", "TPT", "CMC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_FluidExtractor.get(1), bitsd, new Object[] { "GEG", "TPT", "CMC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_FluidExtractor.get(1), bitsd, new Object[] { "GEG", "TPT", "CMC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerFluidHeater() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_FluidHeater.get(1), bitsd, new Object[] { "OGO", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -1135,9 +1243,10 @@ private static void registerFluidHeater() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_FluidHeater.get(1), bitsd, new Object[] { "OGO", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -1145,9 +1254,10 @@ private static void registerFluidHeater() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_FluidHeater.get(1), bitsd, new Object[] { "OGO", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -1155,9 +1265,10 @@ private static void registerFluidHeater() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_FluidHeater.get(1), bitsd, new Object[] { "OGO", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -1165,9 +1276,10 @@ private static void registerFluidHeater() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_FluidHeater.get(1), bitsd, new Object[] { "OGO", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, @@ -1175,969 +1287,1071 @@ private static void registerFluidHeater() { GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerFluidSolidifier() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_FluidSolidifier.get(1), bitsd, new Object[] { "PGP", aTextWireHull, "CBC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingChest }); + 'B', OreDictNames.craftingChest }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_FluidSolidifier.get(1), bitsd, new Object[] { "PGP", aTextWireHull, "CBC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingChest }); + 'B', OreDictNames.craftingChest }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_FluidSolidifier.get(1), bitsd, new Object[] { "PGP", aTextWireHull, "CBC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingChest }); + 'B', OreDictNames.craftingChest }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_FluidSolidifier.get(1), bitsd, new Object[] { "PGP", aTextWireHull, "CBC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingChest }); + 'B', OreDictNames.craftingChest }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_FluidSolidifier.get(1), bitsd, new Object[] { "PGP", aTextWireHull, "CBC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS, - 'B', OreDictNames.craftingChest }); + 'B', OreDictNames.craftingChest }, + 5); } private static void registerForgeHammer() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Hammer.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "WAW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Hammer.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "WAW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Hammer.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "WAW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Hammer.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "WAW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Hammer.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, "WAW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE, 'A', OreDictNames.craftingAnvil }, + 5); } private static void registerFormingPress() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Press.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Press.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Press.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Press.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Press.get(1), bitsd, new Object[] { aTextWirePump, aTextCableHull, aTextWirePump, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerLaserEngraver() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_LaserEngraver.get(1), bitsd, new Object[] { "PEP", aTextCableHull, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_LaserEngraver.get(1), bitsd, new Object[] { "PEP", aTextCableHull, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_LaserEngraver.get(1), bitsd, new Object[] { "PEP", aTextCableHull, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_LaserEngraver.get(1), bitsd, new Object[] { "PEP", aTextCableHull, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_LaserEngraver.get(1), bitsd, new Object[] { "PEP", aTextCableHull, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerLathe() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Lathe.get(1), bitsd, new Object[] { aTextWireCoil, "EMD", "CWP", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OrePrefixes.gem.get(Materials.Diamond) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OrePrefixes.gem.get(Materials.Diamond) }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Lathe.get(1), bitsd, new Object[] { aTextWireCoil, "EMD", "CWP", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OrePrefixes.gemFlawless.get(Materials.Diamond) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OrePrefixes.gemFlawless.get(Materials.Diamond) }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Lathe.get(1), bitsd, new Object[] { aTextWireCoil, "EMD", "CWP", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OreDictNames.craftingIndustrialDiamond }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OreDictNames.craftingIndustrialDiamond }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Lathe.get(1), bitsd, new Object[] { aTextWireCoil, "EMD", "CWP", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OreDictNames.craftingIndustrialDiamond }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OreDictNames.craftingIndustrialDiamond }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Lathe.get(1), bitsd, new Object[] { aTextWireCoil, "EMD", "CWP", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OreDictNames.craftingIndustrialDiamond }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'D', OreDictNames.craftingIndustrialDiamond }, + 5); } private static void registerMacerator() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Macerator.get(1), bitsd, new Object[] { "PEG", "WWM", "CCW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.gem.get(Materials.Diamond) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.gem.get(Materials.Diamond) }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Macerator.get(1), bitsd, new Object[] { "PEG", "WWM", "CCW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.gemFlawless.get(Materials.Diamond) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.gemFlawless.get(Materials.Diamond) }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Macerator.get(1), bitsd, new Object[] { "PEG", "WWM", "CCW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OreDictNames.craftingGrinder }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OreDictNames.craftingGrinder }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Macerator.get(1), bitsd, new Object[] { "PEG", "WWM", "CCW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OreDictNames.craftingGrinder }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OreDictNames.craftingGrinder }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Macerator.get(1), bitsd, new Object[] { "PEG", "WWM", "CCW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OreDictNames.craftingGrinder }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OreDictNames.craftingGrinder }, + 5); } private static void registerMatterAmplifier() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Amplifab.get(1), bitsd, new Object[] { aTextWirePump, aTextPlateMotor, "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Amplifab.get(1), bitsd, new Object[] { aTextWirePump, aTextPlateMotor, "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Amplifab.get(1), bitsd, new Object[] { aTextWirePump, aTextPlateMotor, "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Amplifab.get(1), bitsd, new Object[] { aTextWirePump, aTextPlateMotor, "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Amplifab.get(1), bitsd, new Object[] { aTextWirePump, aTextPlateMotor, "CPC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4 }, + 5); } private static void registerMicrowave() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Microwave.get(1), bitsd, new Object[] { "LWC", "LMR", "LEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Microwave.get(1), bitsd, new Object[] { "LWC", "LMR", "LEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Microwave.get(1), bitsd, new Object[] { "LWC", "LMR", "LEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Microwave.get(1), bitsd, new Object[] { "LWC", "LMR", "LEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Microwave.get(1), bitsd, new Object[] { "LWC", "LMR", "LEC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.EMITTER, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'L', OrePrefixes.plate.get(Materials.Lead) }, + 5); } private static void registerMixer() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Mixer.get(1), bitsd, new Object[] { "GRG", "GEG", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Mixer.get(1), bitsd, new Object[] { "GRG", "GEG", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Mixer.get(1), bitsd, new Object[] { "GRG", "GEG", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Mixer.get(1), bitsd, new Object[] { "GRG", "GEG", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Mixer.get(1), bitsd, new Object[] { "GRG", "GEG", aTextCableHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.GLASS }, + 5); } private static void registerOreWasher() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_OreWasher.get(1), bitsd, new Object[] { "RGR", "CEC", aTextWireHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_OreWasher.get(1), bitsd, new Object[] { "RGR", "CEC", aTextWireHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_OreWasher.get(1), bitsd, new Object[] { "RGR", "CEC", aTextWireHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_OreWasher.get(1), bitsd, new Object[] { "RGR", "CEC", aTextWireHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_OreWasher.get(1), bitsd, new Object[] { "RGR", "CEC", aTextWireHull, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROTOR, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP }, + 5); } private static void registerOven() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Oven.get(1), bitsd, new Object[] { "CEC", aTextCableHull, "WEW", '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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Oven.get(1), bitsd, new Object[] { "CEC", aTextCableHull, "WEW", '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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Oven.get(1), bitsd, new Object[] { "CEC", aTextCableHull, "WEW", '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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Oven.get(1), bitsd, new Object[] { "CEC", aTextCableHull, "WEW", '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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Oven.get(1), bitsd, new Object[] { "CEC", aTextCableHull, "WEW", '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 }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING }, + 5); } private static void registerPlasmaArcFurnace() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_PlasmaArcFurnace.get(1), bitsd, new Object[] { "WGW", aTextCableHull, "TPT", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, - 'G', OrePrefixes.cell.get(Materials.Graphite) }); + 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_PlasmaArcFurnace.get(1), bitsd, new Object[] { "WGW", aTextCableHull, "TPT", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, - 'G', OrePrefixes.cell.get(Materials.Graphite) }); + 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_PlasmaArcFurnace.get(1), bitsd, new Object[] { "WGW", aTextCableHull, "TPT", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, - 'G', OrePrefixes.cell.get(Materials.Graphite) }); + 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_PlasmaArcFurnace.get(1), bitsd, new Object[] { "WGW", aTextCableHull, "TPT", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, - 'G', OrePrefixes.cell.get(Materials.Graphite) }); + 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_PlasmaArcFurnace.get(1), bitsd, new Object[] { "WGW", aTextCableHull, "TPT", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PLATE, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.BETTER_CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE4, 'T', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PUMP, - 'G', OrePrefixes.cell.get(Materials.Graphite) }); + 'G', OrePrefixes.cell.get(Materials.Graphite) }, + 5); } private static void registerPolarizer() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Polarizer.get(1), bitsd, new Object[] { "ZSZ", aTextWireHull, "ZSZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.STICK_ELECTROMAGNETIC, 'Z', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Polarizer.get(1), bitsd, new Object[] { "ZSZ", aTextWireHull, "ZSZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.STICK_ELECTROMAGNETIC, 'Z', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Polarizer.get(1), bitsd, new Object[] { "ZSZ", aTextWireHull, "ZSZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.STICK_ELECTROMAGNETIC, 'Z', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Polarizer.get(1), bitsd, new Object[] { "ZSZ", aTextWireHull, "ZSZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.STICK_ELECTROMAGNETIC, 'Z', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Polarizer.get(1), bitsd, new Object[] { "ZSZ", aTextWireHull, "ZSZ", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'S', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.STICK_ELECTROMAGNETIC, 'Z', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_ELECTRIC, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerPrinter() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Printer.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Printer.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Printer.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Printer.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Printer.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LuV_Printer.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 6); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_ZPM_Printer.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 7); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_UV_Printer.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 8); } private static void registerRecycler() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Recycler.get(1), bitsd, new Object[] { "GCG", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Recycler.get(1), bitsd, new Object[] { "GCG", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Recycler.get(1), bitsd, new Object[] { "GCG", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Recycler.get(1), bitsd, new Object[] { "GCG", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Recycler.get(1), bitsd, new Object[] { "GCG", aTextPlateMotor, aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'G', OrePrefixes.dust.get(Materials.Glowstone) }, + 5); } private static void registerSifter() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Sifter.get(1), bitsd, new Object[] { "WFW", aTextPlateMotor, "CFC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'F', OreDictNames.craftingFilter, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Sifter.get(1), bitsd, new Object[] { "WFW", aTextPlateMotor, "CFC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'F', OreDictNames.craftingFilter, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Sifter.get(1), bitsd, new Object[] { "WFW", aTextPlateMotor, "CFC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'F', OreDictNames.craftingFilter, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Sifter.get(1), bitsd, new Object[] { "WFW", aTextPlateMotor, "CFC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'F', OreDictNames.craftingFilter, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Sifter.get(1), bitsd, new Object[] { "WFW", aTextPlateMotor, "CFC", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'F', OreDictNames.craftingFilter, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerSlicer() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Slicer.get(1), bitsd, new Object[] { aTextWireCoil, "PMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Slicer.get(1), bitsd, new Object[] { aTextWireCoil, "PMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Slicer.get(1), bitsd, new Object[] { aTextWireCoil, "PMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Slicer.get(1), bitsd, new Object[] { aTextWireCoil, "PMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Slicer.get(1), bitsd, new Object[] { aTextWireCoil, "PMV", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'P', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.PISTON, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerThermalCentrifuge() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_ThermalCentrifuge.get(1), bitsd, new Object[] { "CEC", "OMO", "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_ThermalCentrifuge.get(1), bitsd, new Object[] { "CEC", "OMO", "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_ThermalCentrifuge.get(1), bitsd, new Object[] { "CEC", "OMO", "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_ThermalCentrifuge.get(1), bitsd, new Object[] { "CEC", "OMO", "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_ThermalCentrifuge.get(1), bitsd, new Object[] { "CEC", "OMO", "WEW", 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'O', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.COIL_HEATING_DOUBLE }, + 5); } private static void registerUnpackager() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Unboxinator.get(1), bitsd, new Object[] { "BCB", "VMR", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Unboxinator.get(1), bitsd, new Object[] { "BCB", "VMR", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Unboxinator.get(1), bitsd, new Object[] { "BCB", "VMR", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Unboxinator.get(1), bitsd, new Object[] { "BCB", "VMR", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Unboxinator.get(1), bitsd, new Object[] { "BCB", "VMR", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }, + 5); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LuV_Unboxinator.get(1), bitsd, new Object[] { "BCB", "VMR", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }, + 6); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_ZPM_Unboxinator.get(1), bitsd, new Object[] { "BCB", "VMR", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }, + 7); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_UV_Unboxinator.get(1), bitsd, new Object[] { "BCB", "VMR", aTextWireCoil, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'R', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.ROBOT_ARM, 'V', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CONVEYOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE, 'B', OreDictNames.craftingChest }, + 8); } private static void registerWiremill() { - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_LV_Wiremill.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 1); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_MV_Wiremill.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 2); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_HV_Wiremill.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 3); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_EV_Wiremill.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 4); - GT_ModHandler.addCraftingRecipe( + GT_ModHandler.addMachineCraftingRecipe( ItemList.Machine_IV_Wiremill.get(1), bitsd, new Object[] { aTextMotorWire, aTextCableHull, aTextMotorWire, 'M', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.HULL, 'E', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.MOTOR, 'C', GT_MetaTileEntity_BasicMachine_GT_Recipe.X.CIRCUIT, 'W', - GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }); + GT_MetaTileEntity_BasicMachine_GT_Recipe.X.WIRE }, + 5); } private static void registerShapedCraftingRecipes() { diff --git a/src/main/java/gregtech/loaders/preload/GT_Loader_MetaTileEntities.java b/src/main/java/gregtech/loaders/preload/GT_Loader_MetaTileEntities.java index cda0f12c99b..bbfe7538b2c 100644 --- a/src/main/java/gregtech/loaders/preload/GT_Loader_MetaTileEntities.java +++ b/src/main/java/gregtech/loaders/preload/GT_Loader_MetaTileEntities.java @@ -10248,8 +10248,8 @@ private static void registerAE2Hatches() { ItemList.Hatch_CraftingInput_Bus_Slave.set( new GT_MetaTileEntity_Hatch_CraftingInput_Slave( CRAFTING_INPUT_SLAVE.ID, - "hatch.crafting_input.slave", - "Crafting Input Slave").getStackForm(1L)); + "hatch.crafting_input.proxy", + "Crafting Input Proxy").getStackForm(1L)); } private static void registerMagHatch() { diff --git a/src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java b/src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java index dd99b6bb0e0..99e7dc54596 100644 --- a/src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java +++ b/src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java @@ -154,47 +154,59 @@ public List getCache() { List cache; if (cacheHolder.getCachedRecipesVersion() != GT_Mod.gregtechproxy.getNEIReloadCount() || (cache = cacheHolder.getCachedRecipes()) == null) { - RecipeCategory defaultCategory = recipeMap.getDefaultRecipeCategory(); - Collection recipes; - if (this.recipeCategory == defaultCategory) { - // This is main category, so merge categories that are configured as such - Stream recipesToMerge = recipeMap.getBackend() - .getRecipeCategoryMap() - .entrySet() - .stream() - .flatMap(entry -> { - boolean merge = entry.getKey() != defaultCategory && GT_Mod.gregtechproxy.recipeCategorySettings - .getOrDefault(entry.getKey(), RecipeCategorySetting.getDefault()) - == RecipeCategorySetting.MERGE; - return merge ? entry.getValue() - .stream() : Stream.empty(); - }); - recipes = Stream.concat( - recipesToMerge, - recipeMap.getBackend() - .getRecipesByCategory(defaultCategory) - .stream()) - .collect(Collectors.toList()); - } else { - // This is "sub" category - if (GT_Mod.gregtechproxy.recipeCategorySettings - .getOrDefault(recipeCategory, RecipeCategorySetting.getDefault()) == RecipeCategorySetting.ENABLE) { - recipes = recipeMap.getBackend() - .getRecipesByCategory(recipeCategory); + try { + RecipeCategory defaultCategory = recipeMap.getDefaultRecipeCategory(); + Collection recipes; + if (this.recipeCategory == defaultCategory) { + // This is main category, so merge categories that are configured as such + Stream recipesToMerge = recipeMap.getBackend() + .getRecipeCategoryMap() + .entrySet() + .stream() + .flatMap(entry -> { + boolean merge = entry.getKey() != defaultCategory + && GT_Mod.gregtechproxy.recipeCategorySettings + .getOrDefault(entry.getKey(), RecipeCategorySetting.getDefault()) + == RecipeCategorySetting.MERGE; + return merge ? entry.getValue() + .stream() : Stream.empty(); + }); + recipes = Stream.concat( + recipesToMerge, + recipeMap.getBackend() + .getRecipesByCategory(defaultCategory) + .stream()) + .collect(Collectors.toList()); } else { - recipes = Collections.emptyList(); + // This is "sub" category + if (GT_Mod.gregtechproxy.recipeCategorySettings + .getOrDefault(recipeCategory, RecipeCategorySetting.getDefault()) + == RecipeCategorySetting.ENABLE) { + recipes = recipeMap.getBackend() + .getRecipesByCategory(recipeCategory); + } else { + recipes = Collections.emptyList(); + } } + cache = recipes.stream() // do not use parallel stream. This is already parallelized by NEI + .filter(r -> !r.mHidden) + .sorted(neiProperties.comparator) + .map(CachedDefaultRecipe::new) + .collect(Collectors.toList()); + // while the NEI parallelize handlers, for each individual handler it still uses sequential execution + // model, + // so we do not need any synchronization here + // even if it does break, at worst case it's just recreating the cache multiple times, which should be + // fine + cacheHolder.setCachedRecipes(cache); + cacheHolder.setCachedRecipesVersion(GT_Mod.gregtechproxy.getNEIReloadCount()); + } catch (Exception e) { + throw new RuntimeException( + "Could not construct GT NEI Handler cache for category " + recipeCategory + + ", display name " + + recipeNameDisplay, + e); } - cache = recipes.stream() // do not use parallel stream. This is already parallelized by NEI - .filter(r -> !r.mHidden) - .sorted(neiProperties.comparator) - .map(CachedDefaultRecipe::new) - .collect(Collectors.toList()); - // while the NEI parallelize handlers, for each individual handler it still uses sequential execution model, - // so we do not need any synchronization here - // even if it does break, at worst case it's just recreating the cache multiple times, which should be fine - cacheHolder.setCachedRecipes(cache); - cacheHolder.setCachedRecipesVersion(GT_Mod.gregtechproxy.getNEIReloadCount()); } return cache; } diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialMacerator.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialMacerator.java index 8ad57576390..fdfadbdc746 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialMacerator.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialMacerator.java @@ -45,6 +45,7 @@ import gregtech.api.recipe.RecipeMaps; import gregtech.api.util.GT_Multiblock_Tooltip_Builder; import gregtech.api.util.GT_Utility; +import gregtech.common.tileentities.machines.IDualInputHatch; import gtPlusPlus.core.block.ModBlocks; import gtPlusPlus.core.lib.CORE; import gtPlusPlus.core.util.minecraft.ItemUtils; @@ -192,18 +193,20 @@ public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack a } protected void updateHatchTexture() { - for (GT_MetaTileEntity_Hatch h : mInputBusses) h.updateTexture(getCasingTextureId()); - for (GT_MetaTileEntity_Hatch h : mOutputBusses) h.updateTexture(getCasingTextureId()); - for (GT_MetaTileEntity_Hatch h : mMaintenanceHatches) h.updateTexture(getCasingTextureId()); - for (GT_MetaTileEntity_Hatch h : mMufflerHatches) h.updateTexture(getCasingTextureId()); - for (GT_MetaTileEntity_Hatch h : mEnergyHatches) h.updateTexture(getCasingTextureId()); + int textureID = getCasingTextureId(); + for (GT_MetaTileEntity_Hatch h : mInputBusses) h.updateTexture(textureID); + for (IDualInputHatch h : mDualInputHatches) h.updateTexture(textureID); + for (GT_MetaTileEntity_Hatch h : mOutputBusses) h.updateTexture(textureID); + for (GT_MetaTileEntity_Hatch h : mMaintenanceHatches) h.updateTexture(textureID); + for (GT_MetaTileEntity_Hatch h : mMufflerHatches) h.updateTexture(textureID); + for (GT_MetaTileEntity_Hatch h : mEnergyHatches) h.updateTexture(textureID); } @Override public boolean checkHatch() { return !mMufflerHatches.isEmpty() && !mMaintenanceHatches.isEmpty() && !mOutputBusses.isEmpty() - && !mInputBusses.isEmpty(); + && (!mInputBusses.isEmpty() || !mDualInputHatches.isEmpty()); } @Override diff --git a/src/main/resources/assets/tectech/lang/en_US.lang b/src/main/resources/assets/tectech/lang/en_US.lang index e58168a9f5a..65350025a5e 100644 --- a/src/main/resources/assets/tectech/lang/en_US.lang +++ b/src/main/resources/assets/tectech/lang/en_US.lang @@ -507,17 +507,17 @@ gt.blockmachines.hatch.certain.tier.10.name=Uncertainty Resolver X gt.blockmachines.hatch.certain.desc.0=Feeling certain, or not? gt.blockmachines.hatch.certain.desc.1=Schrödinger equation in a box -gt.blockmachines.hatch.datain.tier.07.name=Optical Slave Connector +gt.blockmachines.hatch.datain.tier.07.name=Optical Reception Connector gt.blockmachines.hatch.datain.desc.0=Quantum Data Input for Multiblocks gt.blockmachines.hatch.datain.desc.1=High speed fibre optics connector. gt.blockmachines.hatch.datain.desc.2=Must be painted to work -gt.blockmachines.hatch.dataout.tier.07.name=Optical Master Connector +gt.blockmachines.hatch.dataout.tier.07.name=Optical Transmission Connector gt.blockmachines.hatch.dataout.desc.0=Quantum Data Output for Multiblocks gt.blockmachines.hatch.dataout.desc.1=High speed fibre optics connector. gt.blockmachines.hatch.dataout.desc.2=Must be painted to work -gt.blockmachines.hatch.datainass.tier.07.name=Assembly line Slave Connector +gt.blockmachines.hatch.datainass.tier.07.name=Assembly line Reception Connector gt.blockmachines.hatch.datainass.desc.0=ItemStack Data Input for Multiblocks gt.blockmachines.hatch.datainass.desc.1=High speed fibre optics connector. gt.blockmachines.hatch.datainass.desc.2=Must be painted to work @@ -525,7 +525,7 @@ gt.blockmachines.hatch.datainass.desc.2=Must be painted to work gt.blockmachines.hatch.datainasswireless.desc.0=Wireless ItemStack Data Input for Multiblocks gt.blockmachines.hatch.datainasswireless.desc.1=High speed internet connection -gt.blockmachines.hatch.dataoutass.tier.07.name=Data Bank Master Connector +gt.blockmachines.hatch.dataoutass.tier.07.name=Data Bank Transmission Connector gt.blockmachines.hatch.dataoutass.desc.0=ItemStack Data Output for Multiblocks gt.blockmachines.hatch.dataoutass.desc.1=High speed fibre optics connector. gt.blockmachines.hatch.dataoutass.desc.2=Must be painted to work