aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorRukern <alexandre.b.tardif@gmail.com>2022-08-10 09:47:41 -0400
committerGitHub <noreply@github.com>2022-08-10 15:47:41 +0200
commita1a9a488a2a63b09cc36e191e4cb9f6cfddb7419 (patch)
tree58df4fab86676deb9999750a7eb6366aa7407b47 /src/main/java
parent05d8cd3cf5e9665a4142b039fff9d20952513583 (diff)
downloadGT5-Unofficial-a1a9a488a2a63b09cc36e191e4cb9f6cfddb7419.tar.gz
GT5-Unofficial-a1a9a488a2a63b09cc36e191e4cb9f6cfddb7419.tar.bz2
GT5-Unofficial-a1a9a488a2a63b09cc36e191e4cb9f6cfddb7419.zip
Disable the large generator array (#273)
* Disable the large generator array * Re-add and comment Recipe Co-authored-by: Alexandre Tardif <alexandre.tardif@nexusinno.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java22
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java10
2 files changed, 17 insertions, 15 deletions
diff --git a/src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java b/src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java
index 72e30d6177..5f2556c5b4 100644
--- a/src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java
+++ b/src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java
@@ -264,8 +264,8 @@ public class RECIPES_Machines {
gt4FarmManager();
gt4Redstone();
gt4Inventory();
-
- multiGeneratorArray();
+
+ //multiGeneratorArray();
multiForgeHammer();
multiMolecularTransformer();
multiXlTurbines();
@@ -471,15 +471,15 @@ public class RECIPES_Machines {
private static void multiGeneratorArray() {
- GT_ModHandler.addCraftingRecipe(
- GregtechItemList.Generator_Array_Controller.get(1L),
- CI.bitsd,
- new Object[]{"CTC", "FMF", "CBC",
- 'M', CI.getTieredGTPPMachineCasing(4, 1),
- 'B', OrePrefixes.pipeHuge.get(Materials.StainlessSteel),
- 'C', OrePrefixes.circuit.get(Materials.Data),
- 'F', ItemList.Electric_Pump_EV,
- 'T', CI.getSensor(4, 1)});
+ GT_ModHandler.addCraftingRecipe(
+ GregtechItemList.Generator_Array_Controller.get(1L),
+ CI.bitsd,
+ new Object[]{"CTC", "FMF", "CBC",
+ 'M', CI.getTieredGTPPMachineCasing(4, 1),
+ 'B', OrePrefixes.pipeHuge.get(Materials.StainlessSteel),
+ 'C', OrePrefixes.circuit.get(Materials.Data),
+ 'F', ItemList.Electric_Pump_EV,
+ 'T', CI.getSensor(4, 1)});
}
private static void multiForgeHammer() {
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java
index a166be4efc..6428d1a3fc 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java
@@ -237,11 +237,12 @@ public class GregtechMetaTileEntityGeneratorArray extends GregtechMeta_MultiBloc
}
return MODE_NONE;
}
-
+
@Override
public boolean checkRecipe(ItemStack aStack) {
-
- this.resetRecipeMapForAllInputHatches();
+ return false;
+
+/** this.resetRecipeMapForAllInputHatches();
this.mMode = getModeFromInventorySlot(aStack);
if (mMode == MODE_NONE) {
Logger.INFO("Did not find valid generator.");
@@ -291,7 +292,7 @@ public class GregtechMetaTileEntityGeneratorArray extends GregtechMeta_MultiBloc
Logger.INFO("No Lube.");
return false;
}*/
-
+/**
if (this.mRuntime % 72 == 0 || this.mRuntime == 0) {
this.depleteInput(Materials.Lubricant.getFluid(this.boostEu ? 2L : 1L));
}
@@ -317,6 +318,7 @@ public class GregtechMetaTileEntityGeneratorArray extends GregtechMeta_MultiBloc
this.mEUt = 0;
this.mEfficiency = 0;
return false;
+ **/
}
public static ItemStack[] clean(final ItemStack[] v) {