aboutsummaryrefslogtreecommitdiff
path: root/src/Java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java')
-rw-r--r--src/Java/gtPlusPlus/GTplusplus.java26
-rw-r--r--src/Java/gtPlusPlus/core/lib/CORE.java24
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java37
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java13
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechDehydrator.java2
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechEnergyBuffer.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechGeothermalThermalGenerator.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialBlastSmelter.java9
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCentrifuge.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCokeOven.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialElectrolyzer.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMacerator.java5
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMassFabricator.java7
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMultiTank.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialPlatePress.java5
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialWiremill.java5
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIronBlastFurnace.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLFTR.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPowerSubStation.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRocketFuelGenerator.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSafeBlock.java4
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSolarGenerators.java4
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamCondenser.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechTieredFluidTanks.java3
24 files changed, 102 insertions, 75 deletions
diff --git a/src/Java/gtPlusPlus/GTplusplus.java b/src/Java/gtPlusPlus/GTplusplus.java
index f0ae8e5064..504e5672a3 100644
--- a/src/Java/gtPlusPlus/GTplusplus.java
+++ b/src/Java/gtPlusPlus/GTplusplus.java
@@ -71,6 +71,7 @@ implements ActionListener
//Single machines
CORE.configSwitches.enableMachine_SolarGenerators = config.getBoolean("enableSolarGenerators", "gregtech", false, "These may be overpowered, Consult a local electrician.");
+ CORE.configSwitches.enableMachine_Safes = config.getBoolean("enableMachineSafes", "gregtech", true, "These protect your goodies/rare stuff.");
CORE.configSwitches.enableMachine_Dehydrators = config.getBoolean("enableMachineDehydrators", "gregtech", true, "These dehydrate stuff.");
CORE.configSwitches.enableMachine_SteamConverter = config.getBoolean("enableMachineSteamConverter", "gregtech", true, "Converts IC2 steam -> Railcraft steam.");
CORE.configSwitches.enableMachine_FluidTanks = config.getBoolean("enableMachineFluidTanks", "gregtech", true, "Portable fluid tanks.");
@@ -79,17 +80,18 @@ implements ActionListener
//Multi machines
- CORE.configSwitches.enabledMultiblock_AlloyBlastSmelter = config.getBoolean("enabledMultiblockAlloyBlastSmelter", "gregtech", true, "Required to smelt most high tier materials from GT++. Also smelts everything else to molten metal.");
- CORE.configSwitches.enabledMultiblock_IndustrialCentrifuge = config.getBoolean("enabledMultiblockIndustrialCentrifuge", "gregtech", true, "Spin, Spin, Spiiiin.");
- CORE.configSwitches.enabledMultiblock_IndustrialCokeOven = config.getBoolean("enabledMultiblockIndustrialCokeOven", "gregtech", true, "Pyro Oven Alternative, older, more realistic, better.");
- CORE.configSwitches.enabledMultiblock_IndustrialElectrolyzer = config.getBoolean("enabledMultiblockIndustrialElectrolyzer", "gregtech", true, "Electrolyzes things with extra bling factor.");
- CORE.configSwitches.enabledMultiblock_IndustrialMacerationStack = config.getBoolean("enabledMultiblockIndustrialMacerationStack", "gregtech", true, "A hyper efficient maceration tower, nets more bonus outputs.");
- CORE.configSwitches.enabledMultiblock_IndustrialPlatePress = config.getBoolean("enabledMultiblockIndustrialPlatePress", "gregtech", true, "Industrial bendering machine thingo.");
- CORE.configSwitches.enabledMultiblock_IndustrialWireMill = config.getBoolean("enabledMultiblockIndustrialWireMill", "gregtech", true, "Produces fine wire and exotic cables.");
- CORE.configSwitches.enabledMultiblock_IronBlastFurnace = config.getBoolean("enabledMultiblockIronBlastFurnace", "gregtech", true, "Skip the Bronze age, very slowly.");
- CORE.configSwitches.enabledMultiblock_MatterFabricator = config.getBoolean("enabledMultiblockMatterFabricator", "gregtech", true, "?FAB?RIC?ATE MA?TT?ER.");
- CORE.configSwitches.enabledMultiblock_MultiTank = config.getBoolean("enabledMultiblockMultiTank", "gregtech", true, "Tall tanks, each layer adds extra fluid storage.");
- CORE.configSwitches.enabledMultiblock_PowerSubstation = config.getBoolean("enabledMultiblockPowerSubstation", "gregtech", true, "For managing large power grids.");
+ CORE.configSwitches.enableMultiblock_AlloyBlastSmelter = config.getBoolean("enableMultiblockAlloyBlastSmelter", "gregtech", true, "Required to smelt most high tier materials from GT++. Also smelts everything else to molten metal.");
+ CORE.configSwitches.enableMultiblock_IndustrialCentrifuge = config.getBoolean("enableMultiblockIndustrialCentrifuge", "gregtech", true, "Spin, Spin, Spiiiin.");
+ CORE.configSwitches.enableMultiblock_IndustrialCokeOven = config.getBoolean("enableMultiblockIndustrialCokeOven", "gregtech", true, "Pyro Oven Alternative, older, more realistic, better.");
+ CORE.configSwitches.enableMultiblock_IndustrialElectrolyzer = config.getBoolean("enableMultiblockIndustrialElectrolyzer", "gregtech", true, "Electrolyzes things with extra bling factor.");
+ CORE.configSwitches.enableMultiblock_IndustrialMacerationStack = config.getBoolean("enableMultiblockIndustrialMacerationStack", "gregtech", true, "A hyper efficient maceration tower, nets more bonus outputs.");
+ CORE.configSwitches.enableMultiblock_IndustrialPlatePress = config.getBoolean("enableMultiblockIndustrialPlatePress", "gregtech", true, "Industrial bendering machine thingo.");
+ CORE.configSwitches.enableMultiblock_IndustrialWireMill = config.getBoolean("enableMultiblockIndustrialWireMill", "gregtech", true, "Produces fine wire and exotic cables.");
+ CORE.configSwitches.enableMultiblock_IronBlastFurnace = config.getBoolean("enableMultiblockIronBlastFurnace", "gregtech", true, "Skip the Bronze age, very slowly.");
+ CORE.configSwitches.enableMultiblock_MatterFabricator = config.getBoolean("enableMultiblockMatterFabricator", "gregtech", true, "?FAB?RIC?ATE MA?TT?ER.");
+ CORE.configSwitches.enableMultiblock_MultiTank = config.getBoolean("enableMultiblockMultiTank", "gregtech", true, "Tall tanks, each layer adds extra fluid storage.");
+ CORE.configSwitches.enableMultiblock_PowerSubstation = config.getBoolean("enableMultiblockPowerSubstation", "gregtech", true, "For managing large power grids.");
+ CORE.configSwitches.enableMultiblock_LiquidFluorideThoriumReactor = config.getBoolean("enableMultiblockLiquidFluorideThoriumReactor", "gregtech", true, "For supplying large power grids.");
//Options
@@ -152,7 +154,7 @@ implements ActionListener
{
Utils.LOG_INFO("Loading "+CORE.name+" V"+CORE.VERSION);
Utils.LOG_INFO("Latest is "+CORE.MASTER_VERSION+". Updated? "+Utils.isModUpToDate());
- FirstCall();
+ //FirstCall();
FMLCommonHandler.instance().bus().register(new LoginEventHandler());
Utils.LOG_INFO("Login Handler Initialized");
diff --git a/src/Java/gtPlusPlus/core/lib/CORE.java b/src/Java/gtPlusPlus/core/lib/CORE.java
index 38ee4a0cdd..17dd12e02a 100644
--- a/src/Java/gtPlusPlus/core/lib/CORE.java
+++ b/src/Java/gtPlusPlus/core/lib/CORE.java
@@ -89,6 +89,7 @@ public class CORE {
//Single Block Machines
public static boolean enableMachine_SolarGenerators = false;
+ public static boolean enableMachine_Safes = true;
public static boolean enableMachine_Dehydrators = true;
public static boolean enableMachine_SteamConverter = true;
public static boolean enableMachine_FluidTanks = true;
@@ -98,17 +99,18 @@ public class CORE {
public static boolean enableCustom_Cables = true;
//Multiblocks
- public static boolean enabledMultiblock_AlloyBlastSmelter = true;
- public static boolean enabledMultiblock_IndustrialCentrifuge = true;
- public static boolean enabledMultiblock_IndustrialCokeOven = true;
- public static boolean enabledMultiblock_IndustrialElectrolyzer = true;
- public static boolean enabledMultiblock_IndustrialMacerationStack = true;
- public static boolean enabledMultiblock_IndustrialPlatePress = true;
- public static boolean enabledMultiblock_IndustrialWireMill = true;
- public static boolean enabledMultiblock_IronBlastFurnace = true;
- public static boolean enabledMultiblock_MatterFabricator = true;
- public static boolean enabledMultiblock_MultiTank = true;
- public static boolean enabledMultiblock_PowerSubstation = true;
+ public static boolean enableMultiblock_AlloyBlastSmelter = true;
+ public static boolean enableMultiblock_IndustrialCentrifuge = true;
+ public static boolean enableMultiblock_IndustrialCokeOven = true;
+ public static boolean enableMultiblock_IndustrialElectrolyzer = true;
+ public static boolean enableMultiblock_IndustrialMacerationStack = true;
+ public static boolean enableMultiblock_IndustrialPlatePress = true;
+ public static boolean enableMultiblock_IndustrialWireMill = true;
+ public static boolean enableMultiblock_IronBlastFurnace = true;
+ public static boolean enableMultiblock_MatterFabricator = true;
+ public static boolean enableMultiblock_MultiTank = true;
+ public static boolean enableMultiblock_PowerSubstation = true;
+ public static boolean enableMultiblock_LiquidFluorideThoriumReactor = true;
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java
index 020ce2c788..810ff85382 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java
@@ -36,8 +36,8 @@ extends GregtechMeta_MultiBlockBase {
}
private long fluidStored = 0;
- private short multiblockCasingCount = 0;
- private short storageMultiplier = getStorageMultiplier();
+ private int multiblockCasingCount = 0;
+ private int storageMultiplier = getStorageMultiplier();
private long maximumFluidStorage = getMaximumTankStorage();
private FluidStack internalStorageTank = null;
@@ -49,25 +49,21 @@ extends GregtechMeta_MultiBlockBase {
if (internalStorageTank == null) {
return new String[]{
GT_Values.VOLTAGE_NAMES[temp]+" Large Fluid Tank",
- "Stored Fluid:",
- "No Fluid",
- Integer.toString(0) + "L",
- Integer.toString(getCapacity()) + "L"};
+ "Stored Fluid: No Fluid",
+ "Internal | Current: "+Integer.toString(0) + "L",
+ "Internal | Maximum: "+Integer.toString((int) maximumFluidStorage) + "L"};
}
return new String[]{
GT_Values.VOLTAGE_NAMES[temp]+" Large Fluid Tank",
- "Stored Fluid:",
- internalStorageTank.getLocalizedName(),
- Integer.toString(internalStorageTank.amount) + "L",
- Integer.toString((int) fluidStored) + "L - fluidStored var",
- Integer.toString(getCapacity()) + "L"};
+ "Stored Fluid: "+internalStorageTank.getLocalizedName(),
+ "Internal | Current: "+Integer.toString(internalStorageTank.amount) + "L",
+ "Internal | Maximum: "+Integer.toString((int) maximumFluidStorage) + "L"};
}
return new String[]{
"Voltage Tier not set -" +" Large Fluid Tank",
- "Stored Fluid:",
- "No Fluid",
- Integer.toString(0) + "L",
- Integer.toString(getCapacity()) + "L"};
+ "Stored Fluid: No Fluid",
+ "Internal | Current: "+Integer.toString(0) + "L",
+ "Internal | Maximum: "+Integer.toString((int) maximumFluidStorage) + "L"};
}
@Override
@@ -80,9 +76,9 @@ extends GregtechMeta_MultiBlockBase {
aNBT.setInteger("mPollution", mPollution);
aNBT.setInteger("mRuntime", mRuntime);
aNBT.setLong("mFluidStored", fluidStored);
- aNBT.setShort("mStorageMultiplier", storageMultiplier);
+ aNBT.setInteger("mStorageMultiplier", storageMultiplier);
aNBT.setLong("mMaxFluidStored", maximumFluidStorage);
- aNBT.setShort("mCasingCount", multiblockCasingCount);
+ aNBT.setInteger("mCasingCount", multiblockCasingCount);
if (mOutputItems != null) for (int i = 0; i < mOutputItems.length; i++)
if (mOutputItems[i] != null) {
@@ -108,6 +104,7 @@ extends GregtechMeta_MultiBlockBase {
private short getStorageMultiplier(){
int tempstorageMultiplier = (1*multiblockCasingCount);
if (tempstorageMultiplier <= 0){
+ Utils.LOG_INFO("Invalid Storage Multiplier. "+multiblockCasingCount);
return 1;
}
return (short) tempstorageMultiplier;
@@ -136,9 +133,9 @@ extends GregtechMeta_MultiBlockBase {
mPollution = aNBT.getInteger("mPollution");
mRuntime = aNBT.getInteger("mRuntime");
fluidStored = aNBT.getLong("mFluidStored");
- storageMultiplier = aNBT.getShort("mStorageMultiplier");
+ storageMultiplier = aNBT.getInteger("mStorageMultiplier");
maximumFluidStorage = aNBT.getLong("mMaxFluidStored");
- multiblockCasingCount = aNBT.getShort("mCasingCount");
+ multiblockCasingCount = aNBT.getInteger("mCasingCount");
mOutputItems = new ItemStack[getAmountOfOutputs()];
for (int i = 0; i < mOutputItems.length; i++) mOutputItems[i] = GT_Utility.loadItem(aNBT, "mOutputItem" + i);
mOutputFluids = new FluidStack[getAmountOfOutputs()];
@@ -401,7 +398,7 @@ extends GregtechMeta_MultiBlockBase {
}
}
}
- multiblockCasingCount = (short) tAmount;
+ multiblockCasingCount = tAmount;
Utils.LOG_INFO("Your Multitank can be 20 blocks tall.");
Utils.LOG_INFO("Casings Count: "+tAmount+" Valid Multiblock: "+(tAmount >= 16)+" Tank Storage Capacity:"+getMaximumTankStorage()+"L");
return tAmount >= 16;
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java
index ff539ee1cf..6f00eeeda5 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java
@@ -5,6 +5,7 @@ import gregtech.api.enums.*;
import gregtech.api.metatileentity.implementations.GT_MetaPipeEntity_Fluid;
import gregtech.api.util.GT_OreDictUnificator;
import gtPlusPlus.core.item.ModItems;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.material.*;
import gtPlusPlus.core.util.Utils;
@@ -35,7 +36,8 @@ public class GregtechConduits {
{
if (Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Custom Cables/Wires/Pipes.");
- run1();
+ if (CORE.configSwitches.enableCustom_Cables) run1();
+ if (CORE.configSwitches.enableCustom_Pipes) run2();
}
}
@@ -54,6 +56,12 @@ public class GregtechConduits {
if (LoadedMods.Thaumcraft){
superConductorFactory(GT_Materials.Void, 512, 30661, 0, 0, 8);}
+
+
+
+ }
+
+ private static void run2(){
generateNonGTFluidPipes(GT_Materials.Staballoy, ALLOY.STABALLOY, BasePipeID, 6250, 7500, true);
generateNonGTFluidPipes(GT_Materials.Tantalloy60, ALLOY.TANTALLOY_60, BasePipeID+5, 5000, 4250, true);
generateNonGTFluidPipes(GT_Materials.Tantalloy61, ALLOY.TANTALLOY_61, BasePipeID+10, 6000, 5800, true);
@@ -66,8 +74,7 @@ public class GregtechConduits {
generateNonGTFluidPipes(GT_Materials.Inconel690, ALLOY.INCONEL_690, BasePipeID+40, 7500, 4800, true);
generateNonGTFluidPipes(GT_Materials.Inconel792, ALLOY.INCONEL_792, BasePipeID+45, 8000, 5500, true);
generateNonGTFluidPipes(GT_Materials.HastelloyX, ALLOY.HASTELLOY_X, BasePipeID+50, 10000, 4200, true);
-
- }
+ }
private static void wireFactory(String Material, int Voltage, int ID, long insulatedLoss, long uninsulatedLoss, long Amps){
Materials T = Materials.valueOf(Material);
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechDehydrator.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechDehydrator.java
index 33dfb60e3f..8c57d47cf5 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechDehydrator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechDehydrator.java
@@ -13,7 +13,7 @@ public class GregtechDehydrator
{
if (LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Chemical Dehydrators.");
- run1();
+ if (CORE.configSwitches.enableMachine_Dehydrators) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechEnergyBuffer.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechEnergyBuffer.java
index dc4317845f..66b92b90bc 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechEnergyBuffer.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechEnergyBuffer.java
@@ -2,6 +2,7 @@ package gtPlusPlus.xmod.gregtech.registration.gregtech;
import gregtech.api.enums.*;
import gregtech.api.util.GT_ModHandler;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechOreDictNames;
@@ -18,7 +19,7 @@ public class GregtechEnergyBuffer
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Energy Buffer Blocks.");
- run1();
+ if (CORE.configSwitches.enableMachine_RocketEngines) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechGeothermalThermalGenerator.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechGeothermalThermalGenerator.java
index 1b3100d4f4..174136e8f8 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechGeothermalThermalGenerator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechGeothermalThermalGenerator.java
@@ -2,6 +2,7 @@ package gtPlusPlus.xmod.gregtech.registration.gregtech;
import gregtech.api.enums.*;
import gregtech.api.util.GT_ModHandler;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.material.ALLOY;
import gtPlusPlus.core.recipe.RECIPE_CONSTANTS;
@@ -17,7 +18,7 @@ public class GregtechGeothermalThermalGenerator {
{
if (LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Geothermal Engines.");
- run1();
+ if (CORE.configSwitches.enableMachine_GeothermalEngines) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialBlastSmelter.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialBlastSmelter.java
index 0e08c4b135..21d4d2e0e5 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialBlastSmelter.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialBlastSmelter.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_AlloyBlastSmelter;
@@ -9,16 +10,16 @@ public class GregtechIndustrialBlastSmelter{
public static void run()
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
- Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Blast Smelter Multiblock.");
- run1();
+ Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Alloy Blast Smelter Multiblock.");
+ if (CORE.configSwitches.enabledMultiblock_AlloyBlastSmelter) run1();
}
}
private static void run1()
{
- //Industrial Electrolyzer Multiblock
- GregtechItemList.Industrial_AlloyBlastSmelter.set(new GregtechMetaTileEntity_AlloyBlastSmelter(810, "industrialsalloyamelter.controller.tier.single", "Blast Smelter").getStackForm(1L));
+ //Industrial Alloy Blast Smelter Multiblock
+ GregtechItemList.Industrial_AlloyBlastSmelter.set(new GregtechMetaTileEntity_AlloyBlastSmelter(810, "industrialsalloyamelter.controller.tier.single", "Alloy Blast Smelter").getStackForm(1L));
}
} \ No newline at end of file
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCentrifuge.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCentrifuge.java
index 226e0a44e1..ddb099a46e 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCentrifuge.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCentrifuge.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_IndustrialCentrifuge;
@@ -13,7 +14,7 @@ public class GregtechIndustrialCentrifuge
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Centrifuge Multiblock.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_IndustrialCentrifuge) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCokeOven.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCokeOven.java
index fd17cb5a40..d645af7f17 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCokeOven.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialCokeOven.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_IndustrialCokeOven;
@@ -13,7 +14,7 @@ public class GregtechIndustrialCokeOven
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Coke Oven Multiblock.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_IndustrialCokeOven) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialElectrolyzer.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialElectrolyzer.java
index 9282148bb2..3bbd20c873 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialElectrolyzer.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialElectrolyzer.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_IndustrialElectrolyzer;
@@ -13,7 +14,7 @@ public class GregtechIndustrialElectrolyzer
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Electrolyzer Multiblock.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_IndustrialElectrolyzer) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMacerator.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMacerator.java
index aaecc281c6..05fb225e6c 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMacerator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMacerator.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_IndustrialMacerator;
@@ -13,14 +14,14 @@ public class GregtechIndustrialMacerator
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Maceration Stack Multiblock.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_IndustrialMacerationStack) run1();
}
}
private static void run1()
{
- //Industrial Electrolyzer Multiblock
+ //Industrial Maceration Stack Multiblock
GregtechItemList.Industrial_MacerationStack.set(new GregtechMetaTileEntity_IndustrialMacerator(797, "industrialmacerator.controller.tier.single", "Maceration Stack Controller").getStackForm(1L));
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMassFabricator.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMassFabricator.java
index 6093d2b534..2c79a28b67 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMassFabricator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMassFabricator.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_MassFabricator;
@@ -12,15 +13,15 @@ public class GregtechIndustrialMassFabricator
public static void run()
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
- Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Mass Fabricator Multiblock.");
- run1();
+ Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Matter Fabricator Multiblock.");
+ if (CORE.configSwitches.enabledMultiblock_MatterFabricator) run1();
}
}
private static void run1()
{
- //Industrial Electrolyzer Multiblock
+ //Industrial Matter Fabricator Multiblock
GregtechItemList.Industrial_MassFab.set(new GregtechMetaTileEntity_MassFabricator(799, "industrialmassfab.controller.tier.single", "Matter Fabrication CPU").getStackForm(1L));
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMultiTank.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMultiTank.java
index 8477ba2e31..8044a49e2b 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMultiTank.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialMultiTank.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_MultiTank;
@@ -13,7 +14,7 @@ public class GregtechIndustrialMultiTank
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Multitank controller blocks.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_MultiTank) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialPlatePress.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialPlatePress.java
index 4aab06b1d3..015b4416a3 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialPlatePress.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialPlatePress.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_IndustrialPlatePress;
@@ -13,14 +14,14 @@ public class GregtechIndustrialPlatePress
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Press Multiblock.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_IndustrialPlatePress) run1();
}
}
private static void run1()
{
- //Industrial Centrifuge Multiblock
+ //Industrial Presser Multiblock
GregtechItemList.Industrial_PlatePress.set(new GregtechMetaTileEntity_IndustrialPlatePress(792, "industrialbender.controller.tier.single", "Industrial Material Press").getStackForm(1L));
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialWiremill.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialWiremill.java
index 15339bd2e3..f6633ad96d 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialWiremill.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialWiremill.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_IndustrialWireMill;
@@ -13,14 +14,14 @@ public class GregtechIndustrialWiremill
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Wire Factory Multiblock.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_IndustrialWireMill) run1();
}
}
private static void run1()
{
- //Industrial Electrolyzer Multiblock
+ //Industrial Wire Factory Multiblock
GregtechItemList.Industrial_WireFactory.set(new GregtechMetaTileEntity_IndustrialWireMill(798, "industrialwiremill.controller.tier.single", "Wire Factory Controller").getStackForm(1L));
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIronBlastFurnace.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIronBlastFurnace.java
index 9f08fed763..5c126a0721 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIronBlastFurnace.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIronBlastFurnace.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_IronBlastFurnace;
@@ -13,7 +14,7 @@ public class GregtechIronBlastFurnace
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Iron Blast Furnace.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_IronBlastFurnace) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLFTR.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLFTR.java
index 77d03f6fef..a05354a0e8 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLFTR.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLFTR.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMTE_NuclearReactor;
@@ -13,7 +14,7 @@ public class GregtechLFTR
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Liquid Fluorine Thorium Reactor [LFTR].");
- run1();
+ if (CORE.configSwitches.enableMultiblock_LiquidFluorideThoriumReactor) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPowerSubStation.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPowerSubStation.java
index c38c7eb21d..8fb6fab119 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPowerSubStation.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPowerSubStation.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntity_PowerSubStationController;
@@ -13,7 +14,7 @@ public class GregtechPowerSubStation
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Power Substation Node.");
- run1();
+ if (CORE.configSwitches.enabledMultiblock_PowerSubstation) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRocketFuelGenerator.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRocketFuelGenerator.java
index 94f5888847..3cf11ac0b0 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRocketFuelGenerator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRocketFuelGenerator.java
@@ -2,6 +2,7 @@ package gtPlusPlus.xmod.gregtech.registration.gregtech;
import gregtech.api.enums.*;
import gregtech.api.util.GT_ModHandler;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.material.ALLOY;
import gtPlusPlus.core.recipe.RECIPE_CONSTANTS;
@@ -17,7 +18,7 @@ public class GregtechRocketFuelGenerator {
{
if (LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Industrial Rocket Engines.");
- run1();
+ if (CORE.configSwitches.enableMachine_RocketEngines) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSafeBlock.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSafeBlock.java
index 09f8e1b161..a5416a6454 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSafeBlock.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSafeBlock.java
@@ -2,6 +2,7 @@ package gtPlusPlus.xmod.gregtech.registration.gregtech;
import gregtech.api.enums.*;
import gregtech.api.util.GT_ModHandler;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GregtechMetaSafeBlock;
@@ -12,7 +13,7 @@ public class GregtechSafeBlock
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Lockable Safe Blocks.");
- run1();
+ if (CORE.configSwitches.enableMachine_Safes) run1();
}
}
@@ -31,6 +32,7 @@ public class GregtechSafeBlock
GregtechItemList.GT_Safe_UV.set(new GregtechMetaSafeBlock(788, "protection.playersafe.tier.08", "Ultimate Voltage Player Safe", 8).getStackForm(1L));
GregtechItemList.GT_Safe_MAX.set(new GregtechMetaSafeBlock(789, "protection.playersafe.tier.09", "MAX Voltage Player Safe", 9).getStackForm(1L));
+ //To-Do Change Recipes
GT_ModHandler.addCraftingRecipe(GregtechItemList.GT_Safe_ULV.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CMV", " X ", Character.valueOf('M'), ItemList.Hull_ULV, Character.valueOf('V'), ItemList.Circuit_Basic, Character.valueOf('C'), OreDictNames.craftingChest, Character.valueOf('X'), OrePrefixes.circuit.get(Materials.Basic)});
GT_ModHandler.addCraftingRecipe(GregtechItemList.GT_Safe_LV.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CMV", " X ", Character.valueOf('M'), ItemList.Hull_LV, Character.valueOf('V'), ItemList.Circuit_Basic, Character.valueOf('C'), OreDictNames.craftingChest, Character.valueOf('X'), OrePrefixes.circuit.get(Materials.Basic)});
GT_ModHandler.addCraftingRecipe(GregtechItemList.GT_Safe_MV.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CMV", " X ", Character.valueOf('M'), ItemList.Hull_MV, Character.valueOf('V'), ItemList.Circuit_Good, Character.valueOf('C'), OreDictNames.craftingChest, Character.valueOf('X'), OrePrefixes.circuit.get(Materials.Basic)});
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSolarGenerators.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSolarGenerators.java
index d3d6ea4c1d..f9964bb606 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSolarGenerators.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSolarGenerators.java
@@ -1,7 +1,7 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.*;
import gtPlusPlus.core.lib.CORE.configSwitches;
-import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.tileentities.generators.GregtechMetaTileEntitySolarGenerator;
@@ -12,7 +12,7 @@ public class GregtechSolarGenerators
{
if (LoadedMods.Gregtech && configSwitches.enableMachine_SolarGenerators){
Utils.LOG_INFO("Gregtech5u Content | Registering Solar Generator Blocks.");
- run1();
+ if (CORE.configSwitches.enableMachine_SolarGenerators) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamCondenser.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamCondenser.java
index a3b92daea0..33da5688af 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamCondenser.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamCondenser.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GregtechMetaCondensor;
@@ -13,7 +14,7 @@ public class GregtechSteamCondenser
{
if (gtPlusPlus.core.lib.LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Steam Condensor.");
- run1();
+ if (CORE.configSwitches.enableMachine_SteamConverter) run1();
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechTieredFluidTanks.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechTieredFluidTanks.java
index d18e12a519..51f0d81949 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechTieredFluidTanks.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechTieredFluidTanks.java
@@ -1,5 +1,6 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
@@ -11,7 +12,7 @@ public class GregtechTieredFluidTanks
{
if (LoadedMods.Gregtech){
Utils.LOG_INFO("Gregtech5u Content | Registering Portable Fluid Tanks.");
- run1();
+ if (CORE.configSwitches.enableMachine_FluidTanks) run1();
}
}