aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/enums
diff options
context:
space:
mode:
authorJason Mitchell <mitchej@gmail.com>2023-01-30 10:56:42 -0800
committerJason Mitchell <mitchej@gmail.com>2023-01-30 10:56:42 -0800
commit0d9aab72aa570f13dc3e32e0d32b3f3a95f95e0a (patch)
tree1e2c649f3a6ce3f6b2babd0098a5f4819e9cd0b6 /src/main/java/gregtech/api/enums
parentf8cc82edeb9810c45cba762d733a2c909a302faa (diff)
downloadGT5-Unofficial-0d9aab72aa570f13dc3e32e0d32b3f3a95f95e0a.tar.gz
GT5-Unofficial-0d9aab72aa570f13dc3e32e0d32b3f3a95f95e0a.tar.bz2
GT5-Unofficial-0d9aab72aa570f13dc3e32e0d32b3f3a95f95e0a.zip
[ci skip] spotlessApply with the new settings
Diffstat (limited to 'src/main/java/gregtech/api/enums')
-rw-r--r--src/main/java/gregtech/api/enums/ConfigCategories.java4
-rw-r--r--src/main/java/gregtech/api/enums/Dyes.java31
-rw-r--r--src/main/java/gregtech/api/enums/Element.java13
-rw-r--r--src/main/java/gregtech/api/enums/FluidState.java6
-rw-r--r--src/main/java/gregtech/api/enums/GT_HatchElement.java29
-rw-r--r--src/main/java/gregtech/api/enums/GT_Values.java406
-rw-r--r--src/main/java/gregtech/api/enums/HeatingCoilLevel.java33
-rw-r--r--src/main/java/gregtech/api/enums/ItemList.java219
-rw-r--r--src/main/java/gregtech/api/enums/MaterialBuilder.java58
-rw-r--r--src/main/java/gregtech/api/enums/Materials.java685
-rw-r--r--src/main/java/gregtech/api/enums/MaterialsBotania.java119
-rw-r--r--src/main/java/gregtech/api/enums/MaterialsKevlar.java555
-rw-r--r--src/main/java/gregtech/api/enums/MaterialsOreAlum.java72
-rw-r--r--src/main/java/gregtech/api/enums/OrePrefixes.java4177
-rw-r--r--src/main/java/gregtech/api/enums/ParticleFX.java1
-rw-r--r--src/main/java/gregtech/api/enums/SoundResource.java19
-rw-r--r--src/main/java/gregtech/api/enums/SteamVariant.java1
-rw-r--r--src/main/java/gregtech/api/enums/SubTag.java83
-rw-r--r--src/main/java/gregtech/api/enums/TC_Aspects.java24
-rw-r--r--src/main/java/gregtech/api/enums/TextureSet.java352
-rw-r--r--src/main/java/gregtech/api/enums/Textures.java1099
-rw-r--r--src/main/java/gregtech/api/enums/Tier.java891
-rw-r--r--src/main/java/gregtech/api/enums/TierEU.java2
-rw-r--r--src/main/java/gregtech/api/enums/ToolDictNames.java1
24 files changed, 2520 insertions, 6360 deletions
diff --git a/src/main/java/gregtech/api/enums/ConfigCategories.java b/src/main/java/gregtech/api/enums/ConfigCategories.java
index ae4b425e5e..e4a647db22 100644
--- a/src/main/java/gregtech/api/enums/ConfigCategories.java
+++ b/src/main/java/gregtech/api/enums/ConfigCategories.java
@@ -1,6 +1,7 @@
package gregtech.api.enums;
public enum ConfigCategories {
+
news,
general,
machineconfig,
@@ -15,8 +16,7 @@ public enum ConfigCategories {
heatdamage,
oreprocessingoutputmultiplier,
blastfurnacerequirements,
- blastinductionsmelter,
- ;
+ blastinductionsmelter,;
}
public enum Recipes {
diff --git a/src/main/java/gregtech/api/enums/Dyes.java b/src/main/java/gregtech/api/enums/Dyes.java
index 2a546e6138..a0b9f87593 100644
--- a/src/main/java/gregtech/api/enums/Dyes.java
+++ b/src/main/java/gregtech/api/enums/Dyes.java
@@ -1,13 +1,16 @@
package gregtech.api.enums;
-import gregtech.api.interfaces.IColorModulationContainer;
-import gregtech.api.objects.GT_ArrayList;
-import gregtech.api.util.GT_Utility;
import java.util.ArrayList;
+
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;
+import gregtech.api.interfaces.IColorModulationContainer;
+import gregtech.api.objects.GT_ArrayList;
+import gregtech.api.util.GT_Utility;
+
public enum Dyes implements IColorModulationContainer {
+
/**
* The valid Colors, see VALUES Array below
*/
@@ -38,24 +41,8 @@ public enum Dyes implements IColorModulationContainer {
CONSTRUCTION_FOAM(-1, 64, 64, 64, "Construction Foam"),
MACHINE_METAL(-1, 210, 220, 255, "Machine Metal");
- public static final Dyes[] VALUES = {
- dyeBlack,
- dyeRed,
- dyeGreen,
- dyeBrown,
- dyeBlue,
- dyePurple,
- dyeCyan,
- dyeLightGray,
- dyeGray,
- dyePink,
- dyeLime,
- dyeYellow,
- dyeLightBlue,
- dyeMagenta,
- dyeOrange,
- dyeWhite
- };
+ public static final Dyes[] VALUES = { dyeBlack, dyeRed, dyeGreen, dyeBrown, dyeBlue, dyePurple, dyeCyan,
+ dyeLightGray, dyeGray, dyePink, dyeLime, dyeYellow, dyeLightBlue, dyeMagenta, dyeOrange, dyeWhite };
public final byte mIndex;
public final String mName;
@@ -66,7 +53,7 @@ public enum Dyes implements IColorModulationContainer {
Dyes(int aIndex, int aR, int aG, int aB, String aName) {
mIndex = (byte) aIndex;
mName = aName;
- mRGBa = new short[] {(short) aR, (short) aG, (short) aB, 0};
+ mRGBa = new short[] { (short) aR, (short) aG, (short) aB, 0 };
mOriginalRGBa = mRGBa.clone();
}
diff --git a/src/main/java/gregtech/api/enums/Element.java b/src/main/java/gregtech/api/enums/Element.java
index 450a85d3d6..c66b9630a3 100644
--- a/src/main/java/gregtech/api/enums/Element.java
+++ b/src/main/java/gregtech/api/enums/Element.java
@@ -8,6 +8,7 @@ import java.util.Map;
* This is some kind of Periodic Table, which I use to determine Properties of the Materials.
*/
public enum Element {
+
_NULL(0, 0, 0, -1, null, "", false),
H(1, 0, 0, -1, null, "Hydrogen", false),
D(1, 1, 0, -1, "H", "Deuterium", true),
@@ -288,18 +289,13 @@ public enum Element {
/**
* @param aProtons Amount of Protons. Antiprotons if negative.
- * @param aNeutrons Amount of Neutrons. Antineutrons if negative. (I could have made mistakes with the Neutron amount calculation, please tell me if I did something wrong)
+ * @param aNeutrons Amount of Neutrons. Antineutrons if negative. (I could have made mistakes with the
+ * Neutron amount calculation, please tell me if I did something wrong)
* @param aHalfLifeSeconds Amount of Half Life this Material has in Seconds. -1 for stable Materials.
* @param aDecayTo String representing the Elements it decays to. Separated by an '&' Character.
* @param aName Name of the Element
*/
- Element(
- long aProtons,
- long aNeutrons,
- long aAdditionalMass,
- long aHalfLifeSeconds,
- String aDecayTo,
- String aName,
+ Element(long aProtons, long aNeutrons, long aAdditionalMass, long aHalfLifeSeconds, String aDecayTo, String aName,
boolean aIsIsotope) {
mProtons = aProtons;
mNeutrons = aNeutrons;
@@ -331,6 +327,7 @@ public enum Element {
* A companion object to workaround java limitations
*/
private static final class Companion {
+
/**
* Why is this a separate map and populated by enum constructor instead of a Map prepoluated with values()?
* Because apparently there are people hacking into this enum via EnumHelper.
diff --git a/src/main/java/gregtech/api/enums/FluidState.java b/src/main/java/gregtech/api/enums/FluidState.java
index a6e81ab43d..e84657cc6a 100644
--- a/src/main/java/gregtech/api/enums/FluidState.java
+++ b/src/main/java/gregtech/api/enums/FluidState.java
@@ -1,17 +1,17 @@
package gregtech.api.enums;
public enum FluidState {
+
GAS,
LIQUID,
MOLTEN,
PLASMA,
SLURRY;
- public static final FluidState[] VALID_STATES = new FluidState[] {SLURRY, LIQUID, GAS, PLASMA, MOLTEN};
+ public static final FluidState[] VALID_STATES = new FluidState[] { SLURRY, LIQUID, GAS, PLASMA, MOLTEN };
public static FluidState fromValue(int stateValue) {
- return stateValue >= 0 && stateValue < FluidState.VALID_STATES.length
- ? FluidState.VALID_STATES[stateValue]
+ return stateValue >= 0 && stateValue < FluidState.VALID_STATES.length ? FluidState.VALID_STATES[stateValue]
: FluidState.LIQUID;
}
}
diff --git a/src/main/java/gregtech/api/enums/GT_HatchElement.java b/src/main/java/gregtech/api/enums/GT_HatchElement.java
index 68702f5eb5..8d8603a10e 100644
--- a/src/main/java/gregtech/api/enums/GT_HatchElement.java
+++ b/src/main/java/gregtech/api/enums/GT_HatchElement.java
@@ -1,5 +1,9 @@
package gregtech.api.enums;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
import gregtech.api.interfaces.IHatchElement;
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Dynamo;
@@ -13,61 +17,68 @@ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Outpu
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_MultiBlockBase;
import gregtech.api.util.GT_ExoticEnergyInputHelper;
import gregtech.api.util.IGT_HatchAdder;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
public enum GT_HatchElement implements IHatchElement<GT_MetaTileEntity_MultiBlockBase> {
+
Muffler(GT_MetaTileEntity_MultiBlockBase::addMufflerToMachineList, GT_MetaTileEntity_Hatch_Muffler.class) {
+
@Override
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.mMufflerHatches.size();
}
},
- Maintenance(
- GT_MetaTileEntity_MultiBlockBase::addMaintenanceToMachineList, GT_MetaTileEntity_Hatch_Maintenance.class) {
+ Maintenance(GT_MetaTileEntity_MultiBlockBase::addMaintenanceToMachineList,
+ GT_MetaTileEntity_Hatch_Maintenance.class) {
+
@Override
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.mMaintenanceHatches.size();
}
},
InputHatch(GT_MetaTileEntity_MultiBlockBase::addInputHatchToMachineList, GT_MetaTileEntity_Hatch_Input.class) {
+
@Override
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.mInputHatches.size();
}
},
InputBus(GT_MetaTileEntity_MultiBlockBase::addInputBusToMachineList, GT_MetaTileEntity_Hatch_InputBus.class) {
+
@Override
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.mInputBusses.size();
}
},
OutputHatch(GT_MetaTileEntity_MultiBlockBase::addOutputHatchToMachineList, GT_MetaTileEntity_Hatch_Output.class) {
+
@Override
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.mOutputHatches.size();
}
},
OutputBus(GT_MetaTileEntity_MultiBlockBase::addOutputBusToMachineList, GT_MetaTileEntity_Hatch_OutputBus.class) {
+
@Override
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.mOutputBusses.size();
}
},
Energy(GT_MetaTileEntity_MultiBlockBase::addEnergyInputToMachineList, GT_MetaTileEntity_Hatch_Energy.class) {
+
@Override
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.mEnergyHatches.size();
}
},
Dynamo(GT_MetaTileEntity_MultiBlockBase::addDynamoToMachineList, GT_MetaTileEntity_Hatch_Dynamo.class) {
+
@Override
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.mDynamoHatches.size();
}
},
ExoticEnergy(GT_MetaTileEntity_MultiBlockBase::addExoticEnergyInputToMachineList) {
+
@Override
public List<? extends Class<? extends IMetaTileEntity>> mteClasses() {
return GT_ExoticEnergyInputHelper.getAllClasses();
@@ -77,14 +88,14 @@ public enum GT_HatchElement implements IHatchElement<GT_MetaTileEntity_MultiBloc
public long count(GT_MetaTileEntity_MultiBlockBase t) {
return t.getExoticEnergyHatches().size();
}
- },
- ;
+ },;
+
private final List<Class<? extends IMetaTileEntity>> mteClasses;
private final IGT_HatchAdder<GT_MetaTileEntity_MultiBlockBase> adder;
@SafeVarargs
- GT_HatchElement(
- IGT_HatchAdder<GT_MetaTileEntity_MultiBlockBase> adder, Class<? extends IMetaTileEntity>... mteClasses) {
+ GT_HatchElement(IGT_HatchAdder<GT_MetaTileEntity_MultiBlockBase> adder,
+ Class<? extends IMetaTileEntity>... mteClasses) {
this.mteClasses = Collections.unmodifiableList(Arrays.asList(mteClasses));
this.adder = adder;
}
diff --git a/src/main/java/gregtech/api/enums/GT_Values.java b/src/main/java/gregtech/api/enums/GT_Values.java
index 8cadd17246..ef921a0339 100644
--- a/src/main/java/gregtech/api/enums/GT_Values.java
+++ b/src/main/java/gregtech/api/enums/GT_Values.java
@@ -1,12 +1,8 @@
package gregtech.api.enums;
-import gregtech.api.fluid.FluidTankGT;
-import gregtech.api.interfaces.IIconContainer;
-import gregtech.api.interfaces.internal.IGT_Mod;
-import gregtech.api.interfaces.internal.IGT_RecipeAdder;
-import gregtech.api.net.IGT_NetworkHandler;
import java.math.BigInteger;
import java.util.*;
+
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.world.World;
@@ -15,12 +11,20 @@ import net.minecraftforge.fluids.FluidTankInfo;
import net.minecraftforge.fluids.IFluidTank;
import net.minecraftforge.oredict.OreDictionary;
+import gregtech.api.fluid.FluidTankGT;
+import gregtech.api.interfaces.IIconContainer;
+import gregtech.api.interfaces.internal.IGT_Mod;
+import gregtech.api.interfaces.internal.IGT_RecipeAdder;
+import gregtech.api.net.IGT_NetworkHandler;
+
/**
* Made for static imports, this Class is just a Helper.
* <p/>
- * I am doing this to have a better Table alike view on my Code, so I can change things faster using the Block Selection Mode of eclipse.
+ * I am doing this to have a better Table alike view on my Code, so I can change things faster using the Block Selection
+ * Mode of eclipse.
* <p/>
- * Go to "Window > Preferences > Java > Editor > Content Assist > Favorites" to set static importable Constant Classes such as this one as AutoCompleteable.
+ * Go to "Window > Preferences > Java > Editor > Content Assist > Favorites" to set static importable Constant Classes
+ * such as this one as AutoCompleteable.
*/
@SuppressWarnings("unused") // API Legitimately has unused fields and methods
public class GT_Values {
@@ -39,31 +43,19 @@ public class GT_Values {
* The first 32 Bits
*/
@SuppressWarnings("PointlessBitwiseExpression") // Nicer source layout this way
- public static final int[] B = new int[] {
- 1 << 0, 1 << 1, 1 << 2,
- 1 << 3, 1 << 4, 1 << 5,
- 1 << 6, 1 << 7, 1 << 8,
- 1 << 9, 1 << 10, 1 << 11,
- 1 << 12, 1 << 13, 1 << 14,
- 1 << 15, 1 << 16, 1 << 17,
- 1 << 18, 1 << 19, 1 << 20,
- 1 << 21, 1 << 22, 1 << 23,
- 1 << 24, 1 << 25, 1 << 26,
- 1 << 27, 1 << 28, 1 << 29,
- 1 << 30, 1 << 31
- };
+ public static final int[] B = new int[] { 1 << 0, 1 << 1, 1 << 2, 1 << 3, 1 << 4, 1 << 5, 1 << 6, 1 << 7, 1 << 8,
+ 1 << 9, 1 << 10, 1 << 11, 1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, 1 << 17, 1 << 18, 1 << 19, 1 << 20,
+ 1 << 21, 1 << 22, 1 << 23, 1 << 24, 1 << 25, 1 << 26, 1 << 27, 1 << 28, 1 << 29, 1 << 30, 1 << 31 };
/**
* Renamed from "MATERIAL_UNIT" to just "M"
* <p/>
- * This is worth exactly one normal Item.
- * This Constant can be divided by many commonly used Numbers such as
- * 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, ... 64 or 81
- * without losing precision and is for that reason used as Unit of Amount.
- * But it is also small enough to be multiplied with larger Numbers.
+ * This is worth exactly one normal Item. This Constant can be divided by many commonly used Numbers such as 1, 2,
+ * 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, ... 64 or 81 without losing precision and is for that
+ * reason used as Unit of Amount. But it is also small enough to be multiplied with larger Numbers.
* <p/>
- * This is used to determine the amount of Material contained inside a prefixed Ore.
- * For example Nugget = M / 9 as it contains out of 1/9 of an Ingot.
+ * This is used to determine the amount of Material contained inside a prefixed Ore. For example Nugget = M / 9 as
+ * it contains out of 1/9 of an Ingot.
*/
public static final long M = 3628800;
@@ -82,26 +74,18 @@ public class GT_Values {
/**
* The Voltage Tiers. Use this Array instead of the old named Voltage Variables
*/
- public static final long[] V = new long[] {
- 8L, 32L, 128L,
- 512L, 2048L, 8192L,
- 32_768L, 131_072L, 524_288L,
- 2_097_152L, 8_388_608L, 33_554_432L,
- 134_217_728L, 536_870_912L, Integer.MAX_VALUE - 7,
- // Error tier to prevent out of bounds errors. Not really a real tier (for now).
- 8_589_934_592L
- };
+ public static final long[] V = new long[] { 8L, 32L, 128L, 512L, 2048L, 8192L, 32_768L, 131_072L, 524_288L,
+ 2_097_152L, 8_388_608L, 33_554_432L, 134_217_728L, 536_870_912L, Integer.MAX_VALUE - 7,
+ // Error tier to prevent out of bounds errors. Not really a real tier (for now).
+ 8_589_934_592L };
/**
- * The Voltage Practical. These are recipe voltage you should use if you expect the recipe to use a full amp of
- * that tier. These leave a bit of headroom for cable and transformer losses, but not enough to make it a great gain.
+ * The Voltage Practical. These are recipe voltage you should use if you expect the recipe to use a full amp of that
+ * tier. These leave a bit of headroom for cable and transformer losses, but not enough to make it a great gain.
*/
// this will correctly map ULV to 7.
- public static final long[] VP = Arrays.stream(V)
- .map(i -> BigInteger.valueOf(i)
- .multiply(BigInteger.valueOf(30))
- .divide(BigInteger.valueOf(32))
- .longValueExact())
+ public static final long[] VP = Arrays.stream(V).map(
+ i -> BigInteger.valueOf(i).multiply(BigInteger.valueOf(30)).divide(BigInteger.valueOf(32)).longValueExact())
.toArray();
// Why -7? Mystery of the universe. Something may break if you change this so please do not without extensive
// testing.
@@ -109,7 +93,7 @@ public class GT_Values {
// TODO:tier 14,15 wires and transformers only (not even cables !!!)
// TODO:tier 12,13 the above + batteries, battery buffers, (maybe cables,12 also works for machines)
// TODO:tier 10,11 the above + chargers and other machines, (cables would be nice)
- // TODO:tier 9 machines and batteries
+ // TODO:tier 9 machines and batteries
// TODO:AND ALL THE MATERIALS... for that
// TODO:LIST OF MACHINES WITH POINTLESS TIERS (unless you implement some other tiering mechanism like reducing eu
@@ -118,140 +102,110 @@ public class GT_Values {
/**
* Array of Maximum Amperes at given Tier index
- * <p>keeping Voltage*Amps < Integer.MAX_VALUE-7 for machines (and tier logic 4x EUt 2/ time)</p>
- * <p>AMV[4]= max amps at tier 4</p>
- */
- public static final long[] AatV = new long[] {
- 268435455, 67108863, 16777215,
- 4194303, 1048575, 262143,
- 65535, 16383, 4095,
- 1023, 255, 63,
- 15, 3, 1,
- 1
- };
+ * <p>
+ * keeping Voltage*Amps < Integer.MAX_VALUE-7 for machines (and tier logic 4x EUt 2/ time)
+ * </p>
+ * <p>
+ * AMV[4]= max amps at tier 4
+ * </p>
+ */
+ public static final long[] AatV = new long[] { 268435455, 67108863, 16777215, 4194303, 1048575, 262143, 65535,
+ 16383, 4095, 1023, 255, 63, 15, 3, 1, 1 };
/**
* The short Names for the Voltages
*/
- public static final String[] VN = new String[] {
- "ULV", // 0
- "LV", // 1
- "MV", // 2
- "HV", // 3
- "EV", // 4
- "IV", // 5
- "LuV", // 6
- "ZPM", // 7
- "UV", // 8
- "UHV", // 9
- "UEV", // 10
- "UIV", // 11
- "UMV", // 12
- "UXV", // 13
- "MAX", // 14
- "ERROR VOLTAGE" // 15
+ public static final String[] VN = new String[] { "ULV", // 0
+ "LV", // 1
+ "MV", // 2
+ "HV", // 3
+ "EV", // 4
+ "IV", // 5
+ "LuV", // 6
+ "ZPM", // 7
+ "UV", // 8
+ "UHV", // 9
+ "UEV", // 10
+ "UIV", // 11
+ "UMV", // 12
+ "UXV", // 13
+ "MAX", // 14
+ "ERROR VOLTAGE" // 15
};
/**
* The long Names for the Voltages
*/
- public static final String[] VOLTAGE_NAMES = new String[] {
- "Ultra Low Voltage", // 0
- "Low Voltage", // 1
- "Medium Voltage", // 2
- "High Voltage", // 3
- "Extreme Voltage", // 4
- "Insane Voltage", // 5
- "Ludicrous Voltage", // 6
- "ZPM Voltage", // 7
- "Ultimate Voltage", // 8
- "Ultimate High Voltage", // 9
- "Ultimate Extreme Voltage", // 10
- "Ultimate Insane Voltage", // 11
- "Ultimate Mega Voltage", // 12
- "Ultimate Extended Mega Voltage", // 13
- "Maximum Voltage", // 14
- "Error Voltage, report this" // 15
+ public static final String[] VOLTAGE_NAMES = new String[] { "Ultra Low Voltage", // 0
+ "Low Voltage", // 1
+ "Medium Voltage", // 2
+ "High Voltage", // 3
+ "Extreme Voltage", // 4
+ "Insane Voltage", // 5
+ "Ludicrous Voltage", // 6
+ "ZPM Voltage", // 7
+ "Ultimate Voltage", // 8
+ "Ultimate High Voltage", // 9
+ "Ultimate Extreme Voltage", // 10
+ "Ultimate Insane Voltage", // 11
+ "Ultimate Mega Voltage", // 12
+ "Ultimate Extended Mega Voltage", // 13
+ "Maximum Voltage", // 14
+ "Error Voltage, report this" // 15
};
- public static final String[] TIER_COLORS = new String[] {
- EnumChatFormatting.RED.toString(), // ULV, 0
- EnumChatFormatting.GRAY.toString(), // LV, 1
- EnumChatFormatting.GOLD.toString(), // MV, 2
- EnumChatFormatting.YELLOW.toString(), // HV, 3
- EnumChatFormatting.DARK_GRAY.toString(), // EV, 4
- EnumChatFormatting.GREEN.toString(), // IV, 5
- EnumChatFormatting.LIGHT_PURPLE.toString(), // LuV, 6
- EnumChatFormatting.AQUA.toString(), // ZPM, 7
- EnumChatFormatting.DARK_GREEN.toString(), // UV, 8
- EnumChatFormatting.DARK_RED.toString(), // UHV, 9
- EnumChatFormatting.DARK_PURPLE.toString(), // UEV, 10
- EnumChatFormatting.DARK_BLUE.toString() + EnumChatFormatting.BOLD.toString(), // UIV, 11
- EnumChatFormatting.RED.toString()
- + EnumChatFormatting.BOLD.toString()
- + EnumChatFormatting.UNDERLINE.toString(), // UMV, 12
- EnumChatFormatting.DARK_RED.toString()
- + EnumChatFormatting.BOLD.toString()
- + EnumChatFormatting.UNDERLINE.toString(), // UXV, 13
- EnumChatFormatting.WHITE.toString()
- + EnumChatFormatting.BOLD.toString()
- + EnumChatFormatting.UNDERLINE.toString(), // MAX, 14
- EnumChatFormatting.OBFUSCATED.toString() // ~~~, 15
+ public static final String[] TIER_COLORS = new String[] { EnumChatFormatting.RED.toString(), // ULV, 0
+ EnumChatFormatting.GRAY.toString(), // LV, 1
+ EnumChatFormatting.GOLD.toString(), // MV, 2
+ EnumChatFormatting.YELLOW.toString(), // HV, 3
+ EnumChatFormatting.DARK_GRAY.toString(), // EV, 4
+ EnumChatFormatting.GREEN.toString(), // IV, 5
+ EnumChatFormatting.LIGHT_PURPLE.toString(), // LuV, 6
+ EnumChatFormatting.AQUA.toString(), // ZPM, 7
+ EnumChatFormatting.DARK_GREEN.toString(), // UV, 8
+ EnumChatFormatting.DARK_RED.toString(), // UHV, 9
+ EnumChatFormatting.DARK_PURPLE.toString(), // UEV, 10
+ EnumChatFormatting.DARK_BLUE.toString() + EnumChatFormatting.BOLD.toString(), // UIV, 11
+ EnumChatFormatting.RED.toString() + EnumChatFormatting.BOLD.toString()
+ + EnumChatFormatting.UNDERLINE.toString(), // UMV, 12
+ EnumChatFormatting.DARK_RED.toString() + EnumChatFormatting.BOLD.toString()
+ + EnumChatFormatting.UNDERLINE.toString(), // UXV, 13
+ EnumChatFormatting.WHITE.toString() + EnumChatFormatting.BOLD.toString()
+ + EnumChatFormatting.UNDERLINE.toString(), // MAX, 14
+ EnumChatFormatting.OBFUSCATED.toString() // ~~~, 15
};
/**
- * This way it is possible to have a Call Hierarchy of NullPointers in ItemStack based Functions, and also because most of the time I don't know what kind of Data Type the "null" stands for
+ * This way it is possible to have a Call Hierarchy of NullPointers in ItemStack based Functions, and also because
+ * most of the time I don't know what kind of Data Type the "null" stands for
*/
public static final ItemStack NI = null;
/**
- * This way it is possible to have a Call Hierarchy of NullPointers in FluidStack based Functions, and also because most of the time I don't know what kind of Data Type the "null" stands for
+ * This way it is possible to have a Call Hierarchy of NullPointers in FluidStack based Functions, and also because
+ * most of the time I don't know what kind of Data Type the "null" stands for
*/
public static final FluidStack NF = null;
/**
* MOD ID Strings, since they are very common Parameters.
*/
- public static final String MOD_ID = "gregtech",
- MOD_ID_IC2 = "IC2",
- MOD_ID_NC = "IC2NuclearControl",
- MOD_ID_TC = "Thaumcraft",
- MOD_ID_TF = "TwilightForest",
- MOD_ID_RC = "Railcraft",
- MOD_ID_TE = "ThermalExpansion",
- MOD_ID_AE = "appliedenergistics2",
- MOD_ID_TFC = "terrafirmacraft",
- MOD_ID_PFAA = "PFAAGeologica",
- MOD_ID_FR = "Forestry",
- MOD_ID_HaC = "harvestcraft",
- MOD_ID_APC = "AppleCore",
- MOD_ID_MaCr = "magicalcrops",
- MOD_ID_GaEn = "ganysend",
- MOD_ID_GaSu = "ganyssurface",
- MOD_ID_GaNe = "ganysnether",
- MOD_ID_BC_SILICON = "BuildCraft|Silicon",
- MOD_ID_BC_TRANSPORT = "BuildCraft|Transport",
- MOD_ID_BC_FACTORY = "BuildCraft|Factory",
- MOD_ID_BC_ENERGY = "BuildCraft|Energy",
- MOD_ID_BC_BUILDERS = "BuildCraft|Builders",
- MOD_ID_BC_CORE = "BuildCraft|Core",
- MOD_ID_GC_CORE = "GalacticraftCore",
- MOD_ID_GC_MARS = "GalacticraftMars",
- MOD_ID_GC_PLANETS = "GalacticraftPlanets",
- MOD_ID_DC = "dreamcraft",
+ public static final String MOD_ID = "gregtech", MOD_ID_IC2 = "IC2", MOD_ID_NC = "IC2NuclearControl",
+ MOD_ID_TC = "Thaumcraft", MOD_ID_TF = "TwilightForest", MOD_ID_RC = "Railcraft",
+ MOD_ID_TE = "ThermalExpansion", MOD_ID_AE = "appliedenergistics2", MOD_ID_TFC = "terrafirmacraft",
+ MOD_ID_PFAA = "PFAAGeologica", MOD_ID_FR = "Forestry", MOD_ID_HaC = "harvestcraft",
+ MOD_ID_APC = "AppleCore", MOD_ID_MaCr = "magicalcrops", MOD_ID_GaEn = "ganysend",
+ MOD_ID_GaSu = "ganyssurface", MOD_ID_GaNe = "ganysnether", MOD_ID_BC_SILICON = "BuildCraft|Silicon",
+ MOD_ID_BC_TRANSPORT = "BuildCraft|Transport", MOD_ID_BC_FACTORY = "BuildCraft|Factory",
+ MOD_ID_BC_ENERGY = "BuildCraft|Energy", MOD_ID_BC_BUILDERS = "BuildCraft|Builders",
+ MOD_ID_BC_CORE = "BuildCraft|Core", MOD_ID_GC_CORE = "GalacticraftCore",
+ MOD_ID_GC_MARS = "GalacticraftMars", MOD_ID_GC_PLANETS = "GalacticraftPlanets", MOD_ID_DC = "dreamcraft",
MOD_ID_GTPP = "miscutils";
/**
* File Paths and Resource Paths
*/
- public static final String TEX_DIR = "textures/",
- TEX_DIR_GUI = TEX_DIR + "gui/",
- TEX_DIR_ITEM = TEX_DIR + "items/",
- TEX_DIR_BLOCK = TEX_DIR + "blocks/",
- TEX_DIR_ENTITY = TEX_DIR + "entity/",
- TEX_DIR_ASPECTS = TEX_DIR + "aspects/",
- RES_PATH = MOD_ID + ":" + TEX_DIR,
- RES_PATH_GUI = MOD_ID + ":" + TEX_DIR_GUI,
- RES_PATH_ITEM = MOD_ID + ":",
- RES_PATH_BLOCK = MOD_ID + ":",
- RES_PATH_ENTITY = MOD_ID + ":" + TEX_DIR_ENTITY,
- RES_PATH_ASPECTS = MOD_ID + ":" + TEX_DIR_ASPECTS,
+ public static final String TEX_DIR = "textures/", TEX_DIR_GUI = TEX_DIR + "gui/", TEX_DIR_ITEM = TEX_DIR + "items/",
+ TEX_DIR_BLOCK = TEX_DIR + "blocks/", TEX_DIR_ENTITY = TEX_DIR + "entity/",
+ TEX_DIR_ASPECTS = TEX_DIR + "aspects/", RES_PATH = MOD_ID + ":" + TEX_DIR,
+ RES_PATH_GUI = MOD_ID + ":" + TEX_DIR_GUI, RES_PATH_ITEM = MOD_ID + ":", RES_PATH_BLOCK = MOD_ID + ":",
+ RES_PATH_ENTITY = MOD_ID + ":" + TEX_DIR_ENTITY, RES_PATH_ASPECTS = MOD_ID + ":" + TEX_DIR_ASPECTS,
RES_PATH_IC2 = MOD_ID_IC2.toLowerCase(Locale.ENGLISH) + ":",
RES_PATH_MODEL = MOD_ID + ":" + TEX_DIR + "models/";
@@ -259,6 +213,7 @@ public class GT_Values {
* NBT String Keys
*/
public static final class NBT {
+
public static final String COLOR = "gt.color", // Integer
COVERS = "gt.covers", // String
CUSTOM_NAME = "name", // String
@@ -287,10 +242,7 @@ public class GT_Values {
INV_OUTPUT_LIST = "gt.invlist.out", // NBT List
// MultiBlock
- STRUCTURE_OK = "gt.structure.ok",
- ROTATION = "gt.eRotation",
- FLIP = "gt.eFlip",
- TARGET = "gt.target", // Boolean
+ STRUCTURE_OK = "gt.structure.ok", ROTATION = "gt.eRotation", FLIP = "gt.eFlip", TARGET = "gt.target", // Boolean
TARGET_X = "gt.target.x", // Number
TARGET_Y = "gt.target.y", // Number
TARGET_Z = "gt.target.z", // Number
@@ -300,66 +252,53 @@ public class GT_Values {
}
/** The Color White as RGB Short Array. */
- public static final short[] UNCOLORED_RBGA = {255, 255, 255, 255};
+ public static final short[] UNCOLORED_RBGA = { 255, 255, 255, 255 };
/** The Color White as simple Integer (0x00ffffff). */
public static final int UNCOLORED = 0x00ffffff;
/**
* Sides
*/
- public static final byte SIDE_BOTTOM = 0,
- SIDE_DOWN = 0,
- SIDE_TOP = 1,
- SIDE_UP = 1,
- SIDE_NORTH = 2, // Also a Side with a stupidly mirrored Texture
- SIDE_SOUTH = 3,
- SIDE_WEST = 4,
- SIDE_EAST = 5, // Also a Side with a stupidly mirrored Texture
- SIDE_ANY = 6,
- SIDE_UNKNOWN = 6,
- SIDE_INVALID = 6,
- SIDE_INSIDE = 6,
- SIDE_UNDEFINED = 6;
+ public static final byte SIDE_BOTTOM = 0, SIDE_DOWN = 0, SIDE_TOP = 1, SIDE_UP = 1, SIDE_NORTH = 2, // Also a Side
+ // with a
+ // stupidly
+ // mirrored
+ // Texture
+ SIDE_SOUTH = 3, SIDE_WEST = 4, SIDE_EAST = 5, // Also a Side with a stupidly mirrored Texture
+ SIDE_ANY = 6, SIDE_UNKNOWN = 6, SIDE_INVALID = 6, SIDE_INSIDE = 6, SIDE_UNDEFINED = 6;
/** Compass alike Array for the proper ordering of North, East, South and West. */
- public static final byte[] COMPASS_DIRECTIONS = {SIDE_NORTH, SIDE_EAST, SIDE_SOUTH, SIDE_WEST};
+ public static final byte[] COMPASS_DIRECTIONS = { SIDE_NORTH, SIDE_EAST, SIDE_SOUTH, SIDE_WEST };
/**
* An Array containing all Sides which follow the Condition, in order to iterate over them for example.
*/
- public static final byte[] ALL_SIDES = {0, 1, 2, 3, 4, 5, 6}, ALL_VALID_SIDES = {0, 1, 2, 3, 4, 5};
+ public static final byte[] ALL_SIDES = { 0, 1, 2, 3, 4, 5, 6 }, ALL_VALID_SIDES = { 0, 1, 2, 3, 4, 5 };
/**
* For Facing Checks.
*/
- public static final boolean[] INVALID_SIDES = {false, false, false, false, false, false, true},
- VALID_SIDES = {true, true, true, true, true, true, false};
+ public static final boolean[] INVALID_SIDES = { false, false, false, false, false, false, true },
+ VALID_SIDES = { true, true, true, true, true, true, false };
/**
- * Side->Offset Mappings.
+ * Side->Offset Mappings.
*/
- public static final byte[] OFFX = {0, 0, 0, 0, -1, +1, 0},
- OFFY = {-1, +1, 0, 0, 0, 0, 0},
- OFFZ = {0, 0, -1, +1, 0, 0, 0};
+ public static final byte[] OFFX = { 0, 0, 0, 0, -1, +1, 0 }, OFFY = { -1, +1, 0, 0, 0, 0, 0 },
+ OFFZ = { 0, 0, -1, +1, 0, 0, 0 };
/**
- * Side->Opposite Mappings.
+ * Side->Opposite Mappings.
**/
- public static final byte[] OPOS = {1, 0, 3, 2, 5, 4, 6};
+ public static final byte[] OPOS = { 1, 0, 3, 2, 5, 4, 6 };
/**
- * [Facing,Side]->Side Mappings for Blocks, which don't face up- and downwards.
- * 0 = bottom, 1 = top, 2 = left, 3 = front, 4 = right, 5 = back, 6 = undefined.
+ * [Facing,Side]->Side Mappings for Blocks, which don't face up- and downwards. 0 = bottom, 1 = top, 2 = left, 3 =
+ * front, 4 = right, 5 = back, 6 = undefined.
*/
- public static final byte[][] FACING_ROTATIONS = {
- {0, 1, 2, 3, 4, 5, 6},
- {0, 1, 2, 3, 4, 5, 6},
- {0, 1, 3, 5, 4, 2, 6},
- {0, 1, 5, 3, 2, 4, 6},
- {0, 1, 2, 4, 3, 5, 6},
- {0, 1, 4, 2, 5, 3, 6},
- {0, 1, 2, 3, 4, 5, 6}
- };
+ public static final byte[][] FACING_ROTATIONS = { { 0, 1, 2, 3, 4, 5, 6 }, { 0, 1, 2, 3, 4, 5, 6 },
+ { 0, 1, 3, 5, 4, 2, 6 }, { 0, 1, 5, 3, 2, 4, 6 }, { 0, 1, 2, 4, 3, 5, 6 }, { 0, 1, 4, 2, 5, 3, 6 },
+ { 0, 1, 2, 3, 4, 5, 6 } };
/**
* The Mod Object itself. That is the GT_Mod-Object. It's needed to open GUI's and similar.
@@ -378,13 +317,15 @@ public class GT_Values {
*/
public static int oreveinPercentage;
/**
- * Control number of attempts to find a valid orevein. Generally this maximum limit isn't hit, selecting a vein is cheap
+ * Control number of attempts to find a valid orevein. Generally this maximum limit isn't hit, selecting a vein is
+ * cheap
*/
public static int oreveinAttempts;
/**
* Control number of attempts to place a valid ore vein.
- * <p>If a vein wasn't placed due to height restrictions,
- * completely in the water, etc, another attempt is tried.</p>
+ * <p>
+ * If a vein wasn't placed due to height restrictions, completely in the water, etc, another attempt is tried.
+ * </p>
*/
public static int oreveinMaxPlacementAttempts;
/**
@@ -396,7 +337,8 @@ public class GT_Values {
*/
public static int oreveinPlacerOresMultiplier;
/**
- * Not really Constants, but they set using the Config and therefore should be constant (those are for the Debug Mode)
+ * Not really Constants, but they set using the Config and therefore should be constant (those are for the Debug
+ * Mode)
*/
public static boolean D1 = false, D2 = false;
/**
@@ -440,7 +382,8 @@ public class GT_Values {
*/
public static boolean debugWorldData = false;
/**
- * Number of ticks between sending sound packets to clients for electric machines. Default is 1.5 seconds. Trying to mitigate lag and FPS drops.
+ * Number of ticks between sending sound packets to clients for electric machines. Default is 1.5 seconds. Trying to
+ * mitigate lag and FPS drops.
*/
public static int ticksBetweenSounds = 30;
/**
@@ -473,7 +416,7 @@ public class GT_Values {
public static boolean updateFluidDisplayItems = true;
public static final int STEAM_PER_WATER = 160;
/**
- * If true, then digital chest with AE2 storage bus will be accessible only through AE2
+ * If true, then digital chest with AE2 storage bus will be accessible only through AE2
*/
public static boolean disableDigitalChestsExternalAccess = false;
@@ -490,29 +433,66 @@ public class GT_Values {
public static final IIconContainer[] emptyIconContainerArray = new IIconContainer[3];
/**
- * Pretty formatting for author names.
+ * Pretty formatting for author names.
*/
public static final String Colen = "" + EnumChatFormatting.DARK_RED
- + EnumChatFormatting.BOLD + EnumChatFormatting.ITALIC + EnumChatFormatting.UNDERLINE + "C"
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "C"
+ EnumChatFormatting.GOLD
- + EnumChatFormatting.BOLD + EnumChatFormatting.ITALIC + EnumChatFormatting.UNDERLINE + "o"
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "o"
+ EnumChatFormatting.GREEN
- + EnumChatFormatting.BOLD + EnumChatFormatting.ITALIC + EnumChatFormatting.UNDERLINE + "l"
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "l"
+ EnumChatFormatting.DARK_AQUA
- + EnumChatFormatting.BOLD + EnumChatFormatting.ITALIC + EnumChatFormatting.UNDERLINE + "e"
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "e"
+ EnumChatFormatting.DARK_PURPLE
- + EnumChatFormatting.BOLD + EnumChatFormatting.ITALIC + EnumChatFormatting.UNDERLINE + "n";
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "n";
public static final String AuthorColen = "Author: " + Colen;
- public static final String AuthorKuba = "Author: " + EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + "k"
- + EnumChatFormatting.RED + EnumChatFormatting.BOLD + "u"
- + EnumChatFormatting.GOLD + EnumChatFormatting.BOLD + "b" + EnumChatFormatting.YELLOW
- + EnumChatFormatting.BOLD + "a" + EnumChatFormatting.DARK_GREEN + EnumChatFormatting.BOLD + "6"
- + EnumChatFormatting.GREEN + EnumChatFormatting.BOLD + "0" + EnumChatFormatting.AQUA
- + EnumChatFormatting.BOLD + "0" + EnumChatFormatting.DARK_AQUA + EnumChatFormatting.BOLD + "0";
-
- public static final String AuthorBlueWeabo = "Author: " + EnumChatFormatting.BLUE + EnumChatFormatting.BOLD + "Blue"
- + EnumChatFormatting.AQUA + EnumChatFormatting.BOLD + "Weabo";
+ public static final String AuthorKuba = "Author: " + EnumChatFormatting.DARK_RED
+ + EnumChatFormatting.BOLD
+ + "k"
+ + EnumChatFormatting.RED
+ + EnumChatFormatting.BOLD
+ + "u"
+ + EnumChatFormatting.GOLD
+ + EnumChatFormatting.BOLD
+ + "b"
+ + EnumChatFormatting.YELLOW
+ + EnumChatFormatting.BOLD
+ + "a"
+ + EnumChatFormatting.DARK_GREEN
+ + EnumChatFormatting.BOLD
+ + "6"
+ + EnumChatFormatting.GREEN
+ + EnumChatFormatting.BOLD
+ + "0"
+ + EnumChatFormatting.AQUA
+ + EnumChatFormatting.BOLD
+ + "0"
+ + EnumChatFormatting.DARK_AQUA
+ + EnumChatFormatting.BOLD
+ + "0";
+
+ public static final String AuthorBlueWeabo = "Author: " + EnumChatFormatting.BLUE
+ + EnumChatFormatting.BOLD
+ + "Blue"
+ + EnumChatFormatting.AQUA
+ + EnumChatFormatting.BOLD
+ + "Weabo";
// 7.5F comes from GT_Tool_Turbine_Large#getBaseDamage() given huge turbines are the most efficient now.
public static double getMaxPlasmaTurbineEfficiencyFromMaterial(Materials material) {
diff --git a/src/main/java/gregtech/api/enums/HeatingCoilLevel.java b/src/main/java/gregtech/api/enums/HeatingCoilLevel.java
index 62a4663bb4..f80f8139c6 100644
--- a/src/main/java/gregtech/api/enums/HeatingCoilLevel.java
+++ b/src/main/java/gregtech/api/enums/HeatingCoilLevel.java
@@ -3,22 +3,23 @@ package gregtech.api.enums;
import net.minecraft.util.StatCollector;
public enum HeatingCoilLevel {
- None, // 0
- ULV, // Not implemented 901
- LV, // Cupronickel 1801
- MV, // KANTHAL 2701
- HV, // NICHROME 3601
- EV, // TPVALLOY 4501
- IV, // HSSG 5401
- LuV, // HSSS 6301
- ZPM, // NAQUADAH 7201
- UV, // NAQUADAHALLOY 8101
- UHV, // TRINIUM 9001
- UEV, // ELECTRUMFLUX 9901
- UIV, // AWAKENEDDRACONIUM 10801
- UMV, // INFINITY 11701
- UXV, // HYPOGEN 12601
- MAX, // ETERNAL 13501
+
+ None, // 0
+ ULV, // Not implemented 901
+ LV, // Cupronickel 1801
+ MV, // KANTHAL 2701
+ HV, // NICHROME 3601
+ EV, // TPVALLOY 4501
+ IV, // HSSG 5401
+ LuV, // HSSS 6301
+ ZPM, // NAQUADAH 7201
+ UV, // NAQUADAHALLOY 8101
+ UHV, // TRINIUM 9001
+ UEV, // ELECTRUMFLUX 9901
+ UIV, // AWAKENEDDRACONIUM 10801
+ UMV, // INFINITY 11701
+ UXV, // HYPOGEN 12601
+ MAX, // ETERNAL 13501
;
private static final HeatingCoilLevel[] VALUES = values();
diff --git a/src/main/java/gregtech/api/enums/ItemList.java b/src/main/java/gregtech/api/enums/ItemList.java
index 4453d16653..e260b03936 100644
--- a/src/main/java/gregtech/api/enums/ItemList.java
+++ b/src/main/java/gregtech/api/enums/ItemList.java
@@ -3,22 +3,25 @@ package gregtech.api.enums;
import static gregtech.api.enums.GT_Values.NI;
import static gregtech.api.enums.GT_Values.W;
+import java.util.Locale;
+
+import net.minecraft.block.Block;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraftforge.fluids.Fluid;
+
import gregtech.api.interfaces.IItemContainer;
import gregtech.api.util.GT_LanguageManager;
import gregtech.api.util.GT_Log;
import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_OreDictUnificator;
import gregtech.api.util.GT_Utility;
-import java.util.Locale;
-import net.minecraft.block.Block;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraftforge.fluids.Fluid;
/**
* Class containing all non-OreDict Items of GregTech.
*/
public enum ItemList implements IItemContainer {
+
Display_ITS_FREE,
Display_Fluid,
TE_Slag,
@@ -2010,167 +2013,40 @@ public enum ItemList implements IItemContainer {
ReinforcedPhotolithographicFrameworkCasing,
RadiationProofPhotolithographicFrameworkCasing,
InfinityCooledCasing;
- public static final ItemList[]
- DYE_ONLY_ITEMS =
- {
- Color_00, Color_01, Color_02, Color_03, Color_04, Color_05, Color_06, Color_07, Color_08,
- Color_09, Color_10, Color_11, Color_12, Color_13, Color_14, Color_15
- },
- SPRAY_CAN_DYES =
- {
- Spray_Color_00,
- Spray_Color_01,
- Spray_Color_02,
- Spray_Color_03,
- Spray_Color_04,
- Spray_Color_05,
- Spray_Color_06,
- Spray_Color_07,
- Spray_Color_08,
- Spray_Color_09,
- Spray_Color_10,
- Spray_Color_11,
- Spray_Color_12,
- Spray_Color_13,
- Spray_Color_14,
- Spray_Color_15
- },
- SPRAY_CAN_DYES_USED =
- {
- Spray_Color_Used_00,
- Spray_Color_Used_01,
- Spray_Color_Used_02,
- Spray_Color_Used_03,
- Spray_Color_Used_04,
- Spray_Color_Used_05,
- Spray_Color_Used_06,
- Spray_Color_Used_07,
- Spray_Color_Used_08,
- Spray_Color_Used_09,
- Spray_Color_Used_10,
- Spray_Color_Used_11,
- Spray_Color_Used_12,
- Spray_Color_Used_13,
- Spray_Color_Used_14,
- Spray_Color_Used_15
- },
- TRANSFORMERS =
- {
- Transformer_LV_ULV,
- Transformer_MV_LV,
- Transformer_HV_MV,
- Transformer_EV_HV,
- Transformer_IV_EV,
- Transformer_LuV_IV,
- Transformer_ZPM_LuV,
- Transformer_UV_ZPM,
- Transformer_MAX_UV
- },
- MACHINE_HULLS =
- {Hull_ULV, Hull_LV, Hull_MV, Hull_HV, Hull_EV, Hull_IV, Hull_LuV, Hull_ZPM, Hull_UV, Hull_MAX},
- HATCHES_DYNAMO =
- {
- Hatch_Dynamo_ULV,
- Hatch_Dynamo_LV,
- Hatch_Dynamo_MV,
- Hatch_Dynamo_HV,
- Hatch_Dynamo_EV,
- Hatch_Dynamo_IV,
- Hatch_Dynamo_LuV,
- Hatch_Dynamo_ZPM,
- Hatch_Dynamo_UV,
- Hatch_Dynamo_MAX
- },
- HATCHES_ENERGY =
- {
- Hatch_Energy_ULV,
- Hatch_Energy_LV,
- Hatch_Energy_MV,
- Hatch_Energy_HV,
- Hatch_Energy_EV,
- Hatch_Energy_IV,
- Hatch_Energy_LuV,
- Hatch_Energy_ZPM,
- Hatch_Energy_UV,
- Hatch_Energy_MAX
- },
- HATCHES_INPUT =
- {
- Hatch_Input_ULV,
- Hatch_Input_LV,
- Hatch_Input_MV,
- Hatch_Input_HV,
- Hatch_Input_EV,
- Hatch_Input_IV,
- Hatch_Input_LuV,
- Hatch_Input_ZPM,
- Hatch_Input_UV,
- Hatch_Input_MAX
- },
- HATCHES_INPUT_BUS =
- {
- Hatch_Input_Bus_ULV,
- Hatch_Input_Bus_LV,
- Hatch_Input_Bus_MV,
- Hatch_Input_Bus_HV,
- Hatch_Input_Bus_EV,
- Hatch_Input_Bus_IV,
- Hatch_Input_Bus_LuV,
- Hatch_Input_Bus_ZPM,
- Hatch_Input_Bus_UV,
- Hatch_Input_Bus_MAX
- },
- HATCHES_OUTPUT =
- {
- Hatch_Output_ULV,
- Hatch_Output_LV,
- Hatch_Output_MV,
- Hatch_Output_HV,
- Hatch_Output_EV,
- Hatch_Output_IV,
- Hatch_Output_LuV,
- Hatch_Output_ZPM,
- Hatch_Output_UV,
- Hatch_Output_MAX
- },
- HATCHES_OUTPUT_BUS =
- {
- Hatch_Output_Bus_ULV,
- Hatch_Output_Bus_LV,
- Hatch_Output_Bus_MV,
- Hatch_Output_Bus_HV,
- Hatch_Output_Bus_EV,
- Hatch_Output_Bus_IV,
- Hatch_Output_Bus_LuV,
- Hatch_Output_Bus_ZPM,
- Hatch_Output_Bus_UV,
- Hatch_Output_Bus_MAX
- },
- HATCHES_MUFFLER =
- {
- Hatch_Muffler_LV,
- Hatch_Muffler_LV,
- Hatch_Muffler_MV,
- Hatch_Muffler_HV,
- Hatch_Muffler_EV,
- Hatch_Muffler_IV,
- Hatch_Muffler_LuV,
- Hatch_Muffler_ZPM,
- Hatch_Muffler_UV,
- Hatch_Muffler_MAX
- };
- public static Fluid sOilExtraHeavy,
- sEpichlorhydrin,
- sDrillingFluid,
- sBlueVitriol,
- sNickelSulfate,
- sGreenVitriol,
- sToluene,
- sNitrationMixture,
- sRocketFuel,
- sHydricSulfur,
- sIndiumConcentrate,
- sLeadZincSolution,
+
+ public static final ItemList[] DYE_ONLY_ITEMS = { Color_00, Color_01, Color_02, Color_03, Color_04, Color_05,
+ Color_06, Color_07, Color_08, Color_09, Color_10, Color_11, Color_12, Color_13, Color_14, Color_15 },
+ SPRAY_CAN_DYES = { Spray_Color_00, Spray_Color_01, Spray_Color_02, Spray_Color_03, Spray_Color_04,
+ Spray_Color_05, Spray_Color_06, Spray_Color_07, Spray_Color_08, Spray_Color_09, Spray_Color_10,
+ Spray_Color_11, Spray_Color_12, Spray_Color_13, Spray_Color_14, Spray_Color_15 },
+ SPRAY_CAN_DYES_USED = { Spray_Color_Used_00, Spray_Color_Used_01, Spray_Color_Used_02, Spray_Color_Used_03,
+ Spray_Color_Used_04, Spray_Color_Used_05, Spray_Color_Used_06, Spray_Color_Used_07,
+ Spray_Color_Used_08, Spray_Color_Used_09, Spray_Color_Used_10, Spray_Color_Used_11,
+ Spray_Color_Used_12, Spray_Color_Used_13, Spray_Color_Used_14, Spray_Color_Used_15 },
+ TRANSFORMERS = { Transformer_LV_ULV, Transformer_MV_LV, Transformer_HV_MV, Transformer_EV_HV,
+ Transformer_IV_EV, Transformer_LuV_IV, Transformer_ZPM_LuV, Transformer_UV_ZPM,
+ Transformer_MAX_UV },
+ MACHINE_HULLS = { Hull_ULV, Hull_LV, Hull_MV, Hull_HV, Hull_EV, Hull_IV, Hull_LuV, Hull_ZPM, Hull_UV,
+ Hull_MAX },
+ HATCHES_DYNAMO = { Hatch_Dynamo_ULV, Hatch_Dynamo_LV, Hatch_Dynamo_MV, Hatch_Dynamo_HV, Hatch_Dynamo_EV,
+ Hatch_Dynamo_IV, Hatch_Dynamo_LuV, Hatch_Dynamo_ZPM, Hatch_Dynamo_UV, Hatch_Dynamo_MAX },
+ HATCHES_ENERGY = { Hatch_Energy_ULV, Hatch_Energy_LV, Hatch_Energy_MV, Hatch_Energy_HV, Hatch_Energy_EV,
+ Hatch_Energy_IV, Hatch_Energy_LuV, Hatch_Energy_ZPM, Hatch_Energy_UV, Hatch_Energy_MAX },
+ HATCHES_INPUT = { Hatch_Input_ULV, Hatch_Input_LV, Hatch_Input_MV, Hatch_Input_HV, Hatch_Input_EV,
+ Hatch_Input_IV, Hatch_Input_LuV, Hatch_Input_ZPM, Hatch_Input_UV, Hatch_Input_MAX },
+ HATCHES_INPUT_BUS = { Hatch_Input_Bus_ULV, Hatch_Input_Bus_LV, Hatch_Input_Bus_MV, Hatch_Input_Bus_HV,
+ Hatch_Input_Bus_EV, Hatch_Input_Bus_IV, Hatch_Input_Bus_LuV, Hatch_Input_Bus_ZPM,
+ Hatch_Input_Bus_UV, Hatch_Input_Bus_MAX },
+ HATCHES_OUTPUT = { Hatch_Output_ULV, Hatch_Output_LV, Hatch_Output_MV, Hatch_Output_HV, Hatch_Output_EV,
+ Hatch_Output_IV, Hatch_Output_LuV, Hatch_Output_ZPM, Hatch_Output_UV, Hatch_Output_MAX },
+ HATCHES_OUTPUT_BUS = { Hatch_Output_Bus_ULV, Hatch_Output_Bus_LV, Hatch_Output_Bus_MV, Hatch_Output_Bus_HV,
+ Hatch_Output_Bus_EV, Hatch_Output_Bus_IV, Hatch_Output_Bus_LuV, Hatch_Output_Bus_ZPM,
+ Hatch_Output_Bus_UV, Hatch_Output_Bus_MAX },
+ HATCHES_MUFFLER = { Hatch_Muffler_LV, Hatch_Muffler_LV, Hatch_Muffler_MV, Hatch_Muffler_HV,
+ Hatch_Muffler_EV, Hatch_Muffler_IV, Hatch_Muffler_LuV, Hatch_Muffler_ZPM, Hatch_Muffler_UV,
+ Hatch_Muffler_MAX };
+ public static Fluid sOilExtraHeavy, sEpichlorhydrin, sDrillingFluid, sBlueVitriol, sNickelSulfate, sGreenVitriol,
+ sToluene, sNitrationMixture, sRocketFuel, sHydricSulfur, sIndiumConcentrate, sLeadZincSolution,
sHydrochloricAcid;
private ItemStack mStack;
private boolean mHasNotBeenSet;
@@ -2275,10 +2151,8 @@ public enum ItemList implements IItemContainer {
StringBuilder tCamelCasedDisplayNameBuilder = new StringBuilder();
final String[] tDisplayNameWords = aDisplayName.split("\\W");
for (String tWord : tDisplayNameWords) {
- if (tWord.length() > 0)
- tCamelCasedDisplayNameBuilder.append(tWord.substring(0, 1).toUpperCase(Locale.US));
- if (tWord.length() > 1)
- tCamelCasedDisplayNameBuilder.append(tWord.substring(1).toLowerCase(Locale.US));
+ if (tWord.length() > 0) tCamelCasedDisplayNameBuilder.append(tWord.substring(0, 1).toUpperCase(Locale.US));
+ if (tWord.length() > 1) tCamelCasedDisplayNameBuilder.append(tWord.substring(1).toLowerCase(Locale.US));
}
if (tCamelCasedDisplayNameBuilder.length() == 0) {
// CamelCased DisplayName is empty, so use hash of aDisplayName
@@ -2322,9 +2196,8 @@ public enum ItemList implements IItemContainer {
}
/**
- * Returns the internal stack.
- * This method is unsafe. It's here only for quick operations.
- * DON'T CHANGE THE RETURNED VALUE!
+ * Returns the internal stack. This method is unsafe. It's here only for quick operations. DON'T CHANGE THE RETURNED
+ * VALUE!
*/
public ItemStack getInternalStack_unsafe() {
return mStack;
diff --git a/src/main/java/gregtech/api/enums/MaterialBuilder.java b/src/main/java/gregtech/api/enums/MaterialBuilder.java
index 5514b9382e..d265faae8e 100644
--- a/src/main/java/gregtech/api/enums/MaterialBuilder.java
+++ b/src/main/java/gregtech/api/enums/MaterialBuilder.java
@@ -1,11 +1,13 @@
package gregtech.api.enums;
-import gregtech.api.objects.MaterialStack;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
+import gregtech.api.objects.MaterialStack;
+
public class MaterialBuilder {
+
public static final int DIESEL = 0, GAS = 1, THERMAL = 2, SEMIFLUID = 3, PLASMA = 4, MAGIC = 5;
private int metaItemSubID;
@@ -46,34 +48,32 @@ public class MaterialBuilder {
public Materials constructMaterial() {
return new Materials(
- metaItemSubID,
- iconSet,
- toolSpeed,
- durability,
- toolQuality,
- types,
- r,
- g,
- b,
- a,
- name,
- defaultLocalName,
- fuelType,
- fuelPower,
- meltingPoint,
- blastFurnaceTemp,
- blastFurnaceRequired,
- transparent,
- oreValue,
- densityMultiplier,
- densityDivider,
- color,
- extraData,
- materialList,
- aspects)
- .setHasCorrespondingFluid(hasCorrespondingFluid)
- .setHasCorrespondingGas(hasCorrespondingGas)
- .setCanBeCracked(canBeCracked);
+ metaItemSubID,
+ iconSet,
+ toolSpeed,
+ durability,
+ toolQuality,
+ types,
+ r,
+ g,
+ b,
+ a,
+ name,
+ defaultLocalName,
+ fuelType,
+ fuelPower,
+ meltingPoint,
+ blastFurnaceTemp,
+ blastFurnaceRequired,
+ transparent,
+ oreValue,
+ densityMultiplier,
+ densityDivider,
+ color,
+ extraData,
+ materialList,
+ aspects).setHasCorrespondingFluid(hasCorrespondingFluid).setHasCorrespondingGas(hasCorrespondingGas)
+ .setCanBeCracked(canBeCracked);
}
public MaterialBuilder setName(String name) {
diff --git a/src/main/java/gregtech/api/enums/Materials.java b/src/main/java/gregtech/api/enums/Materials.java
index fd30bfd231..86e4e3f1ca 100644
--- a/src/main/java/gregtech/api/enums/Materials.java
+++ b/src/main/java/gregtech/api/enums/Materials.java
@@ -4,6 +4,15 @@ import static gregtech.api.enums.FluidState.GAS;
import static gregtech.api.enums.GT_Values.M;
import static gregtech.api.enums.GT_Values.MOD_ID_DC;
+import java.util.*;
+import java.util.stream.Collectors;
+import java.util.stream.IntStream;
+
+import net.minecraft.enchantment.Enchantment;
+import net.minecraft.item.ItemStack;
+import net.minecraftforge.fluids.Fluid;
+import net.minecraftforge.fluids.FluidStack;
+
import cpw.mods.fml.common.Loader;
import gregtech.GT_Mod;
import gregtech.api.GregTech_API;
@@ -20,13 +29,6 @@ import gregtech.common.render.items.*;
import gregtech.common.render.items.UniversiumRenderer;
import gregtech.loaders.materialprocessing.ProcessingConfig;
import gregtech.loaders.materialprocessing.ProcessingModSupport;
-import java.util.*;
-import java.util.stream.Collectors;
-import java.util.stream.IntStream;
-import net.minecraft.enchantment.Enchantment;
-import net.minecraft.item.ItemStack;
-import net.minecraftforge.fluids.Fluid;
-import net.minecraftforge.fluids.FluidStack;
@SuppressWarnings("unused") // API Legitimately has unused Members and Methods
public class Materials implements IColorModulationContainer, ISubTagContainer {
@@ -38,12 +40,14 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
public static volatile int VERSION = 509;
/**
- * This is for keeping compatibility with addons mods (Such as TinkersGregworks etc.) that looped over the old materials enum
+ * This is for keeping compatibility with addons mods (Such as TinkersGregworks etc.) that looped over the old
+ * materials enum
*/
@Deprecated
public static Collection<Materials> VALUES = new LinkedHashSet<>();
/**
- * This is the Default Material returned in case no Material has been found or a NullPointer has been inserted at a location where it shouldn't happen.
+ * This is the Default Material returned in case no Material has been found or a NullPointer has been inserted at a
+ * location where it shouldn't happen.
*/
// Spotless breaks the table below into many, many lines
@@ -927,14 +931,18 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
/**
* Superconductor re-routed for mod compatibility. Circuits are re-routed into SuperconductorUHV as well.
- * <p>Internal name is now Superconductor while translated name is SuperconductorUHV.</p>
+ * <p>
+ * Internal name is now Superconductor while translated name is SuperconductorUHV.
+ * </p>
+ *
* @deprecated Use {@link #SuperconductorUHV} instead
*/
@Deprecated
- public static Materials Superconductor = new Materials(
- SuperconductorUHV, true); // new Materials( -1, TextureSet.SET_NONE , 1.0F, 0, 0, 0
- // , 255, 255, 255, 0, "Superconductor" , "Superconductor" , 0,
- // 0, -1, 0, false, false, 1, 1, 1, Dyes.dyeLightGray , Arrays.asList(new
+ public static Materials Superconductor = new Materials(SuperconductorUHV, true); // new Materials( -1,
+ // TextureSet.SET_NONE , 1.0F, 0,
+ // 0, 0
+ // , 255, 255, 255, 0, "Superconductor" , "Superconductor" , 0,
+ // 0, -1, 0, false, false, 1, 1, 1, Dyes.dyeLightGray , Arrays.asList(new
// TC_AspectStack(TC_Aspects.ELECTRUM, 9)));
@Deprecated
@@ -962,7 +970,7 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
overrideChemicalFormulars();
}
- public final short[] mRGBa = new short[] {255, 255, 255, 0}, mMoltenRGBa = new short[] {255, 255, 255, 0};
+ public final short[] mRGBa = new short[] { 255, 255, 255, 0 }, mMoltenRGBa = new short[] { 255, 255, 255, 0 };
public TextureSet mIconSet;
public GT_GeneratedMaterial_Renderer renderer;
public List<MaterialStack> mMaterialList = new ArrayList<>();
@@ -971,16 +979,9 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
public ArrayList<ItemStack> mMaterialItems = new ArrayList<>();
public Collection<SubTag> mSubTags = new LinkedHashSet<>();
public Enchantment mEnchantmentTools = null, mEnchantmentArmors = null;
- public boolean mUnificatable,
- mBlastFurnaceRequired = false,
- mAutoGenerateBlastFurnaceRecipes = true,
- mAutoGenerateVacuumFreezerRecipes = true,
- mAutoGenerateRecycleRecipes = true,
- mTransparent = false,
- mHasParentMod = true,
- mHasPlasma = false,
- mHasGas = false,
- mCustomOre = false;
+ public boolean mUnificatable, mBlastFurnaceRequired = false, mAutoGenerateBlastFurnaceRecipes = true,
+ mAutoGenerateVacuumFreezerRecipes = true, mAutoGenerateRecycleRecipes = true, mTransparent = false,
+ mHasParentMod = true, mHasPlasma = false, mHasGas = false, mCustomOre = false;
public byte mEnchantmentToolsLevel = 0, mEnchantmentArmorsLevel = 0, mToolQuality = 0;
public short mBlastFurnaceTemp = 0;
public int mMeltingPoint = 0;
@@ -1009,44 +1010,26 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
public int processingMaterialTierEU = 0;
public long mDensity = M;
- public float mToolSpeed = 1.0F,
- mHeatDamage = 0.0F,
- mSteamMultiplier = 1.0F,
- mGasMultiplier = 1.0F,
+ public float mToolSpeed = 1.0F, mHeatDamage = 0.0F, mSteamMultiplier = 1.0F, mGasMultiplier = 1.0F,
mPlasmaMultiplier = 1.0F;
- public String mChemicalFormula = "?",
- mName,
- mDefaultLocalName,
- mCustomID = "null",
- mConfigSection = "null",
+ public String mChemicalFormula = "?", mName, mDefaultLocalName, mCustomID = "null", mConfigSection = "null",
mLocalizedName = "null";
public Dyes mColor = Dyes._NULL;
public Element mElement = null;
- public Materials mDirectSmelting = this,
- mOreReplacement = this,
- mMacerateInto = this,
- mSmeltInto = this,
- mArcSmeltInto = this,
- mHandleMaterial = this,
- mMaterialInto;
+ public Materials mDirectSmelting = this, mOreReplacement = this, mMacerateInto = this, mSmeltInto = this,
+ mArcSmeltInto = this, mHandleMaterial = this, mMaterialInto;
public Fluid mSolid = null, mFluid = null, mGas = null, mPlasma = null;
/**
- * This Fluid is used as standard Unit for Molten Materials. 1296 is a Molten Block, that means 144 is one Material Unit worth of fluid.
+ * This Fluid is used as standard Unit for Molten Materials. 1296 is a Molten Block, that means 144 is one Material
+ * Unit worth of fluid.
*/
public Fluid mStandardMoltenFluid = null;
private boolean hasCorrespondingFluid = false, hasCorrespondingGas = false, canBeCracked = false;
private Fluid[] hydroCrackedFluids = new Fluid[3], steamCrackedFluids = new Fluid[3];
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- boolean aUnificatable,
- String aName,
- String aDefaultLocalName) {
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ boolean aUnificatable, String aName, String aDefaultLocalName) {
this(
aMetaItemSubID,
aIconSet,
@@ -1061,17 +1044,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
"null");
}
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- boolean aUnificatable,
- String aName,
- String aDefaultLocalName,
- String aConfigSection,
- boolean aCustomOre,
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ boolean aUnificatable, String aName, String aDefaultLocalName, String aConfigSection, boolean aCustomOre,
String aCustomID) {
mMetaItemSubID = aMetaItemSubID;
mDefaultLocalName = aDefaultLocalName;
@@ -1099,29 +1073,10 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
mIconSet = TextureSet.SET_NONE;
}
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- int aTypes,
- int aR,
- int aG,
- int aB,
- int aA,
- String aName,
- String aDefaultLocalName,
- int aFuelType,
- int aFuelPower,
- int aMeltingPoint,
- int aBlastFurnaceTemp,
- boolean aBlastFurnaceRequired,
- boolean aTransparent,
- int aOreValue,
- int aDensityMultiplier,
- int aDensityDivider,
- Dyes aColor) {
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ int aTypes, int aR, int aG, int aB, int aA, String aName, String aDefaultLocalName, int aFuelType,
+ int aFuelPower, int aMeltingPoint, int aBlastFurnaceTemp, boolean aBlastFurnaceRequired,
+ boolean aTransparent, int aOreValue, int aDensityMultiplier, int aDensityDivider, Dyes aColor) {
this(
aMetaItemSubID,
aIconSet,
@@ -1150,29 +1105,10 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
"null");
}
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- int aTypes,
- int aR,
- int aG,
- int aB,
- int aA,
- String aName,
- String aDefaultLocalName,
- int aFuelType,
- int aFuelPower,
- int aMeltingPoint,
- int aBlastFurnaceTemp,
- boolean aBlastFurnaceRequired,
- boolean aTransparent,
- int aOreValue,
- int aDensityMultiplier,
- int aDensityDivider,
- Dyes aColor,
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ int aTypes, int aR, int aG, int aB, int aA, String aName, String aDefaultLocalName, int aFuelType,
+ int aFuelPower, int aMeltingPoint, int aBlastFurnaceTemp, boolean aBlastFurnaceRequired,
+ boolean aTransparent, int aOreValue, int aDensityMultiplier, int aDensityDivider, Dyes aColor,
String aConfigSection) {
this(
aMetaItemSubID,
@@ -1204,52 +1140,29 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
/**
* @param aMetaItemSubID the Sub-ID used in my own MetaItems. Range 0-1000. -1 for no Material
- * @param aTypes which kind of Items should be generated. Bitmask as follows:
- * 1 = Dusts of all kinds.
- * 2 = Dusts, Ingots, Plates, Rods/Sticks, Machine Components and other Metal specific things.
- * 4 = Dusts, Gems, Plates, Lenses (if transparent).
- * 8 = Dusts, Impure Dusts, crushed Ores, purified Ores, centrifuged Ores etc.
- * 16 = Cells
- * 32 = Plasma Cells
- * 64 = Tool Heads
- * 128 = Gears
- * 256 = Designates something as empty (only used for the Empty material)
+ * @param aTypes which kind of Items should be generated. Bitmask as follows: 1 = Dusts of all kinds.
+ * 2 = Dusts, Ingots, Plates, Rods/Sticks, Machine Components and other Metal specific
+ * things. 4 = Dusts, Gems, Plates, Lenses (if transparent). 8 = Dusts, Impure Dusts,
+ * crushed Ores, purified Ores, centrifuged Ores etc. 16 = Cells 32 = Plasma Cells 64 =
+ * Tool Heads 128 = Gears 256 = Designates something as empty (only used for the Empty
+ * material)
* @param aR, aG, aB Color of the Material 0-255 each.
* @param aA transparency of the Material Texture. 0 = fully visible, 255 = Invisible.
* @param aName The Name used as Default for localization.
* @param aFuelType Type of Generator to get Energy from this Material.
- * @param aFuelPower EU generated. Will be multiplied by 1000, also additionally multiplied by 2 for Gems.
- * @param aMeltingPoint Used to determine the smelting Costs in furnace. >>>>**ADD 20000 to remove EBF recipes to add them MANUALLY ! :D**<<<<
+ * @param aFuelPower EU generated. Will be multiplied by 1000, also additionally multiplied by 2 for
+ * Gems.
+ * @param aMeltingPoint Used to determine the smelting Costs in furnace. >>>>**ADD 20000 to remove EBF
+ * recipes to add them MANUALLY ! :D**<<<<
* @param aBlastFurnaceTemp Used to determine the needed Heat capacity Costs in Blast Furnace.
* @param aBlastFurnaceRequired If this requires a Blast Furnace.
* @param aColor Vanilla MC Wool Color which comes the closest to this.
*/
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- int aTypes,
- int aR,
- int aG,
- int aB,
- int aA,
- String aName,
- String aDefaultLocalName,
- int aFuelType,
- int aFuelPower,
- int aMeltingPoint,
- int aBlastFurnaceTemp,
- boolean aBlastFurnaceRequired,
- boolean aTransparent,
- int aOreValue,
- int aDensityMultiplier,
- int aDensityDivider,
- Dyes aColor,
- String aConfigSection,
- boolean aCustomOre,
- String aCustomID) {
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ int aTypes, int aR, int aG, int aB, int aA, String aName, String aDefaultLocalName, int aFuelType,
+ int aFuelPower, int aMeltingPoint, int aBlastFurnaceTemp, boolean aBlastFurnaceRequired,
+ boolean aTransparent, int aOreValue, int aDensityMultiplier, int aDensityDivider, Dyes aColor,
+ String aConfigSection, boolean aCustomOre, String aCustomID) {
this(
aMetaItemSubID,
aIconSet,
@@ -1283,29 +1196,10 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
if ((mTypes & 2) != 0) add(SubTag.SMELTING_TO_FLUID);
}
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- int aTypes,
- int aR,
- int aG,
- int aB,
- int aA,
- String aName,
- String aDefaultLocalName,
- int aFuelType,
- int aFuelPower,
- int aMeltingPoint,
- int aBlastFurnaceTemp,
- boolean aBlastFurnaceRequired,
- boolean aTransparent,
- int aOreValue,
- int aDensityMultiplier,
- int aDensityDivider,
- Dyes aColor,
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ int aTypes, int aR, int aG, int aB, int aA, String aName, String aDefaultLocalName, int aFuelType,
+ int aFuelPower, int aMeltingPoint, int aBlastFurnaceTemp, boolean aBlastFurnaceRequired,
+ boolean aTransparent, int aOreValue, int aDensityMultiplier, int aDensityDivider, Dyes aColor,
List<TC_Aspects.TC_AspectStack> aAspects) {
this(
aMetaItemSubID,
@@ -1333,31 +1227,11 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
mAspects.addAll(aAspects);
}
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- int aTypes,
- int aR,
- int aG,
- int aB,
- int aA,
- String aName,
- String aDefaultLocalName,
- int aFuelType,
- int aFuelPower,
- int aMeltingPoint,
- int aBlastFurnaceTemp,
- boolean aBlastFurnaceRequired,
- boolean aTransparent,
- int aOreValue,
- int aDensityMultiplier,
- int aDensityDivider,
- Dyes aColor,
- Element aElement,
- List<TC_Aspects.TC_AspectStack> aAspects) {
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ int aTypes, int aR, int aG, int aB, int aA, String aName, String aDefaultLocalName, int aFuelType,
+ int aFuelPower, int aMeltingPoint, int aBlastFurnaceTemp, boolean aBlastFurnaceRequired,
+ boolean aTransparent, int aOreValue, int aDensityMultiplier, int aDensityDivider, Dyes aColor,
+ Element aElement, List<TC_Aspects.TC_AspectStack> aAspects) {
this(
aMetaItemSubID,
aIconSet,
@@ -1392,31 +1266,11 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
mAspects.addAll(aAspects);
}
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- int aTypes,
- int aR,
- int aG,
- int aB,
- int aA,
- String aName,
- String aDefaultLocalName,
- int aFuelType,
- int aFuelPower,
- int aMeltingPoint,
- int aBlastFurnaceTemp,
- boolean aBlastFurnaceRequired,
- boolean aTransparent,
- int aOreValue,
- int aDensityMultiplier,
- int aDensityDivider,
- Dyes aColor,
- int aExtraData,
- List<MaterialStack> aMaterialList) {
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ int aTypes, int aR, int aG, int aB, int aA, String aName, String aDefaultLocalName, int aFuelType,
+ int aFuelPower, int aMeltingPoint, int aBlastFurnaceTemp, boolean aBlastFurnaceRequired,
+ boolean aTransparent, int aOreValue, int aDensityMultiplier, int aDensityDivider, Dyes aColor,
+ int aExtraData, List<MaterialStack> aMaterialList) {
this(
aMetaItemSubID,
aIconSet,
@@ -1445,32 +1299,11 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
null);
}
- public Materials(
- int aMetaItemSubID,
- TextureSet aIconSet,
- float aToolSpeed,
- int aDurability,
- int aToolQuality,
- int aTypes,
- int aR,
- int aG,
- int aB,
- int aA,
- String aName,
- String aDefaultLocalName,
- int aFuelType,
- int aFuelPower,
- int aMeltingPoint,
- int aBlastFurnaceTemp,
- boolean aBlastFurnaceRequired,
- boolean aTransparent,
- int aOreValue,
- int aDensityMultiplier,
- int aDensityDivider,
- Dyes aColor,
- int aExtraData,
- List<MaterialStack> aMaterialList,
- List<TC_Aspects.TC_AspectStack> aAspects) {
+ public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
+ int aTypes, int aR, int aG, int aB, int aA, String aName, String aDefaultLocalName, int aFuelType,
+ int aFuelPower, int aMeltingPoint, int aBlastFurnaceTemp, boolean aBlastFurnaceRequired,
+ boolean aTransparent, int aOreValue, int aDensityMultiplier, int aDensityDivider, Dyes aColor,
+ int aExtraData, List<MaterialStack> aMaterialList, List<TC_Aspects.TC_AspectStack> aAspects) {
this(
aMetaItemSubID,
aIconSet,
@@ -1497,37 +1330,30 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
mExtraData = aExtraData;
mMaterialList.addAll(aMaterialList);
if (mMaterialList.size() == 1) mChemicalFormula = mMaterialList.get(0).toString(true);
- else
- mChemicalFormula = mMaterialList.stream()
- .map(MaterialStack::toString)
- .collect(Collectors.joining())
- .replaceAll("_", "-");
+ else mChemicalFormula = mMaterialList.stream().map(MaterialStack::toString).collect(Collectors.joining())
+ .replaceAll("_", "-");
int tAmountOfComponents = 0, tMeltingPoint = 0;
for (MaterialStack tMaterial : mMaterialList) {
tAmountOfComponents += tMaterial.mAmount;
if (tMaterial.mMaterial.mMeltingPoint > 0)
tMeltingPoint += tMaterial.mMaterial.mMeltingPoint * tMaterial.mAmount;
- if (aAspects == null)
- for (TC_Aspects.TC_AspectStack tAspect : tMaterial.mMaterial.mAspects)
- tAspect.addToAspectList(mAspects);
+ if (aAspects == null) for (TC_Aspects.TC_AspectStack tAspect : tMaterial.mMaterial.mAspects)
+ tAspect.addToAspectList(mAspects);
}
if (mMeltingPoint < 0) mMeltingPoint = (short) (tMeltingPoint / tAmountOfComponents);
tAmountOfComponents *= aDensityMultiplier;
tAmountOfComponents /= aDensityDivider;
- if (aAspects == null)
- for (TC_Aspects.TC_AspectStack tAspect : mAspects)
- tAspect.mAmount = Math.max(1, tAspect.mAmount / Math.max(1, tAmountOfComponents));
+ if (aAspects == null) for (TC_Aspects.TC_AspectStack tAspect : mAspects)
+ tAspect.mAmount = Math.max(1, tAspect.mAmount / Math.max(1, tAmountOfComponents));
else mAspects.addAll(aAspects);
}
private static void setSmeltingInto() {
SamariumMagnetic.setSmeltingInto(Samarium).setMaceratingInto(Samarium).setArcSmeltingInto(Samarium);
- NeodymiumMagnetic.setSmeltingInto(Neodymium)
- .setMaceratingInto(Neodymium)
- .setArcSmeltingInto(Neodymium);
+ NeodymiumMagnetic.setSmeltingInto(Neodymium).setMaceratingInto(Neodymium).setArcSmeltingInto(Neodymium);
SteelMagnetic.setSmeltingInto(Steel).setMaceratingInto(Steel).setArcSmeltingInto(Steel);
Iron.setSmeltingInto(Iron).setMaceratingInto(Iron).setArcSmeltingInto(WroughtIron);
AnyIron.setSmeltingInto(Iron).setMaceratingInto(Iron).setArcSmeltingInto(WroughtIron);
@@ -1536,8 +1362,7 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
IronMagnetic.setSmeltingInto(Iron).setMaceratingInto(Iron).setArcSmeltingInto(WroughtIron);
Copper.setSmeltingInto(Copper).setMaceratingInto(Copper).setArcSmeltingInto(AnnealedCopper);
AnyCopper.setSmeltingInto(Copper).setMaceratingInto(Copper).setArcSmeltingInto(AnnealedCopper);
- AnnealedCopper.setSmeltingInto(AnnealedCopper)
- .setMaceratingInto(AnnealedCopper)
+ AnnealedCopper.setSmeltingInto(AnnealedCopper).setMaceratingInto(AnnealedCopper)
.setArcSmeltingInto(AnnealedCopper);
Netherrack.setSmeltingInto(NetherBrick);
MeatRaw.setSmeltingInto(MeatCooked);
@@ -1553,14 +1378,10 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
private static void setDirectSmelting() {
- Cinnabar.setDirectSmelting(Mercury)
- .add(SubTag.INDUCTIONSMELTING_LOW_OUTPUT)
- .add(SubTag.SMELTING_TO_GEM);
- Tetrahedrite.setDirectSmelting(Copper)
- .add(SubTag.INDUCTIONSMELTING_LOW_OUTPUT)
+ Cinnabar.setDirectSmelting(Mercury).add(SubTag.INDUCTIONSMELTING_LOW_OUTPUT).add(SubTag.SMELTING_TO_GEM);
+ Tetrahedrite.setDirectSmelting(Copper).add(SubTag.INDUCTIONSMELTING_LOW_OUTPUT)
.add(SubTag.DONT_ADD_DEFAULT_BBF_RECIPE);
- Chalcopyrite.setDirectSmelting(Copper)
- .add(SubTag.INDUCTIONSMELTING_LOW_OUTPUT)
+ Chalcopyrite.setDirectSmelting(Copper).add(SubTag.INDUCTIONSMELTING_LOW_OUTPUT)
.add(SubTag.DONT_ADD_DEFAULT_BBF_RECIPE);
Malachite.setDirectSmelting(Copper).add(SubTag.INDUCTIONSMELTING_LOW_OUTPUT);
Pentlandite.setDirectSmelting(Nickel).add(SubTag.INDUCTIONSMELTING_LOW_OUTPUT);
@@ -1703,8 +1524,7 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
/**
- * DO NOT ADD MORE THAN 1 TOOL AND ARMOR ENCHANTMENT PER MATERIAL!
- * It will get overwritten!
+ * DO NOT ADD MORE THAN 1 TOOL AND ARMOR ENCHANTMENT PER MATERIAL! It will get overwritten!
*/
private static void setEnchantments() {
setToolEnchantments();
@@ -2001,10 +1821,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
Longasssuperconductornameforuvwire.mChemicalFormula = "Nq*\u2084(Ir\u2083Os)\u2083EuSm";
Longasssuperconductornameforuhvwire.mChemicalFormula = "D\u2086(SpNt)\u2087Tn\u2085Am\u2086";
SuperconductorUEVBase.mChemicalFormula = "D*\u2085If*\u2085(✦◆✦)(⚷⚙⚷ Ni4Ti6)";
- SuperconductorUIVBase.mChemicalFormula =
- "(C\u2081\u2084Os\u2081\u2081O\u2087Ag\u2083SpH\u2082O)\u2084?\u2081\u2080(Fs⚶)\u2086(⌘☯☯⌘)\u2085";
- SuperconductorUMVBase.mChemicalFormula =
- "?\u2086Or\u2083(Hy⚶)\u2081\u2081(((CW)\u2087Ti\u2083)\u2083???)\u2085۞\u2082";
+ SuperconductorUIVBase.mChemicalFormula = "(C\u2081\u2084Os\u2081\u2081O\u2087Ag\u2083SpH\u2082O)\u2084?\u2081\u2080(Fs⚶)\u2086(⌘☯☯⌘)\u2085";
+ SuperconductorUMVBase.mChemicalFormula = "?\u2086Or\u2083(Hy⚶)\u2081\u2081(((CW)\u2087Ti\u2083)\u2083???)\u2085۞\u2082";
Diatomite.mChemicalFormula = "(SiO\u2082)\u2088Fe\u2082O\u2083(Al\u2082O\u2083)";
EnrichedHolmium.mChemicalFormula = "Nq+\u2088Ho\u2082";
Grade1PurifiedWater.mChemicalFormula = "Hâ‚‚O";
@@ -2020,8 +1838,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
private static void initSubTags() {
SubTag.ELECTROMAGNETIC_SEPERATION_NEODYMIUM.addTo(Bastnasite, Monazite, Forcicium, Forcillium);
- SubTag.ELECTROMAGNETIC_SEPERATION_GOLD.addTo(
- Magnetite, VanadiumMagnetite, BasalticMineralSand, GraniticMineralSand);
+ SubTag.ELECTROMAGNETIC_SEPERATION_GOLD
+ .addTo(Magnetite, VanadiumMagnetite, BasalticMineralSand, GraniticMineralSand);
SubTag.NO_RECIPES.addTo(MagnetohydrodynamicallyConstrainedStarMatter);
@@ -2043,8 +1861,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
Chromite,
Andradite);
- SubTag.BLASTFURNACE_CALCITE_DOUBLE.addTo(
- Pyrite, BrownLimonite, YellowLimonite, BasalticMineralSand, GraniticMineralSand, Magnetite);
+ SubTag.BLASTFURNACE_CALCITE_DOUBLE
+ .addTo(Pyrite, BrownLimonite, YellowLimonite, BasalticMineralSand, GraniticMineralSand, Magnetite);
SubTag.BLASTFURNACE_CALCITE_TRIPLE.addTo(Iron, PigIron, DeepIron, ShadowIron, WroughtIron, MeteoricIron);
@@ -2420,14 +2238,14 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
Monazite.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE);
Quartzite.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE, SubTag.QUARTZ);
Quartz.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE, SubTag.QUARTZ);
- SiliconDioxide.add(
- SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE, SubTag.QUARTZ);
+ SiliconDioxide
+ .add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE, SubTag.QUARTZ);
Dilithium.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE, SubTag.QUARTZ);
NetherQuartz.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE, SubTag.QUARTZ);
CertusQuartz.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE, SubTag.QUARTZ);
Fluix.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.CRYSTALLISABLE, SubTag.QUARTZ);
- TricalciumPhosphate.add(
- SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.FLAMMABLE, SubTag.EXPLOSIVE);
+ TricalciumPhosphate
+ .add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.FLAMMABLE, SubTag.EXPLOSIVE);
Phosphate.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.FLAMMABLE, SubTag.EXPLOSIVE);
InfusedAir.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.MAGICAL, SubTag.UNBURNABLE);
InfusedFire.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_SMELTING, SubTag.MAGICAL, SubTag.UNBURNABLE);
@@ -2471,7 +2289,7 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
SuperconductorIV.add(SubTag.NO_SMASHING, SubTag.NO_SMELTING);
SuperconductorLuV.add(SubTag.NO_SMASHING, SubTag.NO_SMELTING);
SuperconductorZPM.add(SubTag.NO_SMASHING, SubTag.NO_SMELTING);
- // SuperconductorUV .add(SubTag.NO_SMASHING, SubTag.NO_SMELTING);
+ // SuperconductorUV .add(SubTag.NO_SMASHING, SubTag.NO_SMELTING);
SuperconductorUHV.add(SubTag.NO_SMASHING, SubTag.NO_SMELTING);
Blaze.add(SubTag.MAGICAL, SubTag.SMELTING_TO_FLUID, SubTag.MORTAR_GRINDABLE, SubTag.UNBURNABLE, SubTag.BURNING);
@@ -2490,21 +2308,19 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
public static void init() {
new ProcessingConfig();
if (!GT_Mod.gregtechproxy.mEnableAllMaterials) new ProcessingModSupport();
- mMaterialHandlers.forEach(
- IMaterialHandler::onMaterialsInit); // This is where addon mods can add/manipulate materials
+ mMaterialHandlers.forEach(IMaterialHandler::onMaterialsInit); // This is where addon mods can add/manipulate
+ // materials
initMaterialProperties(); // No more material addition or manipulation should be done past this point!
- MATERIALS_ARRAY = MATERIALS_MAP
- .values()
- .toArray(new Materials[0]); // Generate standard object array. This is a lot faster to loop over.
+ MATERIALS_ARRAY = MATERIALS_MAP.values().toArray(new Materials[0]); // Generate standard object array. This is a
+ // lot faster to loop over.
VALUES = Arrays.asList(MATERIALS_ARRAY);
if (!Loader.isModLoaded(MOD_ID_DC) && !GT_Mod.gregtechproxy.mEnableAllComponents)
OrePrefixes.initMaterialComponents();
else {
- OrePrefixes.ingotHot.mDisabledItems.addAll(Arrays.stream(Materials.values())
- .parallel()
- .filter(OrePrefixes.ingotHot::doGenerateItem)
- .filter(m -> m.mBlastFurnaceTemp < 1750 && m.mAutoGenerateBlastFurnaceRecipes)
- .collect(Collectors.toSet()));
+ OrePrefixes.ingotHot.mDisabledItems.addAll(
+ Arrays.stream(Materials.values()).parallel().filter(OrePrefixes.ingotHot::doGenerateItem)
+ .filter(m -> m.mBlastFurnaceTemp < 1750 && m.mAutoGenerateBlastFurnaceRecipes)
+ .collect(Collectors.toSet()));
OrePrefixes.ingotHot.disableComponent(Materials.Reinforced);
OrePrefixes.ingotHot.disableComponent(Materials.ConductiveIron);
OrePrefixes.ingotHot.disableComponent(Materials.FierySteel);
@@ -2545,13 +2361,17 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
if (aMaterial.mHasParentMod) {
if (GregTech_API.sGeneratedMaterials[aMaterial.mMetaItemSubID] == null) {
GregTech_API.sGeneratedMaterials[aMaterial.mMetaItemSubID] = aMaterial;
- } else
- throw new IllegalArgumentException("The Material Index " + aMaterial.mMetaItemSubID
- + " for " + aMaterial.mName + " is already used!");
+ } else throw new IllegalArgumentException(
+ "The Material Index " + aMaterial.mMetaItemSubID
+ + " for "
+ + aMaterial.mName
+ + " is already used!");
}
- } else
- throw new IllegalArgumentException("The Material Index " + aMaterial.mMetaItemSubID + " for "
- + aMaterial.mName + " is/over the maximum of 1000");
+ } else throw new IllegalArgumentException(
+ "The Material Index " + aMaterial.mMetaItemSubID
+ + " for "
+ + aMaterial.mName
+ + " is/over the maximum of 1000");
}
}
}
@@ -2562,22 +2382,22 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
private static void addTemperatureValues(Materials aMaterial, String aConfigPath) {
- aMaterial.mMeltingPoint =
- GregTech_API.sMaterialProperties.get(aConfigPath, "MeltingPoint", aMaterial.mMeltingPoint);
- aMaterial.mBlastFurnaceRequired = GregTech_API.sMaterialProperties.get(
- aConfigPath, "BlastFurnaceRequired", aMaterial.mBlastFurnaceRequired);
- aMaterial.mBlastFurnaceTemp = (short)
- GregTech_API.sMaterialProperties.get(aConfigPath, "BlastFurnaceTemp", aMaterial.mBlastFurnaceTemp);
+ aMaterial.mMeltingPoint = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "MeltingPoint", aMaterial.mMeltingPoint);
+ aMaterial.mBlastFurnaceRequired = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "BlastFurnaceRequired", aMaterial.mBlastFurnaceRequired);
+ aMaterial.mBlastFurnaceTemp = (short) GregTech_API.sMaterialProperties
+ .get(aConfigPath, "BlastFurnaceTemp", aMaterial.mBlastFurnaceTemp);
aMaterial.mGasTemp = GregTech_API.sMaterialProperties.get(aConfigPath, "GasTemp", aMaterial.mGasTemp);
aMaterial.setHeatDamage(
(float) GregTech_API.sMaterialProperties.get(aConfigPath, "HeatDamage", aMaterial.mHeatDamage));
}
private static void addDensityValues(Materials aMaterial, String aConfigPath) {
- aMaterial.mDensityMultiplier =
- GregTech_API.sMaterialProperties.get(aConfigPath, "DensityMultiplier", aMaterial.mDensityMultiplier);
- aMaterial.mDensityDivider =
- GregTech_API.sMaterialProperties.get(aConfigPath, "DensityDivider", aMaterial.mDensityDivider);
+ aMaterial.mDensityMultiplier = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "DensityMultiplier", aMaterial.mDensityMultiplier);
+ aMaterial.mDensityDivider = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "DensityDivider", aMaterial.mDensityDivider);
aMaterial.mDensity = (long) GregTech_API.sMaterialProperties.get(
aConfigPath,
"Density",
@@ -2586,17 +2406,21 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
private static void addColorValues(Materials aMaterial, String aConfigPath) {
- aMaterial.mTransparent =
- GregTech_API.sMaterialProperties.get(aConfigPath, "Transparent", aMaterial.mTransparent);
- String aColor = GregTech_API.sMaterialProperties.get(
- aConfigPath, "DyeColor", aMaterial.mColor == Dyes._NULL ? "None" : aMaterial.mColor.toString());
+ aMaterial.mTransparent = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "Transparent", aMaterial.mTransparent);
+ String aColor = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "DyeColor", aMaterial.mColor == Dyes._NULL ? "None" : aMaterial.mColor.toString());
aMaterial.mColor = aColor.equals("None") ? Dyes._NULL : Dyes.get(aColor);
- String[] aRGBA = GregTech_API.sMaterialProperties
- .get(
- aConfigPath,
- "MatRGBA",
- aMaterial.mRGBa[0] + "," + aMaterial.mRGBa[1] + "," + aMaterial.mRGBa[2] + ","
- + aMaterial.mRGBa[3] + ",")
+ String[] aRGBA = GregTech_API.sMaterialProperties.get(
+ aConfigPath,
+ "MatRGBA",
+ aMaterial.mRGBa[0] + ","
+ + aMaterial.mRGBa[1]
+ + ","
+ + aMaterial.mRGBa[2]
+ + ","
+ + aMaterial.mRGBa[3]
+ + ",")
.split(",");
aMaterial.mRGBa[0] = Short.parseShort(aRGBA[0]);
aMaterial.mRGBa[1] = Short.parseShort(aRGBA[1]);
@@ -2605,26 +2429,20 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
private static void addToolValues(Materials aMaterial, String aConfigPath) {
- aMaterial.mDurability =
- GregTech_API.sMaterialProperties.get(aConfigPath, "ToolDurability", aMaterial.mDurability);
- aMaterial.mToolSpeed =
- (float) GregTech_API.sMaterialProperties.get(aConfigPath, "ToolSpeed", aMaterial.mToolSpeed);
- aMaterial.mToolQuality =
- (byte) GregTech_API.sMaterialProperties.get(aConfigPath, "ToolQuality", aMaterial.mToolQuality);
+ aMaterial.mDurability = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "ToolDurability", aMaterial.mDurability);
+ aMaterial.mToolSpeed = (float) GregTech_API.sMaterialProperties
+ .get(aConfigPath, "ToolSpeed", aMaterial.mToolSpeed);
+ aMaterial.mToolQuality = (byte) GregTech_API.sMaterialProperties
+ .get(aConfigPath, "ToolQuality", aMaterial.mToolQuality);
// Moved from GT_Proxy? (Not sure)
- aMaterial.mHandleMaterial = (aMaterial == Desh
- ? aMaterial.mHandleMaterial
- : aMaterial == Diamond || aMaterial == Thaumium
- ? Wood
- : aMaterial.contains(SubTag.BURNING)
- ? Blaze
- : aMaterial.contains(SubTag.MAGICAL)
- && aMaterial.contains(SubTag.CRYSTAL)
- && Loader.isModLoaded(GT_Values.MOD_ID_TC)
- ? Thaumium
- : aMaterial.getMass() > Element.Tc.getMass() * 2
- ? TungstenSteel
- : aMaterial.getMass() > Element.Tc.getMass() ? Steel : Wood);
+ aMaterial.mHandleMaterial = (aMaterial == Desh ? aMaterial.mHandleMaterial
+ : aMaterial == Diamond || aMaterial == Thaumium ? Wood
+ : aMaterial.contains(SubTag.BURNING) ? Blaze
+ : aMaterial.contains(SubTag.MAGICAL) && aMaterial.contains(SubTag.CRYSTAL)
+ && Loader.isModLoaded(GT_Values.MOD_ID_TC) ? Thaumium
+ : aMaterial.getMass() > Element.Tc.getMass() * 2 ? TungstenSteel
+ : aMaterial.getMass() > Element.Tc.getMass() ? Steel : Wood);
if (aMaterial == Materials.SpaceTime) {
aMaterial.mHandleMaterial = Materials.Infinity;
@@ -2636,8 +2454,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
private static void addEnchantmentValues(Materials aMaterial, String aConfigPath) {
- aMaterial.mEnchantmentToolsLevel = (byte)
- GregTech_API.sMaterialProperties.get(aConfigPath, "EnchantmentLevel", aMaterial.mEnchantmentToolsLevel);
+ aMaterial.mEnchantmentToolsLevel = (byte) GregTech_API.sMaterialProperties
+ .get(aConfigPath, "EnchantmentLevel", aMaterial.mEnchantmentToolsLevel);
String aEnchantmentName = GregTech_API.sMaterialProperties.get(
aConfigPath,
"Enchantment",
@@ -2651,24 +2469,29 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
private static void addProcessingIntoValues(Materials aMaterial, String aConfigPath) {
aMaterial.mSmeltInto = MATERIALS_MAP.get(
GregTech_API.sMaterialProperties.get(aConfigPath, "MaterialSmeltInto", aMaterial.mSmeltInto.mName));
- aMaterial.mMacerateInto = MATERIALS_MAP.get(GregTech_API.sMaterialProperties.get(
- aConfigPath, "MaterialMacerateInto", aMaterial.mMacerateInto.mName));
- aMaterial.mArcSmeltInto = MATERIALS_MAP.get(GregTech_API.sMaterialProperties.get(
- aConfigPath, "MaterialArcSmeltInto", aMaterial.mArcSmeltInto.mName));
- aMaterial.mDirectSmelting = MATERIALS_MAP.get(GregTech_API.sMaterialProperties.get(
- aConfigPath, "MaterialDirectSmeltInto", aMaterial.mDirectSmelting.mName));
- aMaterial.mAutoGenerateBlastFurnaceRecipes = GregTech_API.sMaterialProperties.get(
- aConfigPath, "AutoGenerateBlastFurnaceRecipes", aMaterial.mAutoGenerateBlastFurnaceRecipes);
+ aMaterial.mMacerateInto = MATERIALS_MAP.get(
+ GregTech_API.sMaterialProperties
+ .get(aConfigPath, "MaterialMacerateInto", aMaterial.mMacerateInto.mName));
+ aMaterial.mArcSmeltInto = MATERIALS_MAP.get(
+ GregTech_API.sMaterialProperties
+ .get(aConfigPath, "MaterialArcSmeltInto", aMaterial.mArcSmeltInto.mName));
+ aMaterial.mDirectSmelting = MATERIALS_MAP.get(
+ GregTech_API.sMaterialProperties
+ .get(aConfigPath, "MaterialDirectSmeltInto", aMaterial.mDirectSmelting.mName));
+ aMaterial.mAutoGenerateBlastFurnaceRecipes = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "AutoGenerateBlastFurnaceRecipes", aMaterial.mAutoGenerateBlastFurnaceRecipes);
}
private static void addMultiplierValues(Materials aMaterial, String aConfigPath) {
aMaterial.mOreValue = GregTech_API.sMaterialProperties.get(aConfigPath, "OreValue", aMaterial.mOreValue);
aMaterial.setOreMultiplier(
GregTech_API.sMaterialProperties.get(aConfigPath, "OreMultiplier", aMaterial.mOreMultiplier));
- aMaterial.setSmeltingMultiplier(GregTech_API.sMaterialProperties.get(
- aConfigPath, "OreSmeltingMultiplier", aMaterial.mSmeltingMultiplier));
- aMaterial.setByProductMultiplier(GregTech_API.sMaterialProperties.get(
- aConfigPath, "OreByProductMultiplier", aMaterial.mByProductMultiplier));
+ aMaterial.setSmeltingMultiplier(
+ GregTech_API.sMaterialProperties
+ .get(aConfigPath, "OreSmeltingMultiplier", aMaterial.mSmeltingMultiplier));
+ aMaterial.setByProductMultiplier(
+ GregTech_API.sMaterialProperties
+ .get(aConfigPath, "OreByProductMultiplier", aMaterial.mByProductMultiplier));
}
private static void addHasGasFluid(Materials aMaterial, String aConfigPath) {
@@ -2681,22 +2504,26 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
aMaterial.mHasGas = GregTech_API.sMaterialProperties.get(aConfigPath, "AddGas", aMaterial.mHasGas);
if (aMaterial.mHasGas) {
GT_FluidFactory.of(
- aMaterial.mName.toLowerCase(), aMaterial.mDefaultLocalName, aMaterial, GAS, aMaterial.mGasTemp);
+ aMaterial.mName.toLowerCase(),
+ aMaterial.mDefaultLocalName,
+ aMaterial,
+ GAS,
+ aMaterial.mGasTemp);
}
}
}
private static void addInternalStuff(Materials aMaterial, String aConfigPath) {
- aMaterial.mMetaItemSubID = GregTech_API.sMaterialProperties.get(
- aConfigPath, "MaterialID", aMaterial.mCustomOre ? -1 : aMaterial.mMetaItemSubID);
+ aMaterial.mMetaItemSubID = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "MaterialID", aMaterial.mCustomOre ? -1 : aMaterial.mMetaItemSubID);
aMaterial.mTypes = GregTech_API.sMaterialProperties.get(
aConfigPath,
"MaterialTypes",
aMaterial.mCustomOre ? 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 : aMaterial.mTypes);
- aMaterial.mUnificatable =
- GregTech_API.sMaterialProperties.get(aConfigPath, "Unificatable", aMaterial.mUnificatable);
- aMaterial.mHasParentMod =
- GregTech_API.sMaterialProperties.get(aConfigPath, "HasParentMod", aMaterial.mHasParentMod);
+ aMaterial.mUnificatable = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "Unificatable", aMaterial.mUnificatable);
+ aMaterial.mHasParentMod = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "HasParentMod", aMaterial.mHasParentMod);
}
private static void addLocalisation(Materials aMaterial, String aConfigPath) {
@@ -2704,8 +2531,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
aConfigPath,
"MaterialName",
aMaterial.mCustomOre ? "CustomOre" + aMaterial.mCustomID : aMaterial.mDefaultLocalName);
- aMaterial.mChemicalFormula =
- GregTech_API.sMaterialProperties.get(aConfigPath, "ChemicalFormula", aMaterial.mChemicalFormula);
+ aMaterial.mChemicalFormula = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "ChemicalFormula", aMaterial.mChemicalFormula);
}
private static String getConfigPath(Materials aMaterial) {
@@ -2715,22 +2542,21 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
private static void addHarvestLevelNerfs(Materials aMaterial, String aConfigPath) {
/* Moved the harvest level changes from GT_Mod to have fewer things iterating over MATERIALS_ARRAY */
- if (GT_Mod.gregtechproxy.mChangeHarvestLevels
- && aMaterial.mToolQuality > 0
+ if (GT_Mod.gregtechproxy.mChangeHarvestLevels && aMaterial.mToolQuality > 0
&& aMaterial.mMetaItemSubID < GT_Mod.gregtechproxy.mHarvestLevel.length
&& aMaterial.mMetaItemSubID >= 0) {
- GT_Mod.gregtechproxy.mHarvestLevel[aMaterial.mMetaItemSubID] =
- GregTech_API.sMaterialProperties.get(aConfigPath, "HarvestLevel", aMaterial.mToolQuality);
+ GT_Mod.gregtechproxy.mHarvestLevel[aMaterial.mMetaItemSubID] = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "HarvestLevel", aMaterial.mToolQuality);
}
}
private static void addHarvestLevels() {
- GT_Mod.gregtechproxy.mChangeHarvestLevels =
- GregTech_API.sMaterialProperties.get("harvestlevel", "ActivateHarvestLevelChange", false);
- GT_Mod.gregtechproxy.mMaxHarvestLevel =
- Math.min(15, GregTech_API.sMaterialProperties.get("harvestlevel", "MaxHarvestLevel", 7));
- GT_Mod.gregtechproxy.mGraniteHavestLevel =
- GregTech_API.sMaterialProperties.get("harvestlevel", "GraniteHarvestLevel", 3);
+ GT_Mod.gregtechproxy.mChangeHarvestLevels = GregTech_API.sMaterialProperties
+ .get("harvestlevel", "ActivateHarvestLevelChange", false);
+ GT_Mod.gregtechproxy.mMaxHarvestLevel = Math
+ .min(15, GregTech_API.sMaterialProperties.get("harvestlevel", "MaxHarvestLevel", 7));
+ GT_Mod.gregtechproxy.mGraniteHavestLevel = GregTech_API.sMaterialProperties
+ .get("harvestlevel", "GraniteHarvestLevel", 3);
}
public static void initMaterialProperties() {
@@ -2762,17 +2588,15 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
private static void aspectCalculation(Materials aMaterial, String aConfigPath) {
- String aDefaultAspectString = aMaterial.mAspects.stream()
- .map(aAspectStack -> aAspectStack.mAspect.toString())
+ String aDefaultAspectString = aMaterial.mAspects.stream().map(aAspectStack -> aAspectStack.mAspect.toString())
.collect(Collectors.joining(",", ",", ""));
String aDefaultAspectAmountString = aMaterial.mAspects.stream()
- .map(aAspectStack -> String.valueOf(aAspectStack.mAmount))
- .collect(Collectors.joining(",", ",", ""));
+ .map(aAspectStack -> String.valueOf(aAspectStack.mAmount)).collect(Collectors.joining(",", ",", ""));
- String aConfigAspectString =
- GregTech_API.sMaterialProperties.get(aConfigPath, "ListTCAspects", aDefaultAspectString);
- String aConfigAspectAmountString =
- GregTech_API.sMaterialProperties.get(aConfigPath, "ListTCAspectAmounts", aDefaultAspectAmountString);
+ String aConfigAspectString = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "ListTCAspects", aDefaultAspectString);
+ String aConfigAspectAmountString = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "ListTCAspectAmounts", aDefaultAspectAmountString);
if (!aConfigAspectString.equals(aDefaultAspectString)
|| !aConfigAspectAmountString.equals(aDefaultAspectAmountString)) {
@@ -2791,60 +2615,55 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
private static void OreReRegistrationsCalculation(Materials aMaterial, String aConfigPath) {
- String aDefaultMatReRegString = aMaterial.mOreReRegistrations.stream()
- .map(aTag -> aTag.mName)
+ String aDefaultMatReRegString = aMaterial.mOreReRegistrations.stream().map(aTag -> aTag.mName)
.collect(Collectors.joining(",", ",", ""));
- String aConfigMatMatReRegString = GregTech_API.sMaterialProperties.get(
- aConfigPath, "ListMaterialReRegistrations", aDefaultMatReRegString);
+ String aConfigMatMatReRegString = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "ListMaterialReRegistrations", aDefaultMatReRegString);
if (!aConfigMatMatReRegString.equals(aDefaultMatReRegString)) {
aMaterial.mOreReRegistrations.clear();
if (aConfigMatMatReRegString.length() > 0) {
- Arrays.stream(aConfigMatMatReRegString.split(","))
- .map(MATERIALS_MAP::get)
- .filter(Objects::nonNull)
+ Arrays.stream(aConfigMatMatReRegString.split(",")).map(MATERIALS_MAP::get).filter(Objects::nonNull)
.forEach(aMat -> aMaterial.mOreReRegistrations.add(aMat));
}
}
}
private static void OreByProductsCalculation(Materials aMaterial, String aConfigPath) {
- String aDefaultMatByProString =
- aMaterial.mOreByProducts.stream().map(aTag -> aTag.mName).collect(Collectors.joining(",", ",", ""));
- String aConfigMatByProString =
- GregTech_API.sMaterialProperties.get(aConfigPath, "ListMaterialByProducts", aDefaultMatByProString);
+ String aDefaultMatByProString = aMaterial.mOreByProducts.stream().map(aTag -> aTag.mName)
+ .collect(Collectors.joining(",", ",", ""));
+ String aConfigMatByProString = GregTech_API.sMaterialProperties
+ .get(aConfigPath, "ListMaterialByProducts", aDefaultMatByProString);
if (!aConfigMatByProString.equals(aDefaultMatByProString)) {
aMaterial.mOreByProducts.clear();
if (aConfigMatByProString.length() > 0) {
- Arrays.stream(aConfigMatByProString.split(","))
- .map(MATERIALS_MAP::get)
- .filter(Objects::nonNull)
+ Arrays.stream(aConfigMatByProString.split(",")).map(MATERIALS_MAP::get).filter(Objects::nonNull)
.forEach(aMat -> aMaterial.mOreByProducts.add(aMat));
}
}
}
/**
- * Converts the pre-defined list of SubTags from a material into a list of SubTag names for setting/getting to/from the config.
- * It is then converted to a String[] and finally to a singular String for insertion into the config
- * If the config string is different from the default, we then want to clear the Materials SubTags and insert new ones from the config string.
+ * Converts the pre-defined list of SubTags from a material into a list of SubTag names for setting/getting to/from
+ * the config. It is then converted to a String[] and finally to a singular String for insertion into the config If
+ * the config string is different from the default, we then want to clear the Materials SubTags and insert new ones
+ * from the config string.
*/
private static void SubTagCalculation(Materials aMaterial, String aConfigPath) {
- String aDefaultTagString =
- aMaterial.mSubTags.stream().map(aTag -> aTag.mName).collect(Collectors.joining(",", ",", ""));
+ String aDefaultTagString = aMaterial.mSubTags.stream().map(aTag -> aTag.mName)
+ .collect(Collectors.joining(",", ",", ""));
String aConfigTagString = GregTech_API.sMaterialProperties.get(aConfigPath, "ListSubTags", aDefaultTagString);
if (!aConfigTagString.equals(aDefaultTagString)) {
aMaterial.mSubTags.clear();
if (aConfigTagString.length() > 0) {
- Arrays.stream(aConfigTagString.split(","))
- .map(SubTag.sSubTags::get)
- .filter(Objects::nonNull)
+ Arrays.stream(aConfigTagString.split(",")).map(SubTag.sSubTags::get).filter(Objects::nonNull)
.forEach(aTag -> aMaterial.mSubTags.add(aTag));
}
}
}
/**
- * This is for keeping compatibility with addons mods (Such as TinkersGregworks etc.) that looped over the old materials enum
+ * This is for keeping compatibility with addons mods (Such as TinkersGregworks etc.) that looped over the old
+ * materials enum
*/
@Deprecated
public static Materials valueOf(String aMaterialName) {
@@ -2852,7 +2671,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
/**
- * This is for keeping compatibility with addons mods (Such as TinkersGregworks etc.) that looped over the old materials enum
+ * This is for keeping compatibility with addons mods (Such as TinkersGregworks etc.) that looped over the old
+ * materials enum
*/
public static Materials[] values() {
return MATERIALS_ARRAY;
@@ -2918,7 +2738,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
/**
- * This is for keeping compatibility with addons mods (Such as TinkersGregworks etc.) that looped over the old materials enum
+ * This is for keeping compatibility with addons mods (Such as TinkersGregworks etc.) that looped over the old
+ * materials enum
*/
@Deprecated
public String name() {
@@ -2984,9 +2805,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
if (!aShowQuestionMarks && mChemicalFormula.equals("?")) return "";
if (aMultiplier >= M * 2 && !mMaterialList.isEmpty()) {
return ((mElement != null || (mMaterialList.size() < 2 && mMaterialList.get(0).mAmount == 1))
- ? mChemicalFormula
- : "(" + mChemicalFormula + ")")
- + aMultiplier;
+ ? mChemicalFormula
+ : "(" + mChemicalFormula + ")") + aMultiplier;
}
return mChemicalFormula;
}
@@ -3004,8 +2824,9 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
*/
public boolean contains(ItemStack... aStacks) {
if (aStacks == null || aStacks.length == 0) return false;
- return mMaterialItems.stream().anyMatch(tStack -> Arrays.stream(aStacks)
- .anyMatch(aStack -> GT_Utility.areStacksEqual(aStack, tStack, !tStack.hasTagCompound())));
+ return mMaterialItems.stream().anyMatch(
+ tStack -> Arrays.stream(aStacks)
+ .anyMatch(aStack -> GT_Utility.areStacksEqual(aStack, tStack, !tStack.hasTagCompound())));
}
/**
@@ -3015,11 +2836,10 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
if (aStack == null) return false;
boolean temp = false;
int mMaterialItems_sS = mMaterialItems.size();
- for (int i = 0; i < mMaterialItems_sS; i++)
- if (GT_Utility.areStacksEqual(aStack, mMaterialItems.get(i))) {
- mMaterialItems.remove(i--);
- temp = true;
- }
+ for (int i = 0; i < mMaterialItems_sS; i++) if (GT_Utility.areStacksEqual(aStack, mMaterialItems.get(i))) {
+ mMaterialItems.remove(i--);
+ temp = true;
+ }
return temp;
}
@@ -3028,12 +2848,10 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
*/
@Override
public ISubTagContainer add(SubTag... aTags) {
- if (aTags != null)
- for (SubTag aTag : aTags)
- if (aTag != null && !contains(aTag)) {
- aTag.addContainerToList(this);
- mSubTags.add(aTag);
- }
+ if (aTags != null) for (SubTag aTag : aTags) if (aTag != null && !contains(aTag)) {
+ aTag.addContainerToList(this);
+ mSubTags.add(aTag);
+ }
return this;
}
@@ -3063,8 +2881,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
/**
- * Adds a Material to the List of Byproducts when grinding this Ore.
- * Is used for more precise Ore grinding, so that it is possible to choose between certain kinds of Materials.
+ * Adds a Material to the List of Byproducts when grinding this Ore. Is used for more precise Ore grinding, so that
+ * it is possible to choose between certain kinds of Materials.
*/
@SuppressWarnings("UnusedReturnValue") // Maintains signature
public Materials addOreByProduct(Materials aMaterial) {
@@ -3073,8 +2891,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
/**
- * Adds multiple Materials to the List of Byproducts when grinding this Ore.
- * Is used for more precise Ore grinding, so that it is possible to choose between certain kinds of Materials.
+ * Adds multiple Materials to the List of Byproducts when grinding this Ore. Is used for more precise Ore grinding,
+ * so that it is possible to choose between certain kinds of Materials.
*/
public Materials addOreByProducts(Materials... aMaterials) {
for (Materials tMaterial : aMaterials) if (tMaterial != null) addOreByProduct(tMaterial);
@@ -3082,8 +2900,7 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
/**
- * If this Ore gives multiple drops of its Main Material.
- * Lapis Ore for example gives about 6 drops.
+ * If this Ore gives multiple drops of its Main Material. Lapis Ore for example gives about 6 drops.
*/
public Materials setOreMultiplier(int aOreMultiplier) {
if (aOreMultiplier > 0) mOreMultiplier = aOreMultiplier;
@@ -3100,8 +2917,7 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
/**
- * If this Ore gives multiple drops of its Main Material.
- * Lapis Ore for example gives about 6 drops.
+ * If this Ore gives multiple drops of its Main Material. Lapis Ore for example gives about 6 drops.
*/
public Materials setSmeltingMultiplier(int aSmeltingMultiplier) {
if (aSmeltingMultiplier > 0) mSmeltingMultiplier = aSmeltingMultiplier;
@@ -3117,8 +2933,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
/**
- * This Material should be the Main Material this Ore gets ground into.
- * Example, Chromite giving Chrome or Tungstate giving Tungsten.
+ * This Material should be the Main Material this Ore gets ground into. Example, Chromite giving Chrome or Tungstate
+ * giving Tungsten.
*/
@SuppressWarnings("UnusedReturnValue") // Maintains signature
public Materials setOreReplacement(Materials aMaterial) {
@@ -3306,12 +3122,13 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
return new FluidStack(steamCrackedFluids[2], amount);
}
- /** Check that the material is a proper soldering fluid
- ** @return true if Materials is a proper soldering fluid
+ /**
+ * Check that the material is a proper soldering fluid
+ **
+ * @return true if Materials is a proper soldering fluid
*/
public boolean isProperSolderingFluid() {
- return mStandardMoltenFluid != null
- && contains(SubTag.SOLDERING_MATERIAL)
+ return mStandardMoltenFluid != null && contains(SubTag.SOLDERING_MATERIAL)
&& !(GregTech_API.mUseOnlyGoodSolderingMaterials && !contains(SubTag.SOLDERING_MATERIAL_GOOD));
}
diff --git a/src/main/java/gregtech/api/enums/MaterialsBotania.java b/src/main/java/gregtech/api/enums/MaterialsBotania.java
index ef07ec4297..f6ae06408e 100644
--- a/src/main/java/gregtech/api/enums/MaterialsBotania.java
+++ b/src/main/java/gregtech/api/enums/MaterialsBotania.java
@@ -2,75 +2,45 @@ package gregtech.api.enums;
import static gregtech.api.enums.OrePrefixes.*;
-import gregtech.api.enums.TC_Aspects.TC_AspectStack;
import java.util.Arrays;
+import gregtech.api.enums.TC_Aspects.TC_AspectStack;
+
public class MaterialsBotania {
// Botania materials.
public static Materials Manasteel = new MaterialBuilder(201, TextureSet.SET_METALLIC, "Manasteel")
- .setName("Manasteel")
- .setRGBA(150, 219, 252, 255)
- .addDustItems()
- .addMetalItems()
- .addToolHeadItems()
- .addGearItems()
- .setToolSpeed(8.0F)
- .setDurability(5120)
- .setToolQuality(4)
- .setMeltingPoint(1500)
- .setBlastFurnaceTemp(1500)
- .setBlastFurnaceRequired(true)
- .setAspects(Arrays.asList(
- new TC_AspectStack(TC_Aspects.METALLUM, 3), new TC_AspectStack(TC_Aspects.PRAECANTATIO, 1)))
+ .setName("Manasteel").setRGBA(150, 219, 252, 255).addDustItems().addMetalItems().addToolHeadItems()
+ .addGearItems().setToolSpeed(8.0F).setDurability(5120).setToolQuality(4).setMeltingPoint(1500)
+ .setBlastFurnaceTemp(1500).setBlastFurnaceRequired(true)
+ .setAspects(
+ Arrays.asList(
+ new TC_AspectStack(TC_Aspects.METALLUM, 3),
+ new TC_AspectStack(TC_Aspects.PRAECANTATIO, 1)))
.constructMaterial();
public static Materials Terrasteel = new MaterialBuilder(202, TextureSet.SET_METALLIC, "Terrasteel")
- .setName("Terrasteel")
- .setRGBA(76, 191, 38, 255)
- .addDustItems()
- .addMetalItems()
- .addToolHeadItems()
- .addGearItems()
- .setToolSpeed(32.0F)
- .setDurability(10240)
- .setToolQuality(5)
- .setMeltingPoint(5400)
- .setBlastFurnaceTemp(5400)
- .setBlastFurnaceRequired(true)
- .setAspects(Arrays.asList(
- new TC_AspectStack(TC_Aspects.METALLUM, 2),
- new TC_AspectStack(TC_Aspects.TERRA, 1),
- new TC_AspectStack(TC_Aspects.PRAECANTATIO, 1)))
+ .setName("Terrasteel").setRGBA(76, 191, 38, 255).addDustItems().addMetalItems().addToolHeadItems()
+ .addGearItems().setToolSpeed(32.0F).setDurability(10240).setToolQuality(5).setMeltingPoint(5400)
+ .setBlastFurnaceTemp(5400).setBlastFurnaceRequired(true)
+ .setAspects(
+ Arrays.asList(
+ new TC_AspectStack(TC_Aspects.METALLUM, 2),
+ new TC_AspectStack(TC_Aspects.TERRA, 1),
+ new TC_AspectStack(TC_Aspects.PRAECANTATIO, 1)))
.constructMaterial();
public static Materials ElvenElementium = new MaterialBuilder(203, TextureSet.SET_METALLIC, "Elven Elementium")
- .setName("ElvenElementium")
- .setRGBA(219, 37, 205, 255)
- .addDustItems()
- .addMetalItems()
- .addToolHeadItems()
- .addGearItems()
- .setToolSpeed(20.0F)
- .setDurability(32768)
- .setToolQuality(7)
- .setMeltingPoint(7200)
- .setBlastFurnaceTemp(7200)
- .setBlastFurnaceRequired(true)
- .setAspects(Arrays.asList(
- new TC_AspectStack(TC_Aspects.METALLUM, 3),
- new TC_AspectStack(TC_Aspects.PRAECANTATIO, 2),
- new TC_AspectStack(TC_Aspects.AURAM, 1)))
+ .setName("ElvenElementium").setRGBA(219, 37, 205, 255).addDustItems().addMetalItems().addToolHeadItems()
+ .addGearItems().setToolSpeed(20.0F).setDurability(32768).setToolQuality(7).setMeltingPoint(7200)
+ .setBlastFurnaceTemp(7200).setBlastFurnaceRequired(true)
+ .setAspects(
+ Arrays.asList(
+ new TC_AspectStack(TC_Aspects.METALLUM, 3),
+ new TC_AspectStack(TC_Aspects.PRAECANTATIO, 2),
+ new TC_AspectStack(TC_Aspects.AURAM, 1)))
.constructMaterial();
public static Materials Livingrock = new MaterialBuilder(204, new TextureSet("Livingrock", true), "Livingrock")
- .setName("Livingrock")
- .addDustItems()
- .addToolHeadItems()
- .addGearItems()
- .setToolSpeed(1.0F)
- .setDurability(0)
- .setToolQuality(3)
- .setOreValue(3)
- .setDensityMultiplier(1)
- .setDensityDivider(1)
+ .setName("Livingrock").addDustItems().addToolHeadItems().addGearItems().setToolSpeed(1.0F).setDurability(0)
+ .setToolQuality(3).setOreValue(3).setDensityMultiplier(1).setDensityDivider(1)
.setAspects(
Arrays.asList(new TC_AspectStack(TC_Aspects.TERRA, 2), new TC_AspectStack(TC_Aspects.VICTUS, 2)))
.constructMaterial();
@@ -103,36 +73,19 @@ public class MaterialsBotania {
new TC_AspectStack(TC_Aspects.VICTUS, 24),
new TC_AspectStack(TC_Aspects.METALLUM, 1)));
public static Materials Livingwood = new MaterialBuilder(206, new TextureSet("Livingwood", true), "Livingwood")
- .setName("Livingwood")
- .addDustItems()
- .addMetalItems()
- .addToolHeadItems()
- .addGearItems()
- .setToolSpeed(1.0F)
- .setDurability(0)
- .setToolQuality(3)
- .setOreValue(3)
- .setDensityMultiplier(1)
- .setDensityDivider(1)
+ .setName("Livingwood").addDustItems().addMetalItems().addToolHeadItems().addGearItems().setToolSpeed(1.0F)
+ .setDurability(0).setToolQuality(3).setOreValue(3).setDensityMultiplier(1).setDensityDivider(1)
.setAspects(
Arrays.asList(new TC_AspectStack(TC_Aspects.ARBOR, 4), new TC_AspectStack(TC_Aspects.VICTUS, 2)))
.constructMaterial();
public static Materials Dreamwood = new MaterialBuilder(207, new TextureSet("Dreamwood", true), "Dreamwood")
- .setName("Dreamwood")
- .addDustItems()
- .addMetalItems()
- .addToolHeadItems()
- .addGearItems()
- .setToolSpeed(1.0F)
- .setDurability(0)
- .setToolQuality(3)
- .setOreValue(3)
- .setDensityMultiplier(1)
- .setDensityDivider(1)
- .setAspects(Arrays.asList(
- new TC_AspectStack(TC_Aspects.ARBOR, 4),
- new TC_AspectStack(TC_Aspects.AURAM, 2),
- new TC_AspectStack(TC_Aspects.PRAECANTATIO, 1)))
+ .setName("Dreamwood").addDustItems().addMetalItems().addToolHeadItems().addGearItems().setToolSpeed(1.0F)
+ .setDurability(0).setToolQuality(3).setOreValue(3).setDensityMultiplier(1).setDensityDivider(1)
+ .setAspects(
+ Arrays.asList(
+ new TC_AspectStack(TC_Aspects.ARBOR, 4),
+ new TC_AspectStack(TC_Aspects.AURAM, 2),
+ new TC_AspectStack(TC_Aspects.PRAECANTATIO, 1)))
.constructMaterial();
public static Materials ManaDiamond = new Materials(
208,
diff --git a/src/main/java/gregtech/api/enums/MaterialsKevlar.java b/src/main/java/gregtech/api/enums/MaterialsKevlar.java
index be1ef3b0f1..1c23f17698 100644
--- a/src/main/java/gregtech/api/enums/MaterialsKevlar.java
+++ b/src/main/java/gregtech/api/enums/MaterialsKevlar.java
@@ -1,271 +1,221 @@
package gregtech.api.enums;
-import gregtech.api.objects.MaterialStack;
import java.util.Arrays;
+import gregtech.api.objects.MaterialStack;
+
public class MaterialsKevlar {
+
public static Materials DiphenylmethaneDiisocyanate = new MaterialBuilder(
- 796, TextureSet.SET_DULL, "4,4'-Diphenylmethane Diisocyanate")
- .setName("DiphenylmethaneDiisocyanate")
- .addDustItems()
- .setRGB(255, 230, 50)
- .setColor(Dyes.dyeYellow)
- .setMeltingPoint(310)
- .setMaterialList(
- new MaterialStack(Materials.Carbon, 15),
- new MaterialStack(Materials.Hydrogen, 10),
- new MaterialStack(Materials.Nitrogen, 2),
- new MaterialStack(Materials.Oxygen, 2))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.VENENUM, 1)))
- .constructMaterial(); // C15H10N2O2
+ 796,
+ TextureSet.SET_DULL,
+ "4,4'-Diphenylmethane Diisocyanate").setName("DiphenylmethaneDiisocyanate").addDustItems()
+ .setRGB(255, 230, 50).setColor(Dyes.dyeYellow).setMeltingPoint(310)
+ .setMaterialList(
+ new MaterialStack(Materials.Carbon, 15),
+ new MaterialStack(Materials.Hydrogen, 10),
+ new MaterialStack(Materials.Nitrogen, 2),
+ new MaterialStack(Materials.Oxygen, 2))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.VENENUM, 1)))
+ .constructMaterial(); // C15H10N2O2
public static Materials DiaminodiphenylmethanMixture = new MaterialBuilder(
- 795, TextureSet.SET_FLUID, "Diaminodiphenylmethane Mixture")
- .setName("DiaminodiphenylmethanMixture")
- .addCell()
- .addFluid()
- .setRGB(255, 243, 122)
- .setColor(Dyes.dyeYellow)
- .setMeltingPoint(365)
- .setMaterialList(
- new MaterialStack(Materials.Carbon, 13),
- new MaterialStack(Materials.Hydrogen, 14),
- new MaterialStack(Materials.Nitrogen, 2))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.VENENUM, 1)))
- .constructMaterial(); // C13H14N2
+ 795,
+ TextureSet.SET_FLUID,
+ "Diaminodiphenylmethane Mixture").setName("DiaminodiphenylmethanMixture").addCell().addFluid()
+ .setRGB(255, 243, 122).setColor(Dyes.dyeYellow).setMeltingPoint(365)
+ .setMaterialList(
+ new MaterialStack(Materials.Carbon, 13),
+ new MaterialStack(Materials.Hydrogen, 14),
+ new MaterialStack(Materials.Nitrogen, 2))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.VENENUM, 1)))
+ .constructMaterial(); // C13H14N2
public static Materials DiphenylmethaneDiisocyanateMixture = new MaterialBuilder(
- 794, TextureSet.SET_FLUID, "Diphenylmethane Diisocyanate Mixture")
- .setName("DiphenylmethaneDiisocyanateMixture")
- .addCell()
- .addFluid()
- .setRGB(255, 230, 50)
- .setColor(Dyes.dyeYellow)
- .setMeltingPoint(310)
- .setMaterialList(
- new MaterialStack(Materials.Carbon, 15),
- new MaterialStack(Materials.Hydrogen, 10),
- new MaterialStack(Materials.Nitrogen, 2),
- new MaterialStack(Materials.Oxygen, 2))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.VENENUM, 1)))
- .constructMaterial(); // C15H10N2O2
+ 794,
+ TextureSet.SET_FLUID,
+ "Diphenylmethane Diisocyanate Mixture").setName("DiphenylmethaneDiisocyanateMixture").addCell().addFluid()
+ .setRGB(255, 230, 50).setColor(Dyes.dyeYellow).setMeltingPoint(310)
+ .setMaterialList(
+ new MaterialStack(Materials.Carbon, 15),
+ new MaterialStack(Materials.Hydrogen, 10),
+ new MaterialStack(Materials.Nitrogen, 2),
+ new MaterialStack(Materials.Oxygen, 2))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.VENENUM, 1)))
+ .constructMaterial(); // C15H10N2O2
public static Materials Butyraldehyde = new MaterialBuilder(793, TextureSet.SET_FLUID, "Butyraldehyde")
- .setName("Butyraldehyde")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("Butyraldehyde").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(176)
.setMaterialList(
new MaterialStack(Materials.Carbon, 4),
new MaterialStack(Materials.Hydrogen, 8),
new MaterialStack(Materials.Oxygen, 1))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
.constructMaterial(); // C4H8O
public static Materials Isobutyraldehyde = new MaterialBuilder(792, TextureSet.SET_FLUID, "Isobutyraldehyde")
- .setName("Isobutyraldehyde")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
- .setMeltingPoint(208)
- .setExtraData(1)
+ .setName("Isobutyraldehyde").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
+ .setMeltingPoint(208).setExtraData(1)
.setMaterialList(
new MaterialStack(Materials.Carbon, 4),
new MaterialStack(Materials.Hydrogen, 8),
new MaterialStack(Materials.Oxygen, 1))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
.constructMaterial(); // C4H8O
public static Materials NickelTetracarbonyl = new MaterialBuilder(791, TextureSet.SET_FLUID, "Nickel Tetracarbonyl")
- .setName("NickelTetracarbonyl")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("NickelTetracarbonyl").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(256)
.setMaterialList(
new MaterialStack(Materials.Carbon, 4),
new MaterialStack(Materials.Nickel, 1),
new MaterialStack(Materials.Oxygen, 4))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.METALLUM, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.METALLUM, 1)))
.constructMaterial(); // C4NiO4
public static Materials KevlarCatalyst = new MaterialBuilder(790, TextureSet.SET_DULL, "Polyurethane Catalyst A")
- .setName("PolyurethaneCatalystADust")
- .addDustItems()
- .setRGB(50, 50, 50)
- .setColor(Dyes.dyeBlack)
+ .setName("PolyurethaneCatalystADust").addDustItems().setRGB(50, 50, 50).setColor(Dyes.dyeBlack)
.setMeltingPoint(300)
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.LUCRUM, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.LUCRUM, 1)))
.constructMaterial();
public static Materials EthyleneOxide = new MaterialBuilder(789, TextureSet.SET_FLUID, "Ethylene Oxide")
- .setName("EthyleneOxide")
- .addCell()
- .addGas()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("EthyleneOxide").addCell().addGas().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(160)
.setMaterialList(
new MaterialStack(Materials.Carbon, 2),
new MaterialStack(Materials.Hydrogen, 4),
new MaterialStack(Materials.Oxygen, 1))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
.constructMaterial(); // C2H4O
public static Materials SiliconOil = new MaterialBuilder(788, TextureSet.SET_FLUID, "Silicon Oil")
- .setName("SiliconOil")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("SiliconOil").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(473)
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.MACHINA, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.MACHINA, 1)))
.constructMaterial();
public static Materials Ethyleneglycol = new MaterialBuilder(787, TextureSet.SET_FLUID, "Ethylene Glycol")
- .setName("EthyleneGlycol")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("EthyleneGlycol").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(260)
.setMaterialList(
new MaterialStack(Materials.Carbon, 2),
new MaterialStack(Materials.Hydrogen, 6),
new MaterialStack(Materials.Oxygen, 2))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
.constructMaterial(); // C2H6O2
public static Materials Acetaldehyde = new MaterialBuilder(786, TextureSet.SET_FLUID, "Acetaldehyde")
- .setName("Acetaldehyde")
- .addCell()
- .addGas()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("Acetaldehyde").addCell().addGas().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(150)
.setMaterialList(
new MaterialStack(Materials.Carbon, 2),
new MaterialStack(Materials.Hydrogen, 4),
new MaterialStack(Materials.Oxygen, 1))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.AQUA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.IGNIS, 1)))
.constructMaterial(); // C2H4O
public static Materials Pentaerythritol = new MaterialBuilder(785, TextureSet.SET_DULL, "Pentaerythritol")
- .setName("Pentaerythritol")
- .addDustItems()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("Pentaerythritol").addDustItems().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(533)
.setMaterialList(
new MaterialStack(Materials.Carbon, 5),
new MaterialStack(Materials.Hydrogen, 12),
new MaterialStack(Materials.Oxygen, 4))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.LUCRUM, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.LUCRUM, 1)))
.constructMaterial(); // C5H12O4
public static Materials PolyurethaneResin = new MaterialBuilder(784, TextureSet.SET_FLUID, "Polyurethane Resin")
- .setName("PolyurethaneResin")
- .addCell()
- .addFluid()
- .setRGB(230, 230, 120)
- .setColor(Dyes.dyeYellow)
+ .setName("PolyurethaneResin").addCell().addFluid().setRGB(230, 230, 120).setColor(Dyes.dyeYellow)
.constructMaterial();
public static Materials NMethylIIPyrrolidone = new MaterialBuilder(
- 783, TextureSet.SET_FLUID, "N-Methyl-2-pyrrolidone")
- .setName("NMethylpyrolidone")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
- .setMeltingPoint(249)
- .setMaterialList(
- new MaterialStack(Materials.Carbon, 5),
- new MaterialStack(Materials.Hydrogen, 9),
- new MaterialStack(Materials.Nitrogen, 1),
- new MaterialStack(Materials.Oxygen, 1))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.VENENUM, 1)))
- .constructMaterial(); // C5H9NO
+ 783,
+ TextureSet.SET_FLUID,
+ "N-Methyl-2-pyrrolidone").setName("NMethylpyrolidone").addCell().addFluid().setRGB(255, 255, 255)
+ .setColor(Dyes.dyeWhite).setMeltingPoint(249)
+ .setMaterialList(
+ new MaterialStack(Materials.Carbon, 5),
+ new MaterialStack(Materials.Hydrogen, 9),
+ new MaterialStack(Materials.Nitrogen, 1),
+ new MaterialStack(Materials.Oxygen, 1))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.VENENUM, 1)))
+ .constructMaterial(); // C5H9NO
public static Materials TerephthaloylChloride = new MaterialBuilder(
- 782, TextureSet.SET_POWDER, "Terephthaloyl Chloride")
- .setName("TerephthaloylChloride")
- .addDustItems()
- .setRGB(0, 255, 12)
- .setColor(Dyes.dyeGreen)
- .setMeltingPoint(355)
- .setMaterialList(
- new MaterialStack(Materials.Carbon, 8),
- new MaterialStack(Materials.Hydrogen, 4),
- new MaterialStack(Materials.Chlorine, 2),
- new MaterialStack(Materials.Oxygen, 2))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.VITREUS, 1)))
- .constructMaterial(); // C8H4Cl2O2
- public static Materials Acetylene = new MaterialBuilder(781, TextureSet.SET_FLUID, "Acetylene")
- .setName("Acetylene")
- .addCell()
- .addGas()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
- .setMeltingPoint(192)
+ 782,
+ TextureSet.SET_POWDER,
+ "Terephthaloyl Chloride").setName("TerephthaloylChloride").addDustItems().setRGB(0, 255, 12)
+ .setColor(Dyes.dyeGreen).setMeltingPoint(355)
+ .setMaterialList(
+ new MaterialStack(Materials.Carbon, 8),
+ new MaterialStack(Materials.Hydrogen, 4),
+ new MaterialStack(Materials.Chlorine, 2),
+ new MaterialStack(Materials.Oxygen, 2))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.VITREUS, 1)))
+ .constructMaterial(); // C8H4Cl2O2
+ public static Materials Acetylene = new MaterialBuilder(781, TextureSet.SET_FLUID, "Acetylene").setName("Acetylene")
+ .addCell().addGas().setRGB(255, 255, 255).setColor(Dyes.dyeWhite).setMeltingPoint(192)
.setMaterialList(new MaterialStack(Materials.Carbon, 2), new MaterialStack(Materials.Hydrogen, 2))
.constructMaterial(); // C2H2 TODO Add to JUPITER Athmosphere and Enceladus and to moon of Saturn
public static Materials IVNitroaniline = new MaterialBuilder(780, TextureSet.SET_FLUID, "4-Nitroaniline")
- .setName("4Nitroaniline")
- .addCell()
- .addFluid()
- .setRGB(255, 135, 51)
- .setColor(Dyes.dyeOrange)
+ .setName("4Nitroaniline").addCell().addFluid().setRGB(255, 135, 51).setColor(Dyes.dyeOrange)
.setMeltingPoint(420)
.setMaterialList(
new MaterialStack(Materials.Carbon, 6),
new MaterialStack(Materials.Hydrogen, 6),
new MaterialStack(Materials.Nitrogen, 2),
new MaterialStack(Materials.Oxygen, 2))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.VITREUS, 1)))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.VITREUS, 1)))
.constructMaterial(); // C6H6N2O2
public static Materials ParaPhenylenediamine = new MaterialBuilder(
- 779, TextureSet.SET_POWDER, "para-Phenylenediamine")
- .setName("pPhenylenediamine")
- .addDustItems()
- .setRGB(251, 236, 93)
- .setColor(Dyes.dyeYellow)
- .setMeltingPoint(293)
- .setMaterialList(
- new MaterialStack(Materials.Carbon, 6),
- new MaterialStack(Materials.Hydrogen, 8),
- new MaterialStack(Materials.Nitrogen, 2))
- .setAspects(Arrays.asList(
- new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
- new TC_Aspects.TC_AspectStack(TC_Aspects.VITREUS, 1)))
- .constructMaterial(); // C6H6N2
+ 779,
+ TextureSet.SET_POWDER,
+ "para-Phenylenediamine").setName("pPhenylenediamine").addDustItems().setRGB(251, 236, 93)
+ .setColor(Dyes.dyeYellow).setMeltingPoint(293)
+ .setMaterialList(
+ new MaterialStack(Materials.Carbon, 6),
+ new MaterialStack(Materials.Hydrogen, 8),
+ new MaterialStack(Materials.Nitrogen, 2))
+ .setAspects(
+ Arrays.asList(
+ new TC_Aspects.TC_AspectStack(TC_Aspects.TERRA, 1),
+ new TC_Aspects.TC_AspectStack(TC_Aspects.VITREUS, 1)))
+ .constructMaterial(); // C6H6N2
public static Materials Methylamine = new MaterialBuilder(778, TextureSet.SET_FLUID, "Methylamine")
- .setName("Methylamine")
- .addCell()
- .addGas()
- .setRGB(65, 68, 105)
- .setColor(Dyes.dyeGray)
- .setMeltingPoint(180)
+ .setName("Methylamine").addCell().addGas().setRGB(65, 68, 105).setColor(Dyes.dyeGray).setMeltingPoint(180)
.setExtraData(1)
.setMaterialList(
new MaterialStack(Materials.Carbon, 1),
@@ -273,24 +223,15 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Nitrogen, 1))
.constructMaterial(); // CH5N
public static Materials Trimethylamine = new MaterialBuilder(777, TextureSet.SET_FLUID, "Trimethylamine")
- .setName("Trimethylamine")
- .addCell()
- .addGas()
- .setRGB(105, 68, 105)
- .setColor(Dyes.dyeGray)
- .setMeltingPoint(156)
- .setExtraData(1)
+ .setName("Trimethylamine").addCell().addGas().setRGB(105, 68, 105).setColor(Dyes.dyeGray)
+ .setMeltingPoint(156).setExtraData(1)
.setMaterialList(
new MaterialStack(Materials.Carbon, 3),
new MaterialStack(Materials.Hydrogen, 9),
new MaterialStack(Materials.Nitrogen, 1))
.constructMaterial(); // C3H9N
public static Materials GammaButyrolactone = new MaterialBuilder(776, TextureSet.SET_FLUID, "gamma-Butyrolactone")
- .setName("GammaButyrolactone")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 151)
- .setColor(Dyes.dyeYellow)
+ .setName("GammaButyrolactone").addCell().addFluid().setRGB(255, 255, 151).setColor(Dyes.dyeYellow)
.setMeltingPoint(229)
.setMaterialList(
new MaterialStack(Materials.Carbon, 4),
@@ -298,101 +239,56 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Oxygen, 2))
.constructMaterial(); // C4H6O2
public static Materials CalciumCarbide = new MaterialBuilder(775, TextureSet.SET_DULL, "Calcium Carbide")
- .setName("CacliumCarbide")
- .addDustItems()
- .setRGB(235, 235, 235)
- .setColor(Dyes.dyeGray)
- .setMeltingPoint(2430)
+ .setName("CacliumCarbide").addDustItems().setRGB(235, 235, 235).setColor(Dyes.dyeGray).setMeltingPoint(2430)
.setMaterialList(new MaterialStack(Materials.Calcium, 1), new MaterialStack(Materials.Carbon, 2))
.constructMaterial(); // CaC2
public static Materials LiquidCrystalKevlar = new MaterialBuilder(
- 774, TextureSet.SET_FLUID, "Liquid Crystal Kevlar")
- .setName("LiquidCrystalKevlar")
- .addCell()
- .addFluid()
- .setRGB(240, 240, 120)
- .setColor(Dyes.dyeYellow)
- .constructMaterial(); // [-CO-C6H4-CO-NH-C6H4-NH-]n
+ 774,
+ TextureSet.SET_FLUID,
+ "Liquid Crystal Kevlar").setName("LiquidCrystalKevlar").addCell().addFluid().setRGB(240, 240, 120)
+ .setColor(Dyes.dyeYellow).constructMaterial(); // [-CO-C6H4-CO-NH-C6H4-NH-]n
public static Materials IIButinIIVdiol = new MaterialBuilder(773, TextureSet.SET_POWDER, "2-Butin-1,4-diol")
- .setName("2Butin14diol")
- .addDustItems()
- .setRGB(247, 247, 180)
- .setColor(Dyes.dyeYellow)
- .setMeltingPoint(331)
+ .setName("2Butin14diol").addDustItems().setRGB(247, 247, 180).setColor(Dyes.dyeYellow).setMeltingPoint(331)
.setMaterialList(
new MaterialStack(Materials.Carbon, 4),
new MaterialStack(Materials.Hydrogen, 6),
new MaterialStack(Materials.Oxygen, 2))
.constructMaterial(); // C4H6O2
public static Materials NickelAluminide = new MaterialBuilder(772, TextureSet.SET_METALLIC, "Nickel Aluminide")
- .setName("NickelAluminide")
- .addDustItems()
- .addMetalItems()
- .setRGB(230, 230, 230)
- .setColor(Dyes.dyeGray)
- .setMeltingPoint(1668)
- .setBlastFurnaceTemp(1668)
- .setBlastFurnaceRequired(true)
+ .setName("NickelAluminide").addDustItems().addMetalItems().setRGB(230, 230, 230).setColor(Dyes.dyeGray)
+ .setMeltingPoint(1668).setBlastFurnaceTemp(1668).setBlastFurnaceRequired(true)
.setMaterialList(new MaterialStack(Materials.Nickel, 1), new MaterialStack(Materials.Aluminium, 3))
- .constructMaterial()
- .disableAutoGeneratedBlastFurnaceRecipes(); // NiAl3
+ .constructMaterial().disableAutoGeneratedBlastFurnaceRecipes(); // NiAl3
public static Materials RaneyNickelActivated = new MaterialBuilder(771, TextureSet.SET_POWDER, "Raney Nickel")
- .setName("RaneyNickelActivated")
- .addDustItems()
- .setRGB(230, 230, 230)
- .setColor(Dyes.dyeGray)
+ .setName("RaneyNickelActivated").addDustItems().setRGB(230, 230, 230).setColor(Dyes.dyeGray)
.setMeltingPoint(1955)
.setMaterialList(new MaterialStack(Materials.Nickel, 1), new MaterialStack(Materials.Aluminium, 1))
.constructMaterial(); // NiAl
public static Materials BismuthIIIOxide = new MaterialBuilder(769, TextureSet.SET_POWDER, "Bismuth Oxide")
- .setName("BismuthIIIOxide")
- .addDustItems()
- .setRGB(50, 50, 50)
- .setColor(Dyes.dyeBlack)
- .setMeltingPoint(1090)
+ .setName("BismuthIIIOxide").addDustItems().setRGB(50, 50, 50).setColor(Dyes.dyeBlack).setMeltingPoint(1090)
.setMaterialList(new MaterialStack(Materials.Bismuth, 2), new MaterialStack(Materials.Oxygen, 3))
.constructMaterial(); // Bi2O3
public static Materials ThionylChloride = new MaterialBuilder(768, TextureSet.SET_FLUID, "Thionyl Chloride")
- .setName("ThionylChloride")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("ThionylChloride").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.constructMaterial(); // SOCl2
public static Materials SulfurDichloride = new MaterialBuilder(767, TextureSet.SET_FLUID, "Sulfur Dichloride")
- .setName("SulfurDichloride")
- .addCell()
- .addFluid()
- .setRGB(200, 0, 0)
- .setColor(Dyes.dyeRed)
+ .setName("SulfurDichloride").addCell().addFluid().setRGB(200, 0, 0).setColor(Dyes.dyeRed)
.constructMaterial(); // SCl2
public static Materials DimethylTerephthalate = new MaterialBuilder(
- 766, TextureSet.SET_FLUID, "Dimethyl Terephthalate")
- .setName("DimethylTerephthalate")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
- .setMeltingPoint(415)
- .setMaterialList(
- new MaterialStack(Materials.Carbon, 10),
- new MaterialStack(Materials.Hydrogen, 10),
- new MaterialStack(Materials.Oxygen, 4))
- .constructMaterial(); // C10H10O4
- public static Materials Kevlar = new MaterialBuilder(765, TextureSet.SET_DULL, "Kevlar")
- .setName("Kevlar")
- .addDustItems()
- .addMetalItems()
- .addGearItems()
- .setRGB(240, 240, 120)
- .setColor(Dyes.dyeYellow)
+ 766,
+ TextureSet.SET_FLUID,
+ "Dimethyl Terephthalate").setName("DimethylTerephthalate").addCell().addFluid().setRGB(255, 255, 255)
+ .setColor(Dyes.dyeWhite).setMeltingPoint(415)
+ .setMaterialList(
+ new MaterialStack(Materials.Carbon, 10),
+ new MaterialStack(Materials.Hydrogen, 10),
+ new MaterialStack(Materials.Oxygen, 4))
+ .constructMaterial(); // C10H10O4
+ public static Materials Kevlar = new MaterialBuilder(765, TextureSet.SET_DULL, "Kevlar").setName("Kevlar")
+ .addDustItems().addMetalItems().addGearItems().setRGB(240, 240, 120).setColor(Dyes.dyeYellow)
.constructMaterial();
public static Materials TerephthalicAcid = new MaterialBuilder(764, TextureSet.SET_FLUID, "Terephthalic Acid")
- .setName("TerephthalicAcid")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("TerephthalicAcid").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(480)
.setMaterialList(
new MaterialStack(Materials.Carbon, 8L),
@@ -400,28 +296,15 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Oxygen, 4))
.constructMaterial(); // C9H6O6
public static Materials IIIDimethylbenzene = new MaterialBuilder(763, TextureSet.SET_FLUID, "1,3-Dimethylbenzen")
- .addCell()
- .addFluid()
- .setRGB(112, 146, 74)
- .setColor(Dyes.dyeLime)
- .setMeltingPoint(225)
+ .addCell().addFluid().setRGB(112, 146, 74).setColor(Dyes.dyeLime).setMeltingPoint(225)
.setMaterialList(new MaterialStack(Materials.Carbon, 8), new MaterialStack(Materials.Hydrogen, 10))
- .addElectrolyzerRecipe()
- .constructMaterial(); // C8H10
+ .addElectrolyzerRecipe().constructMaterial(); // C8H10
public static Materials IVDimethylbenzene = new MaterialBuilder(762, TextureSet.SET_FLUID, "1,4-Dimethylbenzen")
- .addCell()
- .addFluid()
- .setRGB(122, 136, 84)
- .setColor(Dyes.dyeLime)
- .setMeltingPoint(286)
+ .addCell().addFluid().setRGB(122, 136, 84).setColor(Dyes.dyeLime).setMeltingPoint(286)
.setMaterialList(new MaterialStack(Materials.Carbon, 8), new MaterialStack(Materials.Hydrogen, 10))
- .addElectrolyzerRecipe()
- .constructMaterial(); // C8H10
+ .addElectrolyzerRecipe().constructMaterial(); // C8H10
public static Materials CobaltIINaphthenate = new MaterialBuilder(761, TextureSet.SET_DULL, "Cobalt II Naphthenate")
- .setName("Cobalt(II)Naphthenate")
- .addDustItems()
- .setRGB(143, 95, 39)
- .setColor(Dyes.dyeBrown)
+ .setName("Cobalt(II)Naphthenate").addDustItems().setRGB(143, 95, 39).setColor(Dyes.dyeBrown)
.setMeltingPoint(413)
.setMaterialList(
new MaterialStack(Materials.Cobalt, 1),
@@ -430,19 +313,10 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Oxygen, 4))
.constructMaterial(); // CoC22H14O4
public static Materials NaphthenicAcid = new MaterialBuilder(760, TextureSet.SET_FLUID, "Naphthenic Acid")
- .setName("NaphthenicAcid")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
- .setFuelType(MaterialBuilder.SEMIFLUID)
- .setFuelPower(80)
- .constructMaterial();
+ .setName("NaphthenicAcid").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
+ .setFuelType(MaterialBuilder.SEMIFLUID).setFuelPower(80).constructMaterial();
public static Materials CobaltIIHydroxide = new MaterialBuilder(759, TextureSet.SET_POWDER, "Cobalt II Hydroxide")
- .setName("CobaltIIHydroxide")
- .addDustItems()
- .setRGB(229, 140, 239)
- .setColor(Dyes.dyePurple)
+ .setName("CobaltIIHydroxide").addDustItems().setRGB(229, 140, 239).setColor(Dyes.dyePurple)
.setMeltingPoint(441)
.setMaterialList(
new MaterialStack(Materials.Cobalt, 1),
@@ -450,10 +324,7 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Oxygen, 2))
.constructMaterial(); // CoH2O2
public static Materials CobaltIIAcetate = new MaterialBuilder(758, TextureSet.SET_POWDER, "Cobalt II Acetate")
- .setName("Cobalt(II)Acetate")
- .addDustItems()
- .setRGB(219, 162, 229)
- .setColor(Dyes.dyePurple)
+ .setName("Cobalt(II)Acetate").addDustItems().setRGB(219, 162, 229).setColor(Dyes.dyePurple)
.setMeltingPoint(413)
.setMaterialList(
new MaterialStack(Materials.Carbon, 4L),
@@ -462,30 +333,21 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Oxygen, 4))
.constructMaterial(); // C4H6CoO4
public static Materials CobaltIINitrate = new MaterialBuilder(757, TextureSet.SET_POWDER, "Cobalt II Nitrate")
- .setName("Cobalt(II)Nitrate")
- .addDustItems()
- .setRGB(170, 0, 0)
- .setColor(Dyes.dyeRed)
- .setMeltingPoint(373)
+ .setName("Cobalt(II)Nitrate").addDustItems().setRGB(170, 0, 0).setColor(Dyes.dyeRed).setMeltingPoint(373)
.setMaterialList(
new MaterialStack(Materials.Cobalt, 1),
new MaterialStack(Materials.Nitrogen, 2),
new MaterialStack(Materials.Oxygen, 6))
.constructMaterial(); // Co(NO3)2
public static Materials OrganorhodiumCatalyst = new MaterialBuilder(
- 756, TextureSet.SET_POWDER, "Organorhodium Catalyst")
- .setName("OrganorhodiumCatalyst")
- .addDustItems()
- .setRGB(170, 0, 0)
- .setColor(Dyes.dyeRed)
- .setMeltingPoint(373)
- .setMaterialList(new MaterialStack(Materials.Cobalt, 1), new MaterialStack(Materials.NitricAcid, 2))
- .constructMaterial(); // RhHCO(P(C6H5)3)3
+ 756,
+ TextureSet.SET_POWDER,
+ "Organorhodium Catalyst").setName("OrganorhodiumCatalyst").addDustItems().setRGB(170, 0, 0)
+ .setColor(Dyes.dyeRed).setMeltingPoint(373)
+ .setMaterialList(new MaterialStack(Materials.Cobalt, 1), new MaterialStack(Materials.NitricAcid, 2))
+ .constructMaterial(); // RhHCO(P(C6H5)3)3
public static Materials SodiumBorohydride = new MaterialBuilder(755, TextureSet.SET_POWDER, "Sodium Borohydride")
- .setName("SodiumBorohydride")
- .addDustItems()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("SodiumBorohydride").addDustItems().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(673)
.setMaterialList(
new MaterialStack(Materials.Sodium, 1),
@@ -493,17 +355,10 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Hydrogen, 4))
.constructMaterial(); // NaBH4
public static Materials RhodiumChloride = new MaterialBuilder(754, TextureSet.SET_POWDER, "Rhodium Chloride")
- .setName("RhodiumChloride")
- .addDustItems()
- .setRGB(128, 0, 0)
- .setColor(Dyes.dyeRed)
- .setMeltingPoint(723)
+ .setName("RhodiumChloride").addDustItems().setRGB(128, 0, 0).setColor(Dyes.dyeRed).setMeltingPoint(723)
.constructMaterial(); // RHCL3
public static Materials Triphenylphosphene = new MaterialBuilder(753, TextureSet.SET_POWDER, "Triphenylphosphine")
- .setName("Triphenylphosphene")
- .addDustItems()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("Triphenylphosphene").addDustItems().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(353)
.setMaterialList(
new MaterialStack(Materials.Carbon, 18L),
@@ -511,29 +366,21 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Phosphorus, 1L))
.constructMaterial(); // C18H15P
public static Materials PhosphorusTrichloride = new MaterialBuilder(
- 752, TextureSet.SET_FLUID, "Phosphorus Trichloride")
- .setName("PhosphorusTrichloride")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
- .setMeltingPoint(179)
- .setMaterialList(new MaterialStack(Materials.Phosphorus, 1L), new MaterialStack(Materials.Chlorine, 3L))
- .constructMaterial(); // PCL3
+ 752,
+ TextureSet.SET_FLUID,
+ "Phosphorus Trichloride").setName("PhosphorusTrichloride").addCell().addFluid().setRGB(255, 255, 255)
+ .setColor(Dyes.dyeWhite).setMeltingPoint(179)
+ .setMaterialList(
+ new MaterialStack(Materials.Phosphorus, 1L),
+ new MaterialStack(Materials.Chlorine, 3L))
+ .constructMaterial(); // PCL3
public static Materials SodiumHydride = new MaterialBuilder(751, TextureSet.SET_POWDER, "Sodium Hydride")
- .setName("SodiumHydride")
- .addDustItems()
- .setRGB(192, 192, 192)
- .setColor(Dyes.dyeLightGray)
+ .setName("SodiumHydride").addDustItems().setRGB(192, 192, 192).setColor(Dyes.dyeLightGray)
.setMeltingPoint(911)
.setMaterialList(new MaterialStack(Materials.Sodium, 1L), new MaterialStack(Materials.Hydrogen, 1L))
.constructMaterial(); // NaH
public static Materials TrimethylBorate = new MaterialBuilder(750, TextureSet.SET_FLUID, "Trimethyl Borate")
- .setName("TrimethylBorate")
- .addCell()
- .addFluid()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("TrimethylBorate").addCell().addFluid().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(239)
.setMaterialList(
new MaterialStack(Materials.Carbon, 3L),
@@ -542,10 +389,7 @@ public class MaterialsKevlar {
new MaterialStack(Materials.Oxygen, 3L))
.constructMaterial(); // C3H9BO3
public static Materials SodiumMethoxide = new MaterialBuilder(749, TextureSet.SET_POWDER, "Sodium Methoxide")
- .setName("SodiumMethoxide")
- .addDustItems()
- .setRGB(255, 255, 255)
- .setColor(Dyes.dyeWhite)
+ .setName("SodiumMethoxide").addDustItems().setRGB(255, 255, 255).setColor(Dyes.dyeWhite)
.setMeltingPoint(400)
.setMaterialList(
new MaterialStack(Materials.Carbon, 1L),
@@ -557,7 +401,8 @@ public class MaterialsKevlar {
// H3RhCl6
/**
- * called by Materials. Can be safely called multiple times. exists to allow Materials ensure this class is initialized
+ * called by Materials. Can be safely called multiple times. exists to allow Materials ensure this class is
+ * initialized
*/
public static void init() {
// no-op. all work is done by <clinit>
diff --git a/src/main/java/gregtech/api/enums/MaterialsOreAlum.java b/src/main/java/gregtech/api/enums/MaterialsOreAlum.java
index 14e75b3efa..f90e39e493 100644
--- a/src/main/java/gregtech/api/enums/MaterialsOreAlum.java
+++ b/src/main/java/gregtech/api/enums/MaterialsOreAlum.java
@@ -3,74 +3,34 @@ package gregtech.api.enums;
public class MaterialsOreAlum {
public static Materials BauxiteSlurry = new MaterialBuilder(409, TextureSet.SET_FLUID, "Bauxite Slurry")
- .setName("BauxiteSlurry")
- .addCell()
- .addFluid()
- .setRGB(37, 67, 168)
- .setMeltingPoint(295)
- .setColor(Dyes.dyeBlue)
- .constructMaterial();
+ .setName("BauxiteSlurry").addCell().addFluid().setRGB(37, 67, 168).setMeltingPoint(295)
+ .setColor(Dyes.dyeBlue).constructMaterial();
public static Materials HeatedBauxiteSlurry = new MaterialBuilder(
- 410, TextureSet.SET_FLUID, "Heated Bauxite Slurry")
- .setName("HeadedBauxiteSlurry")
- .addCell()
- .addFluid()
- .setRGB(55, 92, 212)
- .setLiquidTemperature(533)
- .setMeltingPoint(295)
- .setColor(Dyes.dyeBlue)
- .constructMaterial();
+ 410,
+ TextureSet.SET_FLUID,
+ "Heated Bauxite Slurry").setName("HeadedBauxiteSlurry").addCell().addFluid().setRGB(55, 92, 212)
+ .setLiquidTemperature(533).setMeltingPoint(295).setColor(Dyes.dyeBlue).constructMaterial();
public static Materials SluiceJuice = new MaterialBuilder(411, TextureSet.SET_FLUID, "Sluice Juice")
- .setName("SluiceJuice")
- .addCell()
- .addFluid()
- .setRGB(92, 60, 36)
- .setLiquidTemperature(295)
- .setMeltingPoint(295)
- .setColor(Dyes.dyeGray)
- .constructMaterial();
+ .setName("SluiceJuice").addCell().addFluid().setRGB(92, 60, 36).setLiquidTemperature(295)
+ .setMeltingPoint(295).setColor(Dyes.dyeGray).constructMaterial();
public static Materials SluiceSand = new MaterialBuilder(412, TextureSet.SET_FINE, "Sluice Sand")
- .setName("SluiceSand")
- .addDustItems()
- .setRGB(165, 165, 120)
- .setColor(Dyes.dyeGray)
- .constructMaterial();
+ .setName("SluiceSand").addDustItems().setRGB(165, 165, 120).setColor(Dyes.dyeGray).constructMaterial();
public static Materials BauxiteSlag = new MaterialBuilder(413, TextureSet.SET_FINE, "Bauxite Slag")
- .setName("BauxiteSlag")
- .addDustItems()
- .setRGB(110, 31, 31)
- .setColor(Dyes.dyeRed)
- .constructMaterial();
+ .setName("BauxiteSlag").addDustItems().setRGB(110, 31, 31).setColor(Dyes.dyeRed).constructMaterial();
public static Materials IlmeniteSlag = new MaterialBuilder(414, TextureSet.SET_FINE, "Ilmenite Slag")
- .setName("IlmeniteSlag")
- .addDustItems()
- .setRGB(163, 38, 38)
- .setColor(Dyes.dyeBrown)
- .constructMaterial();
+ .setName("IlmeniteSlag").addDustItems().setRGB(163, 38, 38).setColor(Dyes.dyeBrown).constructMaterial();
public static Materials GreenSapphireJuice = new MaterialBuilder(415, TextureSet.SET_FLUID, "Green Sapphire Juice")
- .setName("GreenSapphireJuice")
- .addCell()
- .addFluid()
- .setRGB(100, 200, 130)
- .setColor(Dyes.dyeGreen)
+ .setName("GreenSapphireJuice").addCell().addFluid().setRGB(100, 200, 130).setColor(Dyes.dyeGreen)
.constructMaterial();
public static Materials SapphireJuice = new MaterialBuilder(416, TextureSet.SET_FLUID, "Sapphire Juice")
- .setName("SapphireJuice")
- .addCell()
- .addFluid()
- .setRGB(100, 100, 200)
- .setColor(Dyes.dyeBlue)
+ .setName("SapphireJuice").addCell().addFluid().setRGB(100, 100, 200).setColor(Dyes.dyeBlue)
.constructMaterial();
public static Materials RubyJuice = new MaterialBuilder(417, TextureSet.SET_FLUID, "Ruby Juice")
- .setName("RubyJuice")
- .addCell()
- .addFluid()
- .setRGB(255, 100, 100)
- .setColor(Dyes.dyeRed)
- .constructMaterial();
+ .setName("RubyJuice").addCell().addFluid().setRGB(255, 100, 100).setColor(Dyes.dyeRed).constructMaterial();
/**
- * called by Materials. Can be safely called multiple times. exists to allow Materials ensure this class is initialized
+ * called by Materials. Can be safely called multiple times. exists to allow Materials ensure this class is
+ * initialized
*/
public static void init() {
// no-op. all work is done by <clinit>
diff --git a/src/main/java/gregtech/api/enums/OrePrefixes.java b/src/main/java/gregtech/api/enums/OrePrefixes.java
index cd78d3a560..7e102d5a2b 100644
--- a/src/main/java/gregtech/api/enums/OrePrefixes.java
+++ b/src/main/java/gregtech/api/enums/OrePrefixes.java
@@ -2,7 +2,12 @@ package gregtech.api.enums;
import static gregtech.api.enums.GT_Values.*;
+import java.util.*;
+
+import net.minecraft.item.ItemStack;
+
import com.google.common.collect.ImmutableList;
+
import gregtech.api.GregTech_API;
import gregtech.api.enums.TC_Aspects.TC_AspectStack;
import gregtech.api.interfaces.ICondition;
@@ -17,2853 +22,528 @@ import gregtech.api.objects.MaterialStack;
import gregtech.api.util.GT_Log;
import gregtech.api.util.GT_Utility;
import gregtech.loaders.materialprocessing.ProcessingModSupport;
-import java.util.*;
-import net.minecraft.item.ItemStack;
public enum OrePrefixes {
+
@Deprecated
- pulp(
- "Pulps",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- B[0] | B[1] | B[2] | B[3],
- -1,
- 64,
- -1),
+ pulp("Pulps", "", "", false, false, false, false, false, false, false, false, false, false,
+ B[0] | B[1] | B[2] | B[3], -1, 64, -1),
@Deprecated
leaves("Leaves", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
@Deprecated
sapling("Saplings", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
@Deprecated
- itemDust(
- "Dusts",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- B[0] | B[1] | B[2] | B[3],
- -1,
- 64,
- -1),
- oreBlackgranite(
- "Black Granite Ores",
- "Granite ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
- oreRedgranite(
- "Red Granite Ores",
- "Granite ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
- oreMarble(
- "Marble Ores",
- "Marble ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
- oreBasalt(
- "Basalt Ores",
- "Basalt ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
- oreNetherrack(
- "Netherrack Ores",
- "Nether ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // Prefix of the Nether-Ores Mod. Causes Ores to double. Ore -> Material is a Oneway Operation!
- oreNether(
- "Nether Ores",
- "Nether ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // Prefix of the Nether-Ores Mod. Causes Ores to double. Ore -> Material is a Oneway Operation!
+ itemDust("Dusts", "", "", false, false, false, false, false, false, false, false, false, false,
+ B[0] | B[1] | B[2] | B[3], -1, 64, -1),
+ oreBlackgranite("Black Granite Ores", "Granite ", " Ore", true, true, false, false, false, true, false, false,
+ false, true, B[3], -1, 64, -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
+ oreRedgranite("Red Granite Ores", "Granite ", " Ore", true, true, false, false, false, true, false, false, false,
+ true, B[3], -1, 64, -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
+ oreMarble("Marble Ores", "Marble ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3],
+ -1, 64, -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
+ oreBasalt("Basalt Ores", "Basalt ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3],
+ -1, 64, -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
+ oreNetherrack("Netherrack Ores", "Nether ", " Ore", true, true, false, false, false, true, false, false, false,
+ true, B[3], -1, 64, -1), // Prefix of the Nether-Ores Mod. Causes Ores to double. Ore -> Material is a
+ // Oneway Operation!
+ oreNether("Nether Ores", "Nether ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3],
+ -1, 64, -1), // Prefix of the Nether-Ores Mod. Causes Ores to double. Ore -> Material is a Oneway Operation!
@Deprecated
- denseore(
- "Dense Ores", "", "", false, false, false, false, false, true, false, false, false, true, B[3], -1, 64, -1),
- oreDense(
- "Dense Ores",
- "Dense ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // Prefix of the Dense-Ores Mod. Causes Ores to double. Ore -> Material is a Oneway Operation!
- oreRich(
- "Rich Ores",
- "Rich ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // Prefix of TFC
- oreNormal(
- "Normal Ores",
- "Normal ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // Prefix of TFC
- oreSmall(
- "Small Ores",
- "Small ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- 67), // Prefix of Railcraft.
- orePoor(
- "Poor Ores",
- "Poor ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // Prefix of Railcraft.
- oreEndstone(
- "Endstone Ores",
- "End ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
- oreEnd(
- "End Ores",
- "End ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
+ denseore("Dense Ores", "", "", false, false, false, false, false, true, false, false, false, true, B[3], -1, 64,
+ -1),
+ oreDense("Dense Ores", "Dense ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3], -1,
+ 64, -1), // Prefix of the Dense-Ores Mod. Causes Ores to double. Ore -> Material is a Oneway Operation!
+ oreRich("Rich Ores", "Rich ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3], -1,
+ 64, -1), // Prefix of TFC
+ oreNormal("Normal Ores", "Normal ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3],
+ -1, 64, -1), // Prefix of TFC
+ oreSmall("Small Ores", "Small ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3], -1,
+ 64, 67), // Prefix of Railcraft.
+ orePoor("Poor Ores", "Poor ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3], -1,
+ 64, -1), // Prefix of Railcraft.
+ oreEndstone("Endstone Ores", "End ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3],
+ -1, 64, -1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
+ oreEnd("End Ores", "End ", " Ore", true, true, false, false, false, true, false, false, false, true, B[3], -1, 64,
-1), // In case of an End-Ores Mod. Ore -> Material is a Oneway Operation!
@Deprecated
oreGem("Ores", "", "", false, false, false, false, false, true, false, false, false, true, B[3], -1, 64, -1),
- ore(
- "Ores", "", " Ore", true, true, false, false, false, true, false, false, false, true, B[3], -1, 64,
- 68), // Regular Ore Prefix. Ore -> Material is a Oneway Operation! Introduced by Eloraam
- crushedCentrifuged(
- "Centrifuged Ores",
- "Centrifuged ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- B[3],
- -1,
- 64,
- 7),
- crushedPurified(
- "Purified Ores",
- "Purified ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- B[3],
- -1,
- 64,
- 6),
- crushed(
- "Crushed Ores",
- "Crushed ",
- " Ore",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- B[3],
- -1,
- 64,
- 5),
- shard(
- "Crystallised Shards",
- "",
- "",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1), // Introduced by Mekanism
+ ore("Ores", "", " Ore", true, true, false, false, false, true, false, false, false, true, B[3], -1, 64, 68), // Regular
+ // Ore
+ // Prefix.
+ // Ore
+ // ->
+ // Material
+ // is a
+ // Oneway
+ // Operation!
+ // Introduced
+ // by
+ // Eloraam
+ crushedCentrifuged("Centrifuged Ores", "Centrifuged ", " Ore", true, true, false, false, false, false, false, true,
+ false, true, B[3], -1, 64, 7),
+ crushedPurified("Purified Ores", "Purified ", " Ore", true, true, false, false, false, false, false, true, false,
+ true, B[3], -1, 64, 6),
+ crushed("Crushed Ores", "Crushed ", " Ore", true, true, false, false, false, false, false, true, false, true, B[3],
+ -1, 64, 5),
+ shard("Crystallised Shards", "", "", true, true, false, false, false, false, false, false, false, true, B[3], -1,
+ 64, -1), // Introduced by Mekanism
clump("Clumps", "", "", true, true, false, false, false, false, false, false, false, true, B[3], -1, 64, -1),
- reduced(
- "Reduced Gravels",
- "",
- "",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1),
- crystalline(
- "Crystallised Metals",
- "",
- "",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1),
- cleanGravel(
- "Clean Gravels",
- "",
- "",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
+ reduced("Reduced Gravels", "", "", true, true, false, false, false, false, false, false, false, true, B[3], -1, 64,
-1),
- dirtyGravel(
- "Dirty Gravels",
- "",
- "",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
- -1),
- ingotQuintuple(
- "5x Ingots",
- "Quintuple ",
- " Ingot",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M * 5,
- 64,
- 16), // A quintuple Ingot.
- ingotQuadruple(
- "4x Ingots",
- "Quadruple ",
- " Ingot",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M * 4,
- 64,
- 15), // A quadruple Ingot.
+ crystalline("Crystallised Metals", "", "", true, true, false, false, false, false, false, false, false, true, B[3],
+ -1, 64, -1),
+ cleanGravel("Clean Gravels", "", "", true, true, false, false, false, false, false, false, false, true, B[3], -1,
+ 64, -1),
+ dirtyGravel("Dirty Gravels", "", "", true, true, false, false, false, false, false, false, false, true, B[3], -1,
+ 64, -1),
+ ingotQuintuple("5x Ingots", "Quintuple ", " Ingot", true, true, false, false, false, false, true, true, false,
+ false, B[1], M * 5, 64, 16), // A quintuple Ingot.
+ ingotQuadruple("4x Ingots", "Quadruple ", " Ingot", true, true, false, false, false, false, true, true, false,
+ false, B[1], M * 4, 64, 15), // A quadruple Ingot.
@Deprecated
- ingotQuad(
- "4x Ingots",
- "Quadruple ",
- " Ingot",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- B[1],
- -1,
- 64,
- 15),
- ingotTriple(
- "3x Ingots",
- "Triple ",
- " Ingot",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- B[1],
- M * 3,
- 64,
- 14), // A triple Ingot.
- ingotDouble(
- "2x Ingots",
- "Double ",
- " Ingot",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M * 2,
- 64,
- 13), // A double Ingot. Introduced by TerraFirmaCraft
- ingotHot(
- "Hot Ingots",
- "Hot ",
- " Ingot",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- B[1],
- M * 1,
- 64,
- 12), // A hot Ingot, which has to be cooled down by a Vacuum Freezer.
- ingot(
- "Ingots", "", " Ingot", true, true, false, false, false, false, false, true, false, false, B[1], M * 1, 64,
+ ingotQuad("4x Ingots", "Quadruple ", " Ingot", false, false, false, false, false, false, false, false, false, false,
+ B[1], -1, 64, 15),
+ ingotTriple("3x Ingots", "Triple ", " Ingot", true, true, false, false, false, false, true, false, false, false,
+ B[1], M * 3, 64, 14), // A triple Ingot.
+ ingotDouble("2x Ingots", "Double ", " Ingot", true, true, false, false, false, false, true, true, false, false,
+ B[1], M * 2, 64, 13), // A double Ingot. Introduced by TerraFirmaCraft
+ ingotHot("Hot Ingots", "Hot ", " Ingot", true, true, false, false, false, false, false, true, false, false, B[1],
+ M * 1, 64, 12), // A hot Ingot, which has to be cooled down by a Vacuum Freezer.
+ ingot("Ingots", "", " Ingot", true, true, false, false, false, false, false, true, false, false, B[1], M * 1, 64,
11), // A regular Ingot. Introduced by Eloraam
- gemChipped(
- "Chipped Gemstones",
- "Chipped ",
- "",
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[2],
- M / 4,
- 64,
- 59), // A regular Gem worth one small Dust. Introduced by TerraFirmaCraft
- gemFlawed(
- "Flawed Gemstones",
- "Flawed ",
- "",
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[2],
- M / 2,
- 64,
- 60), // A regular Gem worth two small Dusts. Introduced by TerraFirmaCraft
- gemFlawless(
- "Flawless Gemstones",
- "Flawless ",
- "",
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[2],
- M * 2,
- 64,
- 61), // A regular Gem worth two Dusts. Introduced by TerraFirmaCraft
- gemExquisite(
- "Exquisite Gemstones",
- "Exquisite ",
- "",
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[2],
- M * 4,
- 64,
- 62), // A regular Gem worth four Dusts. Introduced by TerraFirmaCraft
- gem(
- "Gemstones",
- "",
- "",
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[2],
- M * 1,
- 64,
- 8), // A regular Gem worth one Dust. Introduced by Eloraam
+ gemChipped("Chipped Gemstones", "Chipped ", "", true, true, true, false, false, false, true, true, false, false,
+ B[2], M / 4, 64, 59), // A regular Gem worth one small Dust. Introduced by TerraFirmaCraft
+ gemFlawed("Flawed Gemstones", "Flawed ", "", true, true, true, false, false, false, true, true, false, false, B[2],
+ M / 2, 64, 60), // A regular Gem worth two small Dusts. Introduced by TerraFirmaCraft
+ gemFlawless("Flawless Gemstones", "Flawless ", "", true, true, true, false, false, false, true, true, false, false,
+ B[2], M * 2, 64, 61), // A regular Gem worth two Dusts. Introduced by TerraFirmaCraft
+ gemExquisite("Exquisite Gemstones", "Exquisite ", "", true, true, true, false, false, false, true, true, false,
+ false, B[2], M * 4, 64, 62), // A regular Gem worth four Dusts. Introduced by TerraFirmaCraft
+ gem("Gemstones", "", "", true, true, true, false, false, false, true, true, false, false, B[2], M * 1, 64, 8), // A
+ // regular
+ // Gem
+ // worth
+ // one
+ // Dust.
+ // Introduced
+ // by
+ // Eloraam
@Deprecated
- dustDirty(
- "Impure Dusts",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- B[3],
- -1,
- 64,
+ dustDirty("Impure Dusts", "", "", false, false, false, false, false, false, false, false, false, true, B[3], -1, 64,
3),
- dustTiny(
- "Tiny Dusts",
- "Tiny Pile of ",
- " Dust",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- B[0] | B[1] | B[2] | B[3],
- M / 9,
- 64,
- 0), // 1/9th of a Dust.
- dustSmall(
- "Small Dusts",
- "Small Pile of ",
- " Dust",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- B[0] | B[1] | B[2] | B[3],
- M / 4,
- 64,
- 1), // 1/4th of a Dust.
- dustImpure(
- "Impure Dusts",
- "Impure Pile of ",
- " Dust",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- B[3],
- M * 1,
- 64,
- 3), // Dust with impurities. 1 Unit of Main Material and 1/9 - 1/4 Unit of secondary Material
- dustRefined(
- "Refined Dusts",
- "Refined Pile of ",
- " Dust",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- B[3],
- M * 1,
- 64,
- 2),
- dustPure(
- "Purified Dusts",
- "Purified Pile of ",
- " Dust",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- B[3],
- M * 1,
- 64,
- 4),
- dust(
- "Dusts",
- "",
- " Dust",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- B[0] | B[1] | B[2] | B[3],
- M * 1,
- 64,
- 2), // Pure Dust worth of one Ingot or Gem. Introduced by Alblaka.
- nugget(
- "Nuggets", "", " Nugget", true, true, false, false, false, false, false, true, false, false, B[1], M / 9,
- 64, 9), // A Nugget. Introduced by Eloraam
- plateAlloy(
- "Alloy Plates",
- "",
- "",
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- B[1],
- -1,
- 64,
- 17), // Special Alloys have this prefix.
- plateSteamcraft(
- "Steamcraft Plates",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- B[1],
- -1,
- 64,
- 17),
- plateDense(
- "Dense Plates",
- "Dense ",
- " Plate",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M * 9,
- 64,
- 22), // 9 Plates combined in one Item.
- plateQuintuple(
- "5x Plates",
- "Quintuple ",
- " Plate",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M * 5,
- 64,
- 21),
- plateQuadruple(
- "4x Plates",
- "Quadruple ",
- " Plate",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M * 4,
- 64,
- 20),
+ dustTiny("Tiny Dusts", "Tiny Pile of ", " Dust", true, true, false, false, false, false, false, true, false, false,
+ B[0] | B[1] | B[2] | B[3], M / 9, 64, 0), // 1/9th of a Dust.
+ dustSmall("Small Dusts", "Small Pile of ", " Dust", true, true, false, false, false, false, false, true, false,
+ false, B[0] | B[1] | B[2] | B[3], M / 4, 64, 1), // 1/4th of a Dust.
+ dustImpure("Impure Dusts", "Impure Pile of ", " Dust", true, true, false, false, false, false, false, true, false,
+ true, B[3], M * 1, 64, 3), // Dust with impurities. 1 Unit of Main Material and 1/9 - 1/4 Unit of secondary
+ // Material
+ dustRefined("Refined Dusts", "Refined Pile of ", " Dust", true, true, false, false, false, false, false, true,
+ false, true, B[3], M * 1, 64, 2),
+ dustPure("Purified Dusts", "Purified Pile of ", " Dust", true, true, false, false, false, false, false, true, false,
+ true, B[3], M * 1, 64, 4),
+ dust("Dusts", "", " Dust", true, true, false, false, false, false, false, true, false, false,
+ B[0] | B[1] | B[2] | B[3], M * 1, 64, 2), // Pure Dust worth of one Ingot or Gem. Introduced by Alblaka.
+ nugget("Nuggets", "", " Nugget", true, true, false, false, false, false, false, true, false, false, B[1], M / 9, 64,
+ 9), // A Nugget. Introduced by Eloraam
+ plateAlloy("Alloy Plates", "", "", true, false, false, false, false, false, false, false, false, false, B[1], -1,
+ 64, 17), // Special Alloys have this prefix.
+ plateSteamcraft("Steamcraft Plates", "", "", false, false, false, false, false, false, false, false, false, false,
+ B[1], -1, 64, 17),
+ plateDense("Dense Plates", "Dense ", " Plate", true, true, false, false, false, false, true, true, false, false,
+ B[1], M * 9, 64, 22), // 9 Plates combined in one Item.
+ plateQuintuple("5x Plates", "Quintuple ", " Plate", true, true, false, false, false, false, true, true, false,
+ false, B[1], M * 5, 64, 21),
+ plateQuadruple("4x Plates", "Quadruple ", " Plate", true, true, false, false, false, false, true, true, false,
+ false, B[1], M * 4, 64, 20),
@Deprecated
- plateQuad(
- "4x Plates",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- B[1],
- -1,
- 64,
+ plateQuad("4x Plates", "", "", false, false, false, false, false, false, false, false, false, false, B[1], -1, 64,
20),
- plateTriple(
- "3x Plates",
- "Triple ",
- " Plate",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M * 3,
- 64,
- 19),
- plateDouble(
- "2x Plates",
- "Double ",
- " Plate",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M * 2,
- 64,
- 18),
- plate(
- "Plates",
- "",
- " Plate",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1] | B[2],
- M * 1,
- 64,
- 17), // Regular Plate made of one Ingot/Dust. Introduced by Calclavia
- itemCasing(
- "Casings",
- "",
- " Casing",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1] | B[2],
- M / 2,
- 64,
- 10), // Casing made of 1/2 Ingot/Dust
- foil(
- "Foils", "", " Foil", true, true, false, false, false, false, true, true, false, false, B[1], M / 4, 64,
- 29), // Foil made of 1/4 Ingot/Dust.
- stickLong(
- "Long Sticks/Rods",
- "Long ",
- " Rod",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1] | B[2],
- M * 1,
- 64,
- 54), // Stick made of an Ingot.
- stick(
- "Sticks/Rods",
- "",
- " Rod",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1] | B[2],
- M / 2,
- 64,
- 23), // Stick made of half an Ingot. Introduced by Eloraam
- round(
- "Rounds", "", " Round", true, true, false, false, false, false, true, true, false, false, B[1], M / 9, 64,
+ plateTriple("3x Plates", "Triple ", " Plate", true, true, false, false, false, false, true, true, false, false,
+ B[1], M * 3, 64, 19),
+ plateDouble("2x Plates", "Double ", " Plate", true, true, false, false, false, false, true, true, false, false,
+ B[1], M * 2, 64, 18),
+ plate("Plates", "", " Plate", true, true, false, false, false, false, true, true, false, false, B[1] | B[2], M * 1,
+ 64, 17), // Regular Plate made of one Ingot/Dust. Introduced by Calclavia
+ itemCasing("Casings", "", " Casing", true, true, false, false, false, false, true, true, false, false, B[1] | B[2],
+ M / 2, 64, 10), // Casing made of 1/2 Ingot/Dust
+ foil("Foils", "", " Foil", true, true, false, false, false, false, true, true, false, false, B[1], M / 4, 64, 29), // Foil
+ // made
+ // of
+ // 1/4
+ // Ingot/Dust.
+ stickLong("Long Sticks/Rods", "Long ", " Rod", true, true, false, false, false, false, true, true, false, false,
+ B[1] | B[2], M * 1, 64, 54), // Stick made of an Ingot.
+ stick("Sticks/Rods", "", " Rod", true, true, false, false, false, false, true, true, false, false, B[1] | B[2],
+ M / 2, 64, 23), // Stick made of half an Ingot. Introduced by Eloraam
+ round("Rounds", "", " Round", true, true, false, false, false, false, true, true, false, false, B[1], M / 9, 64,
25), // consisting out of one Nugget.
- bolt(
- "Bolts",
- "",
- " Bolt",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1] | B[2],
- M / 8,
- 64,
+ bolt("Bolts", "", " Bolt", true, true, false, false, false, false, true, true, false, false, B[1] | B[2], M / 8, 64,
26), // consisting out of 1/8 Ingot or 1/4 Stick.
- comb(
- "Combs",
- "",
- " Comb",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- B[1] | B[2],
- M,
- 64,
+ comb("Combs", "", " Comb", false, false, false, false, false, false, false, true, false, false, B[1] | B[2], M, 64,
101), // contain dusts
- screw(
- "Screws",
- "",
- " Screw",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1] | B[2],
- M / 9,
- 64,
- 27), // consisting out of a Bolt.
- ring(
- "Rings", "", " Ring", true, true, false, false, false, false, true, true, false, false, B[1], M / 4, 64,
- 28), // consisting out of 1/2 Stick.
- springSmall(
- "Small Springs",
- "Small ",
- " Spring",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M / 4,
- 64,
- 55), // consisting out of 1 Fine Wire.
- spring(
- "Springs", "", " Spring", true, true, false, false, false, false, true, true, false, false, B[1], M * 1, 64,
+ screw("Screws", "", " Screw", true, true, false, false, false, false, true, true, false, false, B[1] | B[2], M / 9,
+ 64, 27), // consisting out of a Bolt.
+ ring("Rings", "", " Ring", true, true, false, false, false, false, true, true, false, false, B[1], M / 4, 64, 28), // consisting
+ // out
+ // of
+ // 1/2
+ // Stick.
+ springSmall("Small Springs", "Small ", " Spring", true, true, false, false, false, false, true, true, false, false,
+ B[1], M / 4, 64, 55), // consisting out of 1 Fine Wire.
+ spring("Springs", "", " Spring", true, true, false, false, false, false, true, true, false, false, B[1], M * 1, 64,
56), // consisting out of 2 Sticks.
- wireFine(
- "Fine Wires",
- "Fine ",
- " Wire",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1],
- M / 8,
- 64,
- 51), // consisting out of 1/8 Ingot or 1/4 Wire.
- rotor(
- "Rotors",
- "",
- " Rotor",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[7],
- M * 4 + M / 4,
- 64,
- 53), // consisting out of 4 Plates, 1 Ring and 1 Screw.
- gearGtSmall(
- "Small Gears",
- "Small ",
- " Gear",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[7],
- M * 1,
- 64,
- 52),
- gearGt(
- "Gears", "", " Gear", true, true, false, false, false, false, true, true, false, false, B[7], M * 4, 16,
- 63), // Introduced by me because BuildCraft has ruined the gear Prefix...
- lens(
- "Lenses",
- "",
- " Lens",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[2],
- (M * 3) / 4,
- 64,
+ wireFine("Fine Wires", "Fine ", " Wire", true, true, false, false, false, false, true, true, false, false, B[1],
+ M / 8, 64, 51), // consisting out of 1/8 Ingot or 1/4 Wire.
+ rotor("Rotors", "", " Rotor", true, true, false, false, false, false, true, true, false, false, B[7], M * 4 + M / 4,
+ 64, 53), // consisting out of 4 Plates, 1 Ring and 1 Screw.
+ gearGtSmall("Small Gears", "Small ", " Gear", true, true, false, false, false, false, true, true, false, false,
+ B[7], M * 1, 64, 52),
+ gearGt("Gears", "", " Gear", true, true, false, false, false, false, true, true, false, false, B[7], M * 4, 16, 63), // Introduced
+ // by
+ // me
+ // because
+ // BuildCraft
+ // has
+ // ruined
+ // the
+ // gear
+ // Prefix...
+ lens("Lenses", "", " Lens", true, true, false, false, false, false, true, true, false, false, B[2], (M * 3) / 4, 64,
24), // 3/4 of a Plate or Gem used to shape a Lense. Normally only used on Transparent Materials.
- crateGtDust(
- "Crates of Dust",
- "Crate of ",
- " Dust",
- true,
- true,
- false,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- B[0] | B[1] | B[2] | B[3],
- -1,
- 64,
- 96), // consisting out of 16 Dusts.
- crateGtPlate(
- "Crates of Plates",
- "Crate of ",
- " Plate",
- true,
- true,
- false,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- B[1] | B[2],
- -1,
- 64,
- 99), // consisting out of 16 Plates.
- crateGtIngot(
- "Crates of Ingots",
- "Crate of ",
- " Ingot",
- true,
- true,
- false,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- B[1],
- -1,
- 64,
- 97), // consisting out of 16 Ingots.
- crateGtGem(
- "Crates of Gems",
- "Crate of ",
- " Gem",
- true,
- true,
- false,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- B[2],
- -1,
- 64,
- 98), // consisting out of 16 Gems.
- cellPlasma(
- "Cells of Plasma",
- "",
- " Plasma Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- B[5],
- M * 1,
- 64,
- 31), // Hot Cell full of Plasma, which can be used in the Plasma Generator.
- cellMolten(
- "Cells of Molten stuff",
- "Molten ",
- " Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- 0,
- M * 1,
- 64,
- 31), // Hot Cell full of molten stuff, which can be used in the Plasma Generator.
- cell(
- "Cells",
- "",
- " Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- true,
- true,
- false,
- false,
- B[4] | B[8],
- M * 1,
- 64,
+ crateGtDust("Crates of Dust", "Crate of ", " Dust", true, true, false, true, false, false, false, true, false,
+ false, B[0] | B[1] | B[2] | B[3], -1, 64, 96), // consisting out of 16 Dusts.
+ crateGtPlate("Crates of Plates", "Crate of ", " Plate", true, true, false, true, false, false, false, true, false,
+ false, B[1] | B[2], -1, 64, 99), // consisting out of 16 Plates.
+ crateGtIngot("Crates of Ingots", "Crate of ", " Ingot", true, true, false, true, false, false, false, true, false,
+ false, B[1], -1, 64, 97), // consisting out of 16 Ingots.
+ crateGtGem("Crates of Gems", "Crate of ", " Gem", true, true, false, true, false, false, false, true, false, false,
+ B[2], -1, 64, 98), // consisting out of 16 Gems.
+ cellPlasma("Cells of Plasma", "", " Plasma Cell", true, true, true, true, false, false, false, true, false, false,
+ B[5], M * 1, 64, 31), // Hot Cell full of Plasma, which can be used in the Plasma Generator.
+ cellMolten("Cells of Molten stuff", "Molten ", " Cell", true, true, true, true, false, false, false, true, false,
+ false, 0, M * 1, 64, 31), // Hot Cell full of molten stuff, which can be used in the Plasma Generator.
+ cell("Cells", "", " Cell", true, true, true, true, false, false, true, true, false, false, B[4] | B[8], M * 1, 64,
30), // Regular Gas/Fluid Cell. Introduced by Calclavia
- bucket(
- "Buckets",
- "",
- " Bucket",
- true,
- true,
- true,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- B[4] | B[8],
- M * 1,
- 64,
- -1), // A vanilla Iron Bucket filled with the Material.
- bucketClay(
- "Clay Buckets",
- "",
- " Clay Bucket",
- true,
- true,
- true,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- B[4] | B[8],
- M * 1,
- 64,
- -1), // An Iguana Tweaks Clay Bucket filled with the Material.
- bottle(
- "Bottles",
- "",
- " Bottle",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- B[4] | B[8],
- -1,
- 64,
- -1), // Glass Bottle containing a Fluid.
- capsule(
- "Capsules",
- "",
- " Capsule",
- false,
- true,
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- B[4] | B[8],
- M * 1,
- 64,
- -1),
- crystal(
- "Crystals",
- "",
- " Crystal",
- false,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- B[2],
- M * 1,
- 64,
- -1),
- bulletGtSmall(
- "Small Bullets",
- "Small ",
- " Bullet",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- true,
- false,
- B[6] | B[8],
- M / 9,
- 64,
- -1),
- bulletGtMedium(
- "Medium Bullets",
- "Medium ",
- " Bullet",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- true,
- false,
- B[6] | B[8],
- M / 6,
- 64,
- -1),
- bulletGtLarge(
- "Large Bullets",
- "Large ",
- " Bullet",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- true,
- false,
- B[6] | B[8],
- M / 3,
- 64,
- -1),
- arrowGtWood(
- "Regular Arrows",
- "",
- " Arrow",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- true,
- false,
- B[6],
- M / 4,
- 64,
- 57), // Arrow made of 1/4 Ingot/Dust + Wooden Stick.
- arrowGtPlastic(
- "Light Arrows",
- "Light ",
- " Arrow",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- true,
- false,
- B[6],
- M / 4,
- 64,
- 58), // Arrow made of 1/4 Ingot/Dust + Plastic Stick.
+ bucket("Buckets", "", " Bucket", true, true, true, true, false, false, true, false, false, false, B[4] | B[8],
+ M * 1, 64, -1), // A vanilla Iron Bucket filled with the Material.
+ bucketClay("Clay Buckets", "", " Clay Bucket", true, true, true, true, false, false, true, false, false, false,
+ B[4] | B[8], M * 1, 64, -1), // An Iguana Tweaks Clay Bucket filled with the Material.
+ bottle("Bottles", "", " Bottle", true, true, true, true, false, false, false, false, false, false, B[4] | B[8], -1,
+ 64, -1), // Glass Bottle containing a Fluid.
+ capsule("Capsules", "", " Capsule", false, true, true, true, false, false, false, false, false, false, B[4] | B[8],
+ M * 1, 64, -1),
+ crystal("Crystals", "", " Crystal", false, true, false, false, false, false, true, false, false, false, B[2], M * 1,
+ 64, -1),
+ bulletGtSmall("Small Bullets", "Small ", " Bullet", true, true, false, false, true, false, true, false, true, false,
+ B[6] | B[8], M / 9, 64, -1),
+ bulletGtMedium("Medium Bullets", "Medium ", " Bullet", true, true, false, false, true, false, true, false, true,
+ false, B[6] | B[8], M / 6, 64, -1),
+ bulletGtLarge("Large Bullets", "Large ", " Bullet", true, true, false, false, true, false, true, false, true, false,
+ B[6] | B[8], M / 3, 64, -1),
+ arrowGtWood("Regular Arrows", "", " Arrow", true, true, false, false, true, false, true, false, true, false, B[6],
+ M / 4, 64, 57), // Arrow made of 1/4 Ingot/Dust + Wooden Stick.
+ arrowGtPlastic("Light Arrows", "Light ", " Arrow", true, true, false, false, true, false, true, false, true, false,
+ B[6], M / 4, 64, 58), // Arrow made of 1/4 Ingot/Dust + Plastic Stick.
arrow("Arrows", "", "", false, false, true, false, false, false, false, false, true, false, B[6], -1, 64, 57),
- toolHeadArrow(
- "Arrow Heads",
- "",
- " Arrow Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M / 4,
- 64,
- 46), // consisting out of 1/4 Ingot.
- toolHeadSword(
- "Sword Blades",
- "",
- " Sword Blade",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 2,
- 64,
- 32), // consisting out of 2 Ingots.
- toolHeadPickaxe(
- "Pickaxe Heads",
- "",
- " Pickaxe Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 3,
- 64,
- 33), // consisting out of 3 Ingots.
- toolHeadShovel(
- "Shovel Heads",
- "",
- " Shovel Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 1,
- 64,
- 34), // consisting out of 1 Ingots.
- toolHeadUniversalSpade(
- "Universal Spade Heads",
- "",
- " Universal Spade Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 1,
- 64,
- 43), // consisting out of 1 Ingots.
- toolHeadAxe(
- "Axe Heads",
- "",
- " Axe Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 3,
- 64,
- 35), // consisting out of 3 Ingots.
- toolHeadHoe(
- "Hoe Heads",
- "",
- " Hoe Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 2,
- 64,
- 36), // consisting out of 2 Ingots.
- toolHeadSense(
- "Sense Blades",
- "",
- " Sense Blade",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 3,
- 64,
- 44), // consisting out of 3 Ingots.
- toolHeadFile(
- "File Heads",
- "",
- " File Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 2,
- 64,
- 38), // consisting out of 2 Ingots.
- toolHeadHammer(
- "Hammer Heads",
- "",
- " Hammer Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 6,
- 64,
- 37), // consisting out of 6 Ingots.
- toolHeadPlow(
- "Plow Heads",
- "",
- " Plow Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 4,
- 64,
- 45), // consisting out of 4 Ingots.
- toolHeadSaw(
- "Saw Blades",
- "",
- " Saw Blade",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 2,
- 64,
- 39), // consisting out of 2 Ingots.
- toolHeadBuzzSaw(
- "Buzzsaw Blades",
- "",
- " Buzzsaw Blade",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 4,
- 64,
- 48), // consisting out of 4 Ingots.
- toolHeadScrewdriver(
- "Screwdriver Tips",
- "",
- " Screwdriver Tip",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- B[6],
- M * 1,
- 64,
- 47), // consisting out of 1 Ingots.
- toolHeadDrill(
- "Drill Tips",
- "",
- " Drill Tip",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 4,
- 64,
- 40), // consisting out of 4 Ingots.
- toolHeadChainsaw(
- "Chainsaw Tips",
- "",
- " Chainsaw Tip",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 2,
- 64,
- 41), // consisting out of 2 Ingots.
- toolHeadWrench(
- "Wrench Tips",
- "",
- " Wrench Tip",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 4,
- 64,
- 42), // consisting out of 4 Ingots.
- turbineBlade(
- "Turbine Blades",
- "",
- " Turbine Blade",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 6,
- 64,
- 100), // consisting out of 6 Ingots.
- toolSword(
- "Swords", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 2, 1,
- -1), // vanilly Sword
- toolPickaxe(
- "Pickaxes",
- "",
- "",
- false,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- false,
- B[6],
- M * 3,
- 1,
+ toolHeadArrow("Arrow Heads", "", " Arrow Head", true, true, false, false, false, false, true, true, false, false,
+ B[6], M / 4, 64, 46), // consisting out of 1/4 Ingot.
+ toolHeadSword("Sword Blades", "", " Sword Blade", true, true, false, false, false, false, true, true, false, false,
+ B[6], M * 2, 64, 32), // consisting out of 2 Ingots.
+ toolHeadPickaxe("Pickaxe Heads", "", " Pickaxe Head", true, true, false, false, false, false, true, true, false,
+ false, B[6], M * 3, 64, 33), // consisting out of 3 Ingots.
+ toolHeadShovel("Shovel Heads", "", " Shovel Head", true, true, false, false, false, false, true, true, false, false,
+ B[6], M * 1, 64, 34), // consisting out of 1 Ingots.
+ toolHeadUniversalSpade("Universal Spade Heads", "", " Universal Spade Head", true, true, false, false, false, false,
+ true, true, false, false, B[6], M * 1, 64, 43), // consisting out of 1 Ingots.
+ toolHeadAxe("Axe Heads", "", " Axe Head", true, true, false, false, false, false, true, true, false, false, B[6],
+ M * 3, 64, 35), // consisting out of 3 Ingots.
+ toolHeadHoe("Hoe Heads", "", " Hoe Head", true, true, false, false, false, false, true, true, false, false, B[6],
+ M * 2, 64, 36), // consisting out of 2 Ingots.
+ toolHeadSense("Sense Blades", "", " Sense Blade", true, true, false, false, false, false, true, true, false, false,
+ B[6], M * 3, 64, 44), // consisting out of 3 Ingots.
+ toolHeadFile("File Heads", "", " File Head", true, true, false, false, false, false, true, true, false, false, B[6],
+ M * 2, 64, 38), // consisting out of 2 Ingots.
+ toolHeadHammer("Hammer Heads", "", " Hammer Head", true, true, false, false, false, false, true, true, false, false,
+ B[6], M * 6, 64, 37), // consisting out of 6 Ingots.
+ toolHeadPlow("Plow Heads", "", " Plow Head", true, true, false, false, false, false, true, true, false, false, B[6],
+ M * 4, 64, 45), // consisting out of 4 Ingots.
+ toolHeadSaw("Saw Blades", "", " Saw Blade", true, true, false, false, false, false, true, true, false, false, B[6],
+ M * 2, 64, 39), // consisting out of 2 Ingots.
+ toolHeadBuzzSaw("Buzzsaw Blades", "", " Buzzsaw Blade", true, true, false, false, false, false, true, true, false,
+ false, B[6], M * 4, 64, 48), // consisting out of 4 Ingots.
+ toolHeadScrewdriver("Screwdriver Tips", "", " Screwdriver Tip", true, true, false, false, false, false, true, false,
+ false, false, B[6], M * 1, 64, 47), // consisting out of 1 Ingots.
+ toolHeadDrill("Drill Tips", "", " Drill Tip", true, true, false, false, false, false, true, true, false, false,
+ B[6], M * 4, 64, 40), // consisting out of 4 Ingots.
+ toolHeadChainsaw("Chainsaw Tips", "", " Chainsaw Tip", true, true, false, false, false, false, true, true, false,
+ false, B[6], M * 2, 64, 41), // consisting out of 2 Ingots.
+ toolHeadWrench("Wrench Tips", "", " Wrench Tip", true, true, false, false, false, false, true, true, false, false,
+ B[6], M * 4, 64, 42), // consisting out of 4 Ingots.
+ turbineBlade("Turbine Blades", "", " Turbine Blade", true, true, false, false, false, false, true, true, false,
+ false, B[6], M * 6, 64, 100), // consisting out of 6 Ingots.
+ toolSword("Swords", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 2, 1, -1), // vanilly
+ // Sword
+ toolPickaxe("Pickaxes", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 3, 1,
-1), // vanilly Pickaxe
- toolShovel(
- "Shovels", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 1, 1,
+ toolShovel("Shovels", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 1, 1,
-1), // vanilly Shovel
- toolAxe(
- "Axes", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 3, 1,
- -1), // vanilly Axe
- toolHoe(
- "Hoes", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 2, 1,
- -1), // vanilly Hoe
- toolShears(
- "Shears", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 2, 1,
- -1), // vanilly Shears
- tool(
- "Tools", "", "", false, false, false, false, false, false, false, false, true, false, B[6], -1, 1,
- -1), // toolPot, toolSkillet, toolSaucepan, toolBakeware, toolCuttingboard, toolMortarandpestle,
+ toolAxe("Axes", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 3, 1, -1), // vanilly
+ // Axe
+ toolHoe("Hoes", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 2, 1, -1), // vanilly
+ // Hoe
+ toolShears("Shears", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 2, 1, -1), // vanilly
+ // Shears
+ tool("Tools", "", "", false, false, false, false, false, false, false, false, true, false, B[6], -1, 1, -1), // toolPot,
+ // toolSkillet,
+ // toolSaucepan,
+ // toolBakeware,
+ // toolCuttingboard,
+ // toolMortarandpestle,
// toolMixingbowl, toolJuicer
- compressedCobblestone(
- "9^X Compressed Cobblestones",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
- compressedStone(
- "9^X Compressed Stones",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
- compressedDirt(
- "9^X Compressed Dirt",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
- compressedGravel(
- "9^X Compressed Gravel",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
- compressedSand(
- "9^X Compressed Sand",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
- compressed(
- "Compressed Materials",
- "Compressed ",
- "",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 3,
- 64,
- -1), // Compressed Material, worth 1 Unit. Introduced by Galacticraft
+ compressedCobblestone("9^X Compressed Cobblestones", "", "", false, false, false, false, false, false, false, false,
+ false, false, 0, -1, 64, -1),
+ compressedStone("9^X Compressed Stones", "", "", false, false, false, false, false, false, false, false, false,
+ false, 0, -1, 64, -1),
+ compressedDirt("9^X Compressed Dirt", "", "", false, false, false, false, false, false, false, false, false, false,
+ 0, -1, 64, -1),
+ compressedGravel("9^X Compressed Gravel", "", "", false, false, false, false, false, false, false, false, false,
+ false, 0, -1, 64, -1),
+ compressedSand("9^X Compressed Sand", "", "", false, false, false, false, false, false, false, false, false, false,
+ 0, -1, 64, -1),
+ compressed("Compressed Materials", "Compressed ", "", true, true, false, false, false, false, true, false, false,
+ false, 0, M * 3, 64, -1), // Compressed Material, worth 1 Unit. Introduced by Galacticraft
glass("Glasses", "", "", false, false, true, false, true, false, false, false, false, false, 0, -1, 64, -1),
paneGlass("Glass Panes", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64, -1),
- blockGlass(
- "Glass Blocks", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64, -1),
+ blockGlass("Glass Blocks", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64,
+ -1),
blockWool("Wool Blocks", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64, -1),
- block_(
- "Random Blocks",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // IGNORE
- block(
- "Storage Blocks",
- "Block of ",
- "",
- true,
- true,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- false,
- 0,
- M * 9,
- 64,
- 71), // Storage Block consisting out of 9 Ingots/Gems/Dusts. Introduced by CovertJaguar
- craftingTool(
- "Crafting Tools",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- 0,
- -1,
- 64,
+ block_("Random Blocks", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64, -1), // IGNORE
+ block("Storage Blocks", "Block of ", "", true, true, false, false, false, true, true, false, false, false, 0, M * 9,
+ 64, 71), // Storage Block consisting out of 9 Ingots/Gems/Dusts. Introduced by CovertJaguar
+ craftingTool("Crafting Tools", "", "", false, false, false, false, false, false, false, false, true, false, 0, -1,
+ 64, -1), // Special Prefix used mainly for the Crafting Handler.
+ crafting("Crafting Ingredients", "", "", false, false, false, false, false, false, false, false, false, false, 0,
+ -1, 64, -1), // Special Prefix used mainly for the Crafting Handler.
+ craft("Crafting Stuff?", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
-1), // Special Prefix used mainly for the Crafting Handler.
- crafting(
- "Crafting Ingredients",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Special Prefix used mainly for the Crafting Handler.
- craft(
- "Crafting Stuff?",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Special Prefix used mainly for the Crafting Handler.
- log(
- "Logs", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64,
- -1), // Prefix used for Logs. Usually as "logWood". Introduced by Eloraam
- slab(
- "Slabs", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64,
- -1), // Prefix used for Slabs. Usually as "slabWood" or "slabStone". Introduced by SirSengir
- stair(
- "Stairs", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64,
- -1), // Prefix used for Stairs. Usually as "stairWood" or "stairStone". Introduced by SirSengir
- fence(
- "Fences", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
- -1), // Prefix used for Fences. Usually as "fenceWood". Introduced by Forge
- plank(
- "Planks", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64,
- -1), // Prefix for Planks. Usually "plankWood". Introduced by Eloraam
- treeSapling(
- "Saplings",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Prefix for Saplings.
- treeLeaves(
- "Leaves", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64,
- -1), // Prefix for Leaves.
- tree(
- "Tree Parts",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Prefix for Tree Parts.
- stoneCobble(
- "Cobblestones",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
+ log("Logs", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // used for
+ // Logs.
+ // Usually
+ // as
+ // "logWood".
+ // Introduced
+ // by
+ // Eloraam
+ slab("Slabs", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // used
+ // for
+ // Slabs.
+ // Usually
+ // as
+ // "slabWood"
+ // or
+ // "slabStone".
+ // Introduced
+ // by
+ // SirSengir
+ stair("Stairs", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // used
+ // for
+ // Stairs.
+ // Usually
+ // as
+ // "stairWood"
+ // or
+ // "stairStone".
+ // Introduced
+ // by
+ // SirSengir
+ fence("Fences", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // used
+ // for
+ // Fences.
+ // Usually
+ // as
+ // "fenceWood".
+ // Introduced
+ // by
+ // Forge
+ plank("Planks", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // for
+ // Planks.
+ // Usually
+ // "plankWood".
+ // Introduced
+ // by
+ // Eloraam
+ treeSapling("Saplings", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // for
+ // Saplings.
+ treeLeaves("Leaves", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // for
+ // Leaves.
+ tree("Tree Parts", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // for
+ // Tree
+ // Parts.
+ stoneCobble("Cobblestones", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64,
-1), // Cobblestone Prefix for all Cobblestones.
- stoneSmooth(
- "Smoothstones",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
+ stoneSmooth("Smoothstones", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64,
-1), // Smoothstone Prefix.
- stoneMossyBricks(
- "mossy Stone Bricks",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Mossy Stone Bricks.
- stoneMossy(
- "Mossy Stones",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
+ stoneMossyBricks("mossy Stone Bricks", "", "", false, false, true, false, false, true, false, false, false, false,
+ 0, -1, 64, -1), // Mossy Stone Bricks.
+ stoneMossy("Mossy Stones", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64,
-1), // Mossy Cobble.
@Deprecated
- stoneBricksMossy(
- "Mossy Stone Bricks",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
- stoneBricks(
- "Stone Bricks",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
+ stoneBricksMossy("Mossy Stone Bricks", "", "", false, false, false, false, false, true, false, false, false, false,
+ 0, -1, 64, -1),
+ stoneBricks("Stone Bricks", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64,
-1), // Stone Bricks.
@Deprecated
- stoneBrick(
- "Stone Bricks", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64, -1),
- stoneCracked(
- "Cracked Stones",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Cracked Bricks.
- stoneChiseled(
- "Chiseled Stones",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Chiseled Stone.
- stone(
- "Stones", "", "", false, true, true, false, true, true, false, false, false, false, 0, -1, 64,
- -1), // Prefix to determine which kind of Rock this is.
- cobblestone(
- "Cobblestones", "", "", false, true, true, false, false, true, false, false, false, false, 0, -1, 64, -1),
- rock(
- "Rocks", "", "", false, true, true, false, true, true, false, false, false, false, 0, -1, 64,
- -1), // Prefix to determine which kind of Rock this is.
+ stoneBrick("Stone Bricks", "", "", false, false, false, false, false, true, false, false, false, false, 0, -1, 64,
+ -1),
+ stoneCracked("Cracked Stones", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1,
+ 64, -1), // Cracked Bricks.
+ stoneChiseled("Chiseled Stones", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1,
+ 64, -1), // Chiseled Stone.
+ stone("Stones", "", "", false, true, true, false, true, true, false, false, false, false, 0, -1, 64, -1), // Prefix
+ // to
+ // determine
+ // which
+ // kind of
+ // Rock
+ // this
+ // is.
+ cobblestone("Cobblestones", "", "", false, true, true, false, false, true, false, false, false, false, 0, -1, 64,
+ -1),
+ rock("Rocks", "", "", false, true, true, false, true, true, false, false, false, false, 0, -1, 64, -1), // Prefix to
+ // determine
+ // which
+ // kind of
+ // Rock this
+ // is.
record("Records", "", "", false, false, true, false, false, false, false, false, false, false, 0, -1, 1, -1),
rubble("Rubbles", "", "", true, true, true, false, false, false, false, false, false, false, 0, -1, 64, -1),
scraps("Scraps", "", "", true, true, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
scrap("Scraps", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- item_(
- "Items", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
- -1), // IGNORE
- item(
- "Items", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
- -1), // Random Item. Introduced by Alblaka
- book(
- "Books", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
- -1), // Used for Books of any kind.
- paper(
- "Papers", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
- -1), // Used for Papers of any kind.
- dye(
- "Dyes", "", "", false, false, true, false, false, false, false, false, false, false, 0, -1, 64,
- -1), // Used for the 16 dyes. Introduced by Eloraam
- stainedClay(
- "Stained Clays",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
+ item_("Items", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // IGNORE
+ item("Items", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Random
+ // Item.
+ // Introduced
+ // by
+ // Alblaka
+ book("Books", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Used
+ // for
+ // Books
+ // of
+ // any
+ // kind.
+ paper("Papers", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Used
+ // for
+ // Papers
+ // of
+ // any
+ // kind.
+ dye("Dyes", "", "", false, false, true, false, false, false, false, false, false, false, 0, -1, 64, -1), // Used for
+ // the 16
+ // dyes.
+ // Introduced
+ // by
+ // Eloraam
+ stainedClay("Stained Clays", "", "", false, false, true, false, false, true, false, false, false, false, 0, -1, 64,
-1), // Used for the 16 colors of Stained Clay. Introduced by Forge
- armorHelmet(
- "Helmets", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 5, 1,
+ armorHelmet("Helmets", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 5, 1,
-1), // vanilly Helmet
- armorChestplate(
- "Chestplates",
- "",
- "",
- false,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- false,
- B[6],
- M * 8,
- 1,
- -1), // vanilly Chestplate
- armorLeggings(
- "Leggings",
- "",
- "",
- false,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- true,
- false,
- B[6],
- M * 7,
- 1,
+ armorChestplate("Chestplates", "", "", false, true, false, false, false, false, true, false, true, false, B[6],
+ M * 8, 1, -1), // vanilly Chestplate
+ armorLeggings("Leggings", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 7, 1,
-1), // vanilly Pants
- armorBoots(
- "Boots", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 4, 1,
- -1), // vanilly Boots
+ armorBoots("Boots", "", "", false, true, false, false, false, false, true, false, true, false, B[6], M * 4, 1, -1), // vanilly
+ // Boots
armor("Armor Parts", "", "", false, false, false, false, false, false, false, false, true, false, B[6], -1, 1, -1),
frameGt("Frame Boxes", "", "", true, true, false, false, true, false, true, false, false, false, 0, M * 2, 64, 83),
- pipeTiny(
- "Tiny Pipes",
- "Tiny ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M / 2,
- 64,
- 78),
- pipeSmall(
- "Small Pipes",
- "Small ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 1,
- 64,
- 79),
- pipeMedium(
- "Medium Pipes",
- "Medium ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 3,
- 64,
- 80),
- pipeLarge(
- "Large pipes",
- "Large ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 6,
- 64,
- 81),
- pipeHuge(
- "Huge Pipes",
- "Huge ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 12,
- 64,
- 82),
- pipeQuadruple(
- "Quadruple Pipes",
- "Quadruple ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 12,
- 64,
- 84),
- pipeNonuple(
- "Nonuple Pipes",
- "Nonuple ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 9,
- 64,
- 85),
- pipeRestrictiveTiny(
- "Tiny Restrictive Pipes",
- "Tiny Restrictive ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M / 2,
- 64,
- 78),
- pipeRestrictiveSmall(
- "Small Restrictive Pipes",
- "Small Restrictive ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 1,
- 64,
- 79),
- pipeRestrictiveMedium(
- "Medium Restrictive Pipes",
- "Medium Restrictive ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 3,
- 64,
- 80),
- pipeRestrictiveLarge(
- "Large Restrictive Pipes",
- "Large Restrictive ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 6,
- 64,
- 81),
- pipeRestrictiveHuge(
- "Huge Restrictive Pipes",
- "Huge Restrictive ",
- " Pipe",
- true,
- true,
- false,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 12,
- 64,
- 82),
+ pipeTiny("Tiny Pipes", "Tiny ", " Pipe", true, true, false, false, true, false, true, false, false, false, 0, M / 2,
+ 64, 78),
+ pipeSmall("Small Pipes", "Small ", " Pipe", true, true, false, false, true, false, true, false, false, false, 0,
+ M * 1, 64, 79),
+ pipeMedium("Medium Pipes", "Medium ", " Pipe", true, true, false, false, true, false, true, false, false, false, 0,
+ M * 3, 64, 80),
+ pipeLarge("Large pipes", "Large ", " Pipe", true, true, false, false, true, false, true, false, false, false, 0,
+ M * 6, 64, 81),
+ pipeHuge("Huge Pipes", "Huge ", " Pipe", true, true, false, false, true, false, true, false, false, false, 0,
+ M * 12, 64, 82),
+ pipeQuadruple("Quadruple Pipes", "Quadruple ", " Pipe", true, true, false, false, true, false, true, false, false,
+ false, 0, M * 12, 64, 84),
+ pipeNonuple("Nonuple Pipes", "Nonuple ", " Pipe", true, true, false, false, true, false, true, false, false, false,
+ 0, M * 9, 64, 85),
+ pipeRestrictiveTiny("Tiny Restrictive Pipes", "Tiny Restrictive ", " Pipe", true, true, false, false, true, false,
+ true, false, false, false, 0, M / 2, 64, 78),
+ pipeRestrictiveSmall("Small Restrictive Pipes", "Small Restrictive ", " Pipe", true, true, false, false, true,
+ false, true, false, false, false, 0, M * 1, 64, 79),
+ pipeRestrictiveMedium("Medium Restrictive Pipes", "Medium Restrictive ", " Pipe", true, true, false, false, true,
+ false, true, false, false, false, 0, M * 3, 64, 80),
+ pipeRestrictiveLarge("Large Restrictive Pipes", "Large Restrictive ", " Pipe", true, true, false, false, true,
+ false, true, false, false, false, 0, M * 6, 64, 81),
+ pipeRestrictiveHuge("Huge Restrictive Pipes", "Huge Restrictive ", " Pipe", true, true, false, false, true, false,
+ true, false, false, false, 0, M * 12, 64, 82),
pipe("Pipes", "", " Pipe", true, false, false, false, false, false, false, false, false, false, 0, -1, 64, 77),
- wireGt16(
- "16x Wires",
- "16x ",
- " Wire",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 8,
- 64,
- -1),
- wireGt12(
- "12x Wires",
- "12x ",
- " Wire",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 6,
- 64,
- -1),
- wireGt08(
- "8x Wires",
- "8x ",
- " Wire",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 4,
- 64,
- -1),
- wireGt04(
- "4x Wires",
- "4x ",
- " Wire",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 2,
- 64,
- -1),
- wireGt02(
- "2x Wires",
- "2x ",
- " Wire",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 1,
- 64,
- -1),
- wireGt01(
- "1x Wires",
- "1x ",
- " Wire",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M / 2,
- 64,
- -1),
- cableGt16(
- "16x Cables",
- "16x ",
- " Cable",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 8,
- 64,
- -1),
- cableGt12(
- "12x Cables",
- "12x ",
- " Cable",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 6,
- 64,
- -1),
- cableGt08(
- "8x Cables",
- "8x ",
- " Cable",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 4,
- 64,
- -1),
- cableGt04(
- "4x Cables",
- "4x ",
- " Cable",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 2,
- 64,
- -1),
- cableGt02(
- "2x Cables",
- "2x ",
- " Cable",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M * 1,
- 64,
- -1),
- cableGt01(
- "1x Cables",
- "1x ",
- " Cable",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- 0,
- M / 2,
- 64,
- -1),
-
- /* Electric Components.
- *
- * usual Materials for this are:
- * Primitive (Tier 1)
- * Basic (Tier 2) as used by UE as well : IC2 Circuit and RE-Battery
- * Good (Tier 3)
- * Advanced (Tier 4) as used by UE as well : Advanced Circuit, Advanced Battery and Lithium Battery
- * Data (Tier 5) : Data Storage Circuit
- * Elite (Tier 6) as used by UE as well : Energy Crystal and Data Control Circuit
- * Master (Tier 7) : Energy Flow Circuit and Lapotron Crystal
- * Ultimate (Tier 8) : Data Orb and Lapotronic Energy Orb
- * Infinite (Cheaty)
+ wireGt16("16x Wires", "16x ", " Wire", true, true, false, false, false, false, true, false, false, false, 0, M * 8,
+ 64, -1),
+ wireGt12("12x Wires", "12x ", " Wire", true, true, false, false, false, false, true, false, false, false, 0, M * 6,
+ 64, -1),
+ wireGt08("8x Wires", "8x ", " Wire", true, true, false, false, false, false, true, false, false, false, 0, M * 4,
+ 64, -1),
+ wireGt04("4x Wires", "4x ", " Wire", true, true, false, false, false, false, true, false, false, false, 0, M * 2,
+ 64, -1),
+ wireGt02("2x Wires", "2x ", " Wire", true, true, false, false, false, false, true, false, false, false, 0, M * 1,
+ 64, -1),
+ wireGt01("1x Wires", "1x ", " Wire", true, true, false, false, false, false, true, false, false, false, 0, M / 2,
+ 64, -1),
+ cableGt16("16x Cables", "16x ", " Cable", true, true, false, false, false, false, true, false, false, false, 0,
+ M * 8, 64, -1),
+ cableGt12("12x Cables", "12x ", " Cable", true, true, false, false, false, false, true, false, false, false, 0,
+ M * 6, 64, -1),
+ cableGt08("8x Cables", "8x ", " Cable", true, true, false, false, false, false, true, false, false, false, 0, M * 4,
+ 64, -1),
+ cableGt04("4x Cables", "4x ", " Cable", true, true, false, false, false, false, true, false, false, false, 0, M * 2,
+ 64, -1),
+ cableGt02("2x Cables", "2x ", " Cable", true, true, false, false, false, false, true, false, false, false, 0, M * 1,
+ 64, -1),
+ cableGt01("1x Cables", "1x ", " Cable", true, true, false, false, false, false, true, false, false, false, 0, M / 2,
+ 64, -1),
+
+ /*
+ * Electric Components. usual Materials for this are: Primitive (Tier 1) Basic (Tier 2) as used by UE as well : IC2
+ * Circuit and RE-Battery Good (Tier 3) Advanced (Tier 4) as used by UE as well : Advanced Circuit, Advanced Battery
+ * and Lithium Battery Data (Tier 5) : Data Storage Circuit Elite (Tier 6) as used by UE as well : Energy Crystal
+ * and Data Control Circuit Master (Tier 7) : Energy Flow Circuit and Lapotron Crystal Ultimate (Tier 8) : Data Orb
+ * and Lapotronic Energy Orb Infinite (Cheaty)
*/
- batterySingleuse(
- "Single Use Batteries",
- "",
- "",
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
- battery(
- "Reusable Batteries",
- "",
- "",
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Introduced by Calclavia
- circuit(
- "Circuits",
- "",
- "",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Introduced by Calclavia
- chipset(
- "Chipsets",
- "",
- "",
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // Introduced by Buildcraft
- computer(
- "Computers",
- "",
- "",
- true,
- true,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1), // A whole Computer. "computerMaster" = ComputerCube
+ batterySingleuse("Single Use Batteries", "", "", false, true, false, false, false, false, false, false, false,
+ false, 0, -1, 64, -1),
+ battery("Reusable Batteries", "", "", false, true, false, false, false, false, false, false, false, false, 0, -1,
+ 64, -1), // Introduced by Calclavia
+ circuit("Circuits", "", "", true, true, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Introduced
+ // by
+ // Calclavia
+ chipset("Chipsets", "", "", true, true, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Introduced
+ // by
+ // Buildcraft
+ computer("Computers", "", "", true, true, false, false, true, false, false, false, false, false, 0, -1, 64, -1), // A
+ // whole
+ // Computer.
+ // "computerMaster"
+ // =
+ // ComputerCube
// random known prefixes without special abilities.
skull("Skulls", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
plating("Platings", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
dinosaur("Dinosaurs", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- travelgear(
- "Travel Gear", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
+ travelgear("Travel Gear", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
+ -1),
bauble("Baubles", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
cluster("Clusters", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
grafter("Grafters", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
@@ -2878,9 +558,9 @@ public enum OrePrefixes {
grass("Grasses", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
gravel("Gravels", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
mushroom("Mushrooms", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- wood(
- "Woods", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
- -1), // Introduced by Eloraam
+ wood("Woods", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Introduced
+ // by
+ // Eloraam
drop("Drops", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
fuel("Fuels", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
panel("Panels", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
@@ -2889,42 +569,26 @@ public enum OrePrefixes {
wire("Wires", "", "", false, false, false, false, true, false, false, false, false, false, 0, -1, 64, -1),
seed("Seeds", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
reed("Reeds", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- sheetDouble(
- "2x Sheets", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
+ sheetDouble("2x Sheets", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
+ -1),
sheet("Sheets", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
crop("Crops", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
plant("Plants", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
coin("Coins", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
lumar("Lumars", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- ground(
- "Grounded Stuff",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
+ ground("Grounded Stuff", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
-1),
cable("Cables", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- component(
- "Components", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
+ component("Components", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
+ -1),
wax("Waxes", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
wall("Walls", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
tube("Tubes", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
list("Lists", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
food("Foods", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- gear(
- "Gears", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
- -1), // Introduced by SirSengir
+ gear("Gears", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1), // Introduced
+ // by
+ // SirSengir
coral("Corals", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
flower("Flowers", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
storage("Storages", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
@@ -2941,28 +605,12 @@ public enum OrePrefixes {
bit("Bits", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
shears("Shears", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
turbine("Turbines", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- fertilizer(
- "Fertilizers", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
+ fertilizer("Fertilizers", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
+ -1),
chest("Chests", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
raw("Raw Things", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- stainedGlass(
- "Stained Glasses",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
+ stainedGlass("Stained Glasses", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1,
+ 64, -1),
mystic("Mystic Stuff", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
mana("Mana Stuff", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
rune("Runes", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
@@ -2971,29 +619,13 @@ public enum OrePrefixes {
powder("Powders", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
soulsand("Soulsands", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
obsidian("Obsidians", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- glowstone(
- "Glowstones", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
+ glowstone("Glowstones", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
+ -1),
beans("Beans", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
br("br", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
essence("Essences", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
alloy("Alloys", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- cooking(
- "Cooked Things",
- "",
- "",
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
+ cooking("Cooked Things", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64,
-1),
elven("Elven Stuff", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
reactor("Reactors", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
@@ -3003,174 +635,30 @@ public enum OrePrefixes {
liquid("Liquids", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
bars("Bars", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
bar("Bars", "", "", false, false, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
- toolHeadMallet(
- "Mallet Heads",
- "",
- " Mallet Head",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[6],
- M * 6,
- 64,
- 127), // Reverse Head consisting out of 6 Ingots.
- handleMallet(
- "Mallet Handle",
- "",
- " Handle",
- true,
- true,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- B[1] | B[2],
- M / 2,
- 64,
- 126), // Reverse Stick made of half an Ingot. Introduced by Eloraam
+ toolHeadMallet("Mallet Heads", "", " Mallet Head", true, true, false, false, false, false, true, true, false, false,
+ B[6], M * 6, 64, 127), // Reverse Head consisting out of 6 Ingots.
+ handleMallet("Mallet Handle", "", " Handle", true, true, false, false, false, false, true, true, false, false,
+ B[1] | B[2], M / 2, 64, 126), // Reverse Stick made of half an Ingot. Introduced by Eloraam
// Cracked fluids
- cellHydroCracked1(
- "Cells",
- "Lightly Hydro-Cracked ",
- " Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- 0,
- M * 1,
- 64,
- 30),
- cellHydroCracked2(
- "Cells",
- "Moderately Hydro-Cracked ",
- " Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- 0,
- M * 1,
- 64,
- 30),
- cellHydroCracked3(
- "Cells",
- "Severely Hydro-Cracked ",
- " Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- 0,
- M * 1,
- 64,
- 30),
- cellSteamCracked1(
- "Cells",
- "Lightly Steam-Cracked ",
- " Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- 0,
- M * 1,
- 64,
- 30),
- cellSteamCracked2(
- "Cells",
- "Moderately Steam-Cracked ",
- " Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- 0,
- M * 1,
- 64,
- 30),
- cellSteamCracked3(
- "Cells",
- "Severely Steam-Cracked ",
- " Cell",
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- 0,
- M * 1,
- 64,
- 30),
-
- componentCircuit(
- "Circuit Parts", "", "", true, true, false, false, false, false, false, false, false, false, 0, -1, 64, -1),
-
- apiaryUpgrade(
- "Industrial Apiary Upgrade",
- "",
- "",
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- 0,
- -1,
- 64,
- -1),
+ cellHydroCracked1("Cells", "Lightly Hydro-Cracked ", " Cell", true, true, true, true, false, false, false, true,
+ false, false, 0, M * 1, 64, 30),
+ cellHydroCracked2("Cells", "Moderately Hydro-Cracked ", " Cell", true, true, true, true, false, false, false, true,
+ false, false, 0, M * 1, 64, 30),
+ cellHydroCracked3("Cells", "Severely Hydro-Cracked ", " Cell", true, true, true, true, false, false, false, true,
+ false, false, 0, M * 1, 64, 30),
+ cellSteamCracked1("Cells", "Lightly Steam-Cracked ", " Cell", true, true, true, true, false, false, false, true,
+ false, false, 0, M * 1, 64, 30),
+ cellSteamCracked2("Cells", "Moderately Steam-Cracked ", " Cell", true, true, true, true, false, false, false, true,
+ false, false, 0, M * 1, 64, 30),
+ cellSteamCracked3("Cells", "Severely Steam-Cracked ", " Cell", true, true, true, true, false, false, false, true,
+ false, false, 0, M * 1, 64, 30),
+
+ componentCircuit("Circuit Parts", "", "", true, true, false, false, false, false, false, false, false, false, 0, -1,
+ 64, -1),
+
+ apiaryUpgrade("Industrial Apiary Upgrade", "", "", false, false, true, false, false, false, false, false, false,
+ false, 0, -1, 64, -1),
beeComb("Bee Combs", "", "", true, false, true, false, false, false, false, false, false, false, 0, -1, 64, -1),
nanite("Nanites", "", " Nanites", true, true, true, false, false, false, false, false, false, false, 0, -1, 64, 50);
@@ -3228,9 +716,8 @@ public enum OrePrefixes {
nugget.addFamiliarPrefix(ingot);
for (OrePrefixes tPrefix1 : values())
- if (tPrefix1.name().startsWith("ore"))
- for (OrePrefixes tPrefix2 : values())
- if (tPrefix2.name().startsWith("ore")) tPrefix1.addFamiliarPrefix(tPrefix2);
+ if (tPrefix1.name().startsWith("ore")) for (OrePrefixes tPrefix2 : values())
+ if (tPrefix2.name().startsWith("ore")) tPrefix1.addFamiliarPrefix(tPrefix2);
// These are only the important ones.
gem.mNotGeneratedItems.add(Materials.Coal);
@@ -3405,9 +892,13 @@ public enum OrePrefixes {
rotor.mCondition = new ICondition.Nor<ISubTagContainer>(SubTag.CRYSTAL, SubTag.STONE, SubTag.BOUNCY);
spring.mCondition = new ICondition.Or<ISubTagContainer>(
- SubTag.STRETCHY, SubTag.BOUNCY, new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
+ SubTag.STRETCHY,
+ SubTag.BOUNCY,
+ new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
springSmall.mCondition = new ICondition.Or<ISubTagContainer>(
- SubTag.STRETCHY, SubTag.BOUNCY, new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
+ SubTag.STRETCHY,
+ SubTag.BOUNCY,
+ new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
gemChipped.mCondition = new ICondition.And<ISubTagContainer>(
SubTag.TRANSPARENT,
@@ -3435,16 +926,21 @@ public enum OrePrefixes {
new ICondition.Not<ISubTagContainer>(SubTag.MAGICAL));
lens.mCondition = new ICondition.Or<ISubTagContainer>(
- SubTag.MAGICAL, new ICondition.And<ISubTagContainer>(SubTag.TRANSPARENT, SubTag.HAS_COLOR));
+ SubTag.MAGICAL,
+ new ICondition.And<ISubTagContainer>(SubTag.TRANSPARENT, SubTag.HAS_COLOR));
plateDouble.mCondition = new ICondition.Or<ISubTagContainer>(
- SubTag.PAPER, new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
+ SubTag.PAPER,
+ new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
plateTriple.mCondition = new ICondition.Or<ISubTagContainer>(
- SubTag.PAPER, new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
+ SubTag.PAPER,
+ new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
plateQuadruple.mCondition = new ICondition.Or<ISubTagContainer>(
- SubTag.PAPER, new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
+ SubTag.PAPER,
+ new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
plateQuintuple.mCondition = new ICondition.Or<ISubTagContainer>(
- SubTag.PAPER, new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
+ SubTag.PAPER,
+ new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING));
plateDense.mCondition = new ICondition.Not<ISubTagContainer>(SubTag.NO_SMASHING);
@@ -3488,10 +984,12 @@ public enum OrePrefixes {
ore.mSecondaryMaterial = new MaterialStack(Materials.Stone, dust.mMaterialAmount);
crushed.mSecondaryMaterial = new MaterialStack(Materials.Stone, dust.mMaterialAmount);
toolHeadDrill.mSecondaryMaterial = new MaterialStack(Materials.Steel, plate.mMaterialAmount * 4);
- toolHeadChainsaw.mSecondaryMaterial =
- new MaterialStack(Materials.Steel, plate.mMaterialAmount * 4 + ring.mMaterialAmount * 2);
- toolHeadWrench.mSecondaryMaterial =
- new MaterialStack(Materials.Steel, ring.mMaterialAmount + screw.mMaterialAmount * 2);
+ toolHeadChainsaw.mSecondaryMaterial = new MaterialStack(
+ Materials.Steel,
+ plate.mMaterialAmount * 4 + ring.mMaterialAmount * 2);
+ toolHeadWrench.mSecondaryMaterial = new MaterialStack(
+ Materials.Steel,
+ ring.mMaterialAmount + screw.mMaterialAmount * 2);
arrowGtWood.mSecondaryMaterial = new MaterialStack(Materials.Wood, stick.mMaterialAmount);
arrowGtPlastic.mSecondaryMaterial = new MaterialStack(Materials.Plastic, stick.mMaterialAmount);
bulletGtSmall.mSecondaryMaterial = new MaterialStack(Materials.Brass, ingot.mMaterialAmount / 9);
@@ -3502,29 +1000,18 @@ public enum OrePrefixes {
public final ArrayList<ItemStack> mPrefixedItems = new GT_ArrayList<>(false, 16);
public final short mTextureIndex;
public final String mRegularLocalName, mLocalizedMaterialPre, mLocalizedMaterialPost;
- public final boolean mIsUsedForOreProcessing,
- mIsEnchantable,
- mIsUnificatable,
- mIsMaterialBased,
- mIsSelfReferencing,
- mIsContainer,
- mDontUnificateActively,
- mIsUsedForBlocks,
- mAllowNormalRecycling,
- mGenerateDefaultItem;
+ public final boolean mIsUsedForOreProcessing, mIsEnchantable, mIsUnificatable, mIsMaterialBased, mIsSelfReferencing,
+ mIsContainer, mDontUnificateActively, mIsUsedForBlocks, mAllowNormalRecycling, mGenerateDefaultItem;
public final List<TC_AspectStack> mAspects = new ArrayList<TC_AspectStack>();
public final Collection<OrePrefixes> mFamiliarPrefixes = new HashSet<OrePrefixes>();
/**
- * Used to determine the amount of Material this Prefix contains.
- * Multiply or Divide GregTech_API.MATERIAL_UNIT to get the Amounts in comparision to one Ingot.
- * 0 = Null
- * Negative = Undefined Amount
+ * Used to determine the amount of Material this Prefix contains. Multiply or Divide GregTech_API.MATERIAL_UNIT to
+ * get the Amounts in comparision to one Ingot. 0 = Null Negative = Undefined Amount
*/
public final long mMaterialAmount;
public final Collection<Materials> mDisabledItems = new HashSet<Materials>(),
- mNotGeneratedItems = new HashSet<Materials>(),
- mIgnoredMaterials = new HashSet<Materials>(),
+ mNotGeneratedItems = new HashSet<Materials>(), mIgnoredMaterials = new HashSet<Materials>(),
mGeneratedItems = new HashSet<Materials>();
private final ArrayList<IOreRecipeRegistrator> mOreProcessing = new ArrayList<IOreRecipeRegistrator>();
public ItemStack mContainerItem = null;
@@ -3534,84 +1021,72 @@ public enum OrePrefixes {
public OrePrefixes mPrefixInto = this;
public float mHeatDamage = 0.0F; // Negative for Frost Damage
private final GT_HashSet<GT_ItemStack2> mContainsTestCache = new GT_HashSet<>(512, 0.5f);
- public static List<OrePrefixes> mPreventableComponents = new LinkedList<>(Arrays.asList(
- OrePrefixes.gem,
- OrePrefixes.ingotHot,
- OrePrefixes.ingotDouble,
- OrePrefixes.ingotTriple,
- OrePrefixes.ingotQuadruple,
- OrePrefixes.ingotQuintuple,
- OrePrefixes.plate,
- OrePrefixes.plateDouble,
- OrePrefixes.plateTriple,
- OrePrefixes.plateQuadruple,
- OrePrefixes.plateQuintuple,
- OrePrefixes.plateDense,
- OrePrefixes.stick,
- OrePrefixes.round,
- OrePrefixes.bolt,
- OrePrefixes.screw,
- OrePrefixes.ring,
- OrePrefixes.foil,
- OrePrefixes.toolHeadSword,
- OrePrefixes.toolHeadPickaxe,
- OrePrefixes.toolHeadShovel,
- OrePrefixes.toolHeadAxe,
- OrePrefixes.toolHeadHoe,
- OrePrefixes.toolHeadHammer,
- OrePrefixes.toolHeadFile,
- OrePrefixes.toolHeadSaw,
- OrePrefixes.toolHeadDrill,
- OrePrefixes.toolHeadChainsaw,
- OrePrefixes.toolHeadWrench,
- OrePrefixes.toolHeadUniversalSpade,
- OrePrefixes.toolHeadSense,
- OrePrefixes.toolHeadPlow,
- OrePrefixes.toolHeadArrow,
- OrePrefixes.toolHeadBuzzSaw,
- OrePrefixes.turbineBlade,
- OrePrefixes.wireFine,
- OrePrefixes.gearGtSmall,
- OrePrefixes.rotor,
- OrePrefixes.stickLong,
- OrePrefixes.springSmall,
- OrePrefixes.spring,
- OrePrefixes.arrowGtWood,
- OrePrefixes.arrowGtPlastic,
- OrePrefixes.gemChipped,
- OrePrefixes.gemFlawed,
- OrePrefixes.gemFlawless,
- OrePrefixes.gemExquisite,
- OrePrefixes.gearGt,
- OrePrefixes.crateGtDust,
- OrePrefixes.crateGtIngot,
- OrePrefixes.crateGtGem,
- OrePrefixes.crateGtPlate,
- OrePrefixes.itemCasing,
- OrePrefixes.nanite));
+ public static List<OrePrefixes> mPreventableComponents = new LinkedList<>(
+ Arrays.asList(
+ OrePrefixes.gem,
+ OrePrefixes.ingotHot,
+ OrePrefixes.ingotDouble,
+ OrePrefixes.ingotTriple,
+ OrePrefixes.ingotQuadruple,
+ OrePrefixes.ingotQuintuple,
+ OrePrefixes.plate,
+ OrePrefixes.plateDouble,
+ OrePrefixes.plateTriple,
+ OrePrefixes.plateQuadruple,
+ OrePrefixes.plateQuintuple,
+ OrePrefixes.plateDense,
+ OrePrefixes.stick,
+ OrePrefixes.round,
+ OrePrefixes.bolt,
+ OrePrefixes.screw,
+ OrePrefixes.ring,
+ OrePrefixes.foil,
+ OrePrefixes.toolHeadSword,
+ OrePrefixes.toolHeadPickaxe,
+ OrePrefixes.toolHeadShovel,
+ OrePrefixes.toolHeadAxe,
+ OrePrefixes.toolHeadHoe,
+ OrePrefixes.toolHeadHammer,
+ OrePrefixes.toolHeadFile,
+ OrePrefixes.toolHeadSaw,
+ OrePrefixes.toolHeadDrill,
+ OrePrefixes.toolHeadChainsaw,
+ OrePrefixes.toolHeadWrench,
+ OrePrefixes.toolHeadUniversalSpade,
+ OrePrefixes.toolHeadSense,
+ OrePrefixes.toolHeadPlow,
+ OrePrefixes.toolHeadArrow,
+ OrePrefixes.toolHeadBuzzSaw,
+ OrePrefixes.turbineBlade,
+ OrePrefixes.wireFine,
+ OrePrefixes.gearGtSmall,
+ OrePrefixes.rotor,
+ OrePrefixes.stickLong,
+ OrePrefixes.springSmall,
+ OrePrefixes.spring,
+ OrePrefixes.arrowGtWood,
+ OrePrefixes.arrowGtPlastic,
+ OrePrefixes.gemChipped,
+ OrePrefixes.gemFlawed,
+ OrePrefixes.gemFlawless,
+ OrePrefixes.gemExquisite,
+ OrePrefixes.gearGt,
+ OrePrefixes.crateGtDust,
+ OrePrefixes.crateGtIngot,
+ OrePrefixes.crateGtGem,
+ OrePrefixes.crateGtPlate,
+ OrePrefixes.itemCasing,
+ OrePrefixes.nanite));
/**
* Yes this Value can be changed to add Bits for the MetaGenerated-Item-Check.
*/
public int mMaterialGenerationBits = 0;
- OrePrefixes(
- String aRegularLocalName,
- String aLocalizedMaterialPre,
- String aLocalizedMaterialPost,
- boolean aIsUnificatable,
- boolean aIsMaterialBased,
- boolean aIsSelfReferencing,
- boolean aIsContainer,
- boolean aDontUnificateActively,
- boolean aIsUsedForBlocks,
- boolean aAllowNormalRecycling,
- boolean aGenerateDefaultItem,
- boolean aIsEnchantable,
- boolean aIsUsedForOreProcessing,
- int aMaterialGenerationBits,
- long aMaterialAmount,
- int aDefaultStackSize,
- int aTextureindex) {
+ OrePrefixes(String aRegularLocalName, String aLocalizedMaterialPre, String aLocalizedMaterialPost,
+ boolean aIsUnificatable, boolean aIsMaterialBased, boolean aIsSelfReferencing, boolean aIsContainer,
+ boolean aDontUnificateActively, boolean aIsUsedForBlocks, boolean aAllowNormalRecycling,
+ boolean aGenerateDefaultItem, boolean aIsEnchantable, boolean aIsUsedForOreProcessing,
+ int aMaterialGenerationBits, long aMaterialAmount, int aDefaultStackSize, int aTextureindex) {
mIsUnificatable = aIsUnificatable;
mIsMaterialBased = aIsMaterialBased;
mIsSelfReferencing = aIsSelfReferencing;
@@ -3668,80 +1143,81 @@ public enum OrePrefixes {
public static void initMaterialComponents() {
boolean enablePerItemSettings = GregTech_API.sMaterialComponents.get("general", "enablePerItemSettings", false);
- boolean enableUnusedIngotHot =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedIngotHot", false);
- boolean enableUnusedPlates =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedPlates", false);
- boolean enableUnusedDoubleIngots =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedDoubleIngots", false);
- boolean enableUnusedTripleIngots =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedTripleIngots", false);
- boolean enableUnusedQuadIngots =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedQuadIngots", false);
- boolean enableUnusedQuinIngots =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedQuinIngots", false);
- boolean enableUnusedDoublePlates =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedDoublePlates", false);
- boolean enableUnusedTriplePlates =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedTriplePlates", false);
- boolean enableUnusedQuadPlates =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedQuadPlates", false);
- boolean enableUnusedQuinPlates =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedQuinPlates", false);
- boolean enableUnusedDensePlates =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedDensePlates", false);
- boolean enableUnusedGears =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedGears", false);
- boolean enableUnusedSmallGears =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedSmallGears", false);
- boolean enableUnusedRings =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedRings", false);
- boolean enableUnusedSprings =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedSprings", false);
- boolean enableUnusedSmallSprings =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedSmallSprings", false);
- boolean enableUnusedRounds =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedRounds", false);
- boolean enableUnusedRotors =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedRotors", false);
- boolean enableUnusedFineWires =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedFineWires", false);
+ boolean enableUnusedIngotHot = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedIngotHot", false);
+ boolean enableUnusedPlates = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedPlates", false);
+ boolean enableUnusedDoubleIngots = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedDoubleIngots", false);
+ boolean enableUnusedTripleIngots = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedTripleIngots", false);
+ boolean enableUnusedQuadIngots = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedQuadIngots", false);
+ boolean enableUnusedQuinIngots = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedQuinIngots", false);
+ boolean enableUnusedDoublePlates = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedDoublePlates", false);
+ boolean enableUnusedTriplePlates = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedTriplePlates", false);
+ boolean enableUnusedQuadPlates = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedQuadPlates", false);
+ boolean enableUnusedQuinPlates = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedQuinPlates", false);
+ boolean enableUnusedDensePlates = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedDensePlates", false);
+ boolean enableUnusedGears = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedGears", false);
+ boolean enableUnusedSmallGears = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedSmallGears", false);
+ boolean enableUnusedRings = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedRings", false);
+ boolean enableUnusedSprings = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedSprings", false);
+ boolean enableUnusedSmallSprings = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedSmallSprings", false);
+ boolean enableUnusedRounds = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedRounds", false);
+ boolean enableUnusedRotors = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedRotors", false);
+ boolean enableUnusedFineWires = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedFineWires", false);
boolean enableUnusedFoil = GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedFoil", false);
- boolean enableUnusedArrows =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedArrowHeads", false);
- boolean enableUnusedCrates =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedCrates", false);
- boolean enableUnusedBolts =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedBolts", false);
- boolean enableUnusedScrews =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedScrews", false);
+ boolean enableUnusedArrows = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedArrowHeads", false);
+ boolean enableUnusedCrates = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedCrates", false);
+ boolean enableUnusedBolts = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedBolts", false);
+ boolean enableUnusedScrews = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedScrews", false);
boolean enableUnusedRods = GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedRods", false);
- boolean enableUnusedLongRods =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedLongRods", false);
+ boolean enableUnusedLongRods = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedLongRods", false);
boolean enableUnusedGems = GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedGems", false);
- boolean enableUnusedItemCasing =
- GregTech_API.sMaterialComponents.get("globalcomponents", "enableUnusedItemCasing", false);
+ boolean enableUnusedItemCasing = GregTech_API.sMaterialComponents
+ .get("globalcomponents", "enableUnusedItemCasing", false);
// TODO possibly use OrePrefix mNotGeneratedItems/mGeneratedItems instead of a static List for every material
// instance?
// TODO Make sure stuff like gem plates / standard plates / paper plates all generate with the current condition
for (Materials aMaterial : Materials.values()) {
if (aMaterial.mMetaItemSubID > 0) {
- if (aMaterial.mBlastFurnaceTemp <= 1750)
- ingotHot.mDisabledItems.add(
- aMaterial); // Moved HotIngot code from GT_MetaGenerated_Item_01 so all this is in once
+ if (aMaterial.mBlastFurnaceTemp <= 1750) ingotHot.mDisabledItems.add(aMaterial); // Moved HotIngot code
+ // from
+ // GT_MetaGenerated_Item_01
+ // so all this is in
+ // once
// place
if (!enableUnusedSprings && (aMaterial != Materials.Titanium)) spring.mDisabledItems.add(aMaterial);
if (!enableUnusedSmallSprings) springSmall.mDisabledItems.add(aMaterial);
- if (!enableUnusedRounds
- && !(aMaterial == Materials.HSSE
- || aMaterial == Materials.Neutronium
- || aMaterial == Materials.HSSG)) round.mDisabledItems.add(aMaterial);
+ if (!enableUnusedRounds && !(aMaterial == Materials.HSSE || aMaterial == Materials.Neutronium
+ || aMaterial == Materials.HSSG))
+ round.mDisabledItems.add(aMaterial);
if (!enableUnusedCrates) {
- if (!(aMaterial == Materials.DamascusSteel
- || aMaterial == Materials.Steel
+ if (!(aMaterial == Materials.DamascusSteel || aMaterial == Materials.Steel
|| aMaterial == Materials.Bronze
- || aMaterial == Materials.Manganese)) crateGtIngot.mDisabledItems.add(aMaterial);
+ || aMaterial == Materials.Manganese))
+ crateGtIngot.mDisabledItems.add(aMaterial);
if (!(aMaterial == Materials.Neodymium || aMaterial == Materials.Chrome))
crateGtDust.mDisabledItems.add(aMaterial);
crateGtGem.mDisabledItems.add(aMaterial);
@@ -3754,10 +1230,8 @@ public enum OrePrefixes {
arrowGtWood.mDisabledItems.add(aMaterial);
}
// Plates
- if (!enableUnusedPlates
- && ((aMaterial.mTypes & 0x40) == 0)
- && !(aMaterial == Materials.Silicon
- || aMaterial == Materials.Zinc
+ if (!enableUnusedPlates && ((aMaterial.mTypes & 0x40) == 0)
+ && !(aMaterial == Materials.Silicon || aMaterial == Materials.Zinc
|| aMaterial == Materials.Europium
|| aMaterial == Materials.Americium
|| aMaterial == Materials.RedAlloy
@@ -3786,7 +1260,8 @@ public enum OrePrefixes {
|| aMaterial == Materials.Sodalite
|| aMaterial == Materials.Gallium
|| aMaterial == Materials.GalliumArsenide
- || aMaterial == Materials.IndiumGalliumPhosphide)) plate.mDisabledItems.add(aMaterial);
+ || aMaterial == Materials.IndiumGalliumPhosphide))
+ plate.mDisabledItems.add(aMaterial);
if (!enableUnusedIngotHot) {
ingotHot.mDisabledItems.add(aMaterial);
}
@@ -3795,12 +1270,11 @@ public enum OrePrefixes {
if (!enableUnusedTripleIngots) ingotTriple.mDisabledItems.add(aMaterial);
if (!enableUnusedQuadIngots) ingotQuadruple.mDisabledItems.add(aMaterial);
if (!enableUnusedQuinIngots) ingotQuintuple.mDisabledItems.add(aMaterial);
- if (!enableUnusedDoublePlates
- && ((aMaterial.mTypes & 0x40) == 0)
- && !(aMaterial == Materials.Paper
- || aMaterial == Materials.Aluminium
+ if (!enableUnusedDoublePlates && ((aMaterial.mTypes & 0x40) == 0)
+ && !(aMaterial == Materials.Paper || aMaterial == Materials.Aluminium
|| aMaterial == Materials.Steel
- || aMaterial == Materials.TungstenSteel)) plateDouble.mDisabledItems.add(aMaterial);
+ || aMaterial == Materials.TungstenSteel))
+ plateDouble.mDisabledItems.add(aMaterial);
if (!enableUnusedTriplePlates && !(aMaterial == Materials.Paper))
plateTriple.mDisabledItems.add(aMaterial);
if (!enableUnusedQuadPlates && !(aMaterial == Materials.Paper))
@@ -3808,135 +1282,127 @@ public enum OrePrefixes {
if (!enableUnusedQuinPlates && !(aMaterial == Materials.Paper))
plateQuintuple.mDisabledItems.add(aMaterial);
if (!(enableUnusedDensePlates || GregTech_API.mGTPlusPlus)
- && !(aMaterial == Materials.Iron
- || aMaterial == Materials.Copper
+ && !(aMaterial == Materials.Iron || aMaterial == Materials.Copper
|| aMaterial == Materials.Lead
|| aMaterial == Materials.Paper
|| aMaterial == Materials.Thaumium
- || aMaterial == Materials.Titanium)) plateDense.mDisabledItems.add(aMaterial);
+ || aMaterial == Materials.Titanium))
+ plateDense.mDisabledItems.add(aMaterial);
// Rotors
- if (!enableUnusedRotors
- && !(aMaterial == Materials.Titanium
- || aMaterial == Materials.Chrome
- || aMaterial == Materials.Tin
- || aMaterial == Materials.Osmium
- || aMaterial == Materials.Iridium
- || aMaterial == Materials.Bronze
- || aMaterial == Materials.Steel
- || aMaterial == Materials.StainlessSteel
- || aMaterial == Materials.TungstenSteel
- || aMaterial == Materials.HSSG
- || aMaterial == Materials.HSSE
- || aMaterial == Materials.Neutronium)) rotor.mDisabledItems.add(aMaterial);
+ if (!enableUnusedRotors && !(aMaterial == Materials.Titanium || aMaterial == Materials.Chrome
+ || aMaterial == Materials.Tin
+ || aMaterial == Materials.Osmium
+ || aMaterial == Materials.Iridium
+ || aMaterial == Materials.Bronze
+ || aMaterial == Materials.Steel
+ || aMaterial == Materials.StainlessSteel
+ || aMaterial == Materials.TungstenSteel
+ || aMaterial == Materials.HSSG
+ || aMaterial == Materials.HSSE
+ || aMaterial == Materials.Neutronium))
+ rotor.mDisabledItems.add(aMaterial);
// Rings
- if (!enableUnusedRings
- && !(aMaterial == Materials.Titanium
- || aMaterial == Materials.Chrome
- || aMaterial == Materials.Iron
- || aMaterial == Materials.Tin
- || aMaterial == Materials.Osmium
- || aMaterial == Materials.Iridium
- || aMaterial == Materials.Bronze
- || aMaterial == Materials.WroughtIron
- || aMaterial == Materials.Steel
- || aMaterial == Materials.StainlessSteel
- || aMaterial == Materials.PigIron
- || aMaterial == Materials.TungstenSteel
- || aMaterial == Materials.Rubber
- || aMaterial == Materials.HSSE
- || aMaterial == Materials.Neutronium
- || aMaterial == Materials.HSSG
- || aMaterial == Materials.Aluminium
- || aMaterial == Materials.Invar
- || aMaterial == Materials.Brass
- || aMaterial == Materials.Paper
- || aMaterial == Materials.Silicone
- || aMaterial == Materials.StyreneButadieneRubber)) ring.mDisabledItems.add(aMaterial);
+ if (!enableUnusedRings && !(aMaterial == Materials.Titanium || aMaterial == Materials.Chrome
+ || aMaterial == Materials.Iron
+ || aMaterial == Materials.Tin
+ || aMaterial == Materials.Osmium
+ || aMaterial == Materials.Iridium
+ || aMaterial == Materials.Bronze
+ || aMaterial == Materials.WroughtIron
+ || aMaterial == Materials.Steel
+ || aMaterial == Materials.StainlessSteel
+ || aMaterial == Materials.PigIron
+ || aMaterial == Materials.TungstenSteel
+ || aMaterial == Materials.Rubber
+ || aMaterial == Materials.HSSE
+ || aMaterial == Materials.Neutronium
+ || aMaterial == Materials.HSSG
+ || aMaterial == Materials.Aluminium
+ || aMaterial == Materials.Invar
+ || aMaterial == Materials.Brass
+ || aMaterial == Materials.Paper
+ || aMaterial == Materials.Silicone
+ || aMaterial == Materials.StyreneButadieneRubber))
+ ring.mDisabledItems.add(aMaterial);
// Foil
- if (!enableUnusedFoil
- && !(aMaterial == Materials.Zinc
- || aMaterial == Materials.Aluminium
- || aMaterial == Materials.Silicon
- || aMaterial == Materials.Gold
- || aMaterial == Materials.Electrum
- || aMaterial == Materials.Platinum
- || aMaterial == Materials.Osmiridium
- || aMaterial == Materials.Osmium
- || aMaterial == Materials.AnnealedCopper
- || aMaterial == Materials.Steel
- || aMaterial == Materials.Copper
- || aMaterial == Materials.YttriumBariumCuprate
- || aMaterial == Materials.VanadiumGallium
- || aMaterial == Materials.NiobiumTitanium
- || aMaterial == Materials.Naquadah
- || aMaterial == Materials.Manganese
- || aMaterial == Materials.Plastic
- || aMaterial == Materials.Silicone
- || aMaterial == Materials.PolyvinylChloride
- || aMaterial == Materials.PolyphenyleneSulfide
- || aMaterial == Materials.Nichrome
- || aMaterial == Materials.BlackSteel
- || aMaterial == Materials.Titanium
- || aMaterial == Materials.TungstenSteel
- || aMaterial == Materials.Tungsten
- || aMaterial == Materials.HSSG
- || aMaterial == Materials.NaquadahAlloy
- || aMaterial == Materials.Duranium
- || aMaterial == Materials.Europium
- || aMaterial == Materials.Bedrockium)) foil.mDisabledItems.add(aMaterial);
+ if (!enableUnusedFoil && !(aMaterial == Materials.Zinc || aMaterial == Materials.Aluminium
+ || aMaterial == Materials.Silicon
+ || aMaterial == Materials.Gold
+ || aMaterial == Materials.Electrum
+ || aMaterial == Materials.Platinum
+ || aMaterial == Materials.Osmiridium
+ || aMaterial == Materials.Osmium
+ || aMaterial == Materials.AnnealedCopper
+ || aMaterial == Materials.Steel
+ || aMaterial == Materials.Copper
+ || aMaterial == Materials.YttriumBariumCuprate
+ || aMaterial == Materials.VanadiumGallium
+ || aMaterial == Materials.NiobiumTitanium
+ || aMaterial == Materials.Naquadah
+ || aMaterial == Materials.Manganese
+ || aMaterial == Materials.Plastic
+ || aMaterial == Materials.Silicone
+ || aMaterial == Materials.PolyvinylChloride
+ || aMaterial == Materials.PolyphenyleneSulfide
+ || aMaterial == Materials.Nichrome
+ || aMaterial == Materials.BlackSteel
+ || aMaterial == Materials.Titanium
+ || aMaterial == Materials.TungstenSteel
+ || aMaterial == Materials.Tungsten
+ || aMaterial == Materials.HSSG
+ || aMaterial == Materials.NaquadahAlloy
+ || aMaterial == Materials.Duranium
+ || aMaterial == Materials.Europium
+ || aMaterial == Materials.Bedrockium))
+ foil.mDisabledItems.add(aMaterial);
// Fine Wire
- if (!enableUnusedFineWires
- && !(aMaterial == Materials.Steel
- || aMaterial == Materials.AnnealedCopper
- || aMaterial == Materials.Platinum
- || aMaterial == Materials.Osmium
- || aMaterial == Materials.Tin
- || aMaterial == Materials.Lead
- || aMaterial == Materials.SolderingAlloy
- || aMaterial == Materials.Copper
- || aMaterial == Materials.Electrum
- || aMaterial == Materials.Gold
- || aMaterial == Materials.RedAlloy
- || aMaterial == Materials.Graphene
- || aMaterial == Materials.NiobiumTitanium
- || aMaterial == Materials.YttriumBariumCuprate
- || aMaterial == Materials.BloodInfusedIron)) wireFine.mDisabledItems.add(aMaterial);
+ if (!enableUnusedFineWires && !(aMaterial == Materials.Steel || aMaterial == Materials.AnnealedCopper
+ || aMaterial == Materials.Platinum
+ || aMaterial == Materials.Osmium
+ || aMaterial == Materials.Tin
+ || aMaterial == Materials.Lead
+ || aMaterial == Materials.SolderingAlloy
+ || aMaterial == Materials.Copper
+ || aMaterial == Materials.Electrum
+ || aMaterial == Materials.Gold
+ || aMaterial == Materials.RedAlloy
+ || aMaterial == Materials.Graphene
+ || aMaterial == Materials.NiobiumTitanium
+ || aMaterial == Materials.YttriumBariumCuprate
+ || aMaterial == Materials.BloodInfusedIron))
+ wireFine.mDisabledItems.add(aMaterial);
// Gears
- if (!enableUnusedGears
- && !(aMaterial == Materials.Aluminium
- || aMaterial == Materials.Titanium
- || aMaterial == Materials.Iron
- || aMaterial == Materials.Copper
- || aMaterial == Materials.Tin
- || aMaterial == Materials.Gold
- || aMaterial == Materials.Stone
- || aMaterial == Materials.Bronze
- || aMaterial == Materials.Steel
- || aMaterial == Materials.StainlessSteel
- || aMaterial == Materials.TungstenSteel
- || aMaterial == Materials.CobaltBrass
- || aMaterial == Materials.Diamond
- || aMaterial == Materials.Wood
- || aMaterial == Materials.HSSG
- || aMaterial == Materials.HSSE
- || aMaterial == Materials.Neutronium)) gearGt.mDisabledItems.add(aMaterial);
+ if (!enableUnusedGears && !(aMaterial == Materials.Aluminium || aMaterial == Materials.Titanium
+ || aMaterial == Materials.Iron
+ || aMaterial == Materials.Copper
+ || aMaterial == Materials.Tin
+ || aMaterial == Materials.Gold
+ || aMaterial == Materials.Stone
+ || aMaterial == Materials.Bronze
+ || aMaterial == Materials.Steel
+ || aMaterial == Materials.StainlessSteel
+ || aMaterial == Materials.TungstenSteel
+ || aMaterial == Materials.CobaltBrass
+ || aMaterial == Materials.Diamond
+ || aMaterial == Materials.Wood
+ || aMaterial == Materials.HSSG
+ || aMaterial == Materials.HSSE
+ || aMaterial == Materials.Neutronium))
+ gearGt.mDisabledItems.add(aMaterial);
// Small Gears
- if (!enableUnusedSmallGears
- && !(aMaterial == Materials.Aluminium
- || aMaterial == Materials.Titanium
- || aMaterial == Materials.Steel
- || aMaterial == Materials.StainlessSteel
- || aMaterial == Materials.TungstenSteel
- || aMaterial == Materials.HSSG
- || aMaterial == Materials.HSSE
- || aMaterial == Materials.Neutronium
- || aMaterial == Materials.VanadiumGallium
- || aMaterial == Materials.Naquadah)) gearGtSmall.mDisabledItems.add(aMaterial);
+ if (!enableUnusedSmallGears && !(aMaterial == Materials.Aluminium || aMaterial == Materials.Titanium
+ || aMaterial == Materials.Steel
+ || aMaterial == Materials.StainlessSteel
+ || aMaterial == Materials.TungstenSteel
+ || aMaterial == Materials.HSSG
+ || aMaterial == Materials.HSSE
+ || aMaterial == Materials.Neutronium
+ || aMaterial == Materials.VanadiumGallium
+ || aMaterial == Materials.Naquadah))
+ gearGtSmall.mDisabledItems.add(aMaterial);
// Bolts
- if (!enableUnusedBolts
- && ((aMaterial.mTypes & 0x40) == 0)
- && !(aMaterial == Materials.Titanium
- || aMaterial == Materials.Chrome
+ if (!enableUnusedBolts && ((aMaterial.mTypes & 0x40) == 0)
+ && !(aMaterial == Materials.Titanium || aMaterial == Materials.Chrome
|| aMaterial == Materials.Iron
|| aMaterial == Materials.Tin
|| aMaterial == Materials.Osmium
@@ -3950,12 +1416,11 @@ public enum OrePrefixes {
|| aMaterial == Materials.TungstenSteel
|| aMaterial == Materials.Tungsten
|| aMaterial == Materials.HSSE
- || aMaterial == Materials.HSSG)) bolt.mDisabledItems.add(aMaterial);
+ || aMaterial == Materials.HSSG))
+ bolt.mDisabledItems.add(aMaterial);
// Screws
- if (!enableUnusedScrews
- && ((aMaterial.mTypes & 0x40) == 0)
- && !(aMaterial == Materials.Titanium
- || aMaterial == Materials.Chrome
+ if (!enableUnusedScrews && ((aMaterial.mTypes & 0x40) == 0)
+ && !(aMaterial == Materials.Titanium || aMaterial == Materials.Chrome
|| aMaterial == Materials.Iron
|| aMaterial == Materials.Tin
|| aMaterial == Materials.Osmium
@@ -3968,12 +1433,11 @@ public enum OrePrefixes {
|| aMaterial == Materials.PigIron
|| aMaterial == Materials.TungstenSteel
|| aMaterial == Materials.HSSE
- || aMaterial == Materials.HSSG)) screw.mDisabledItems.add(aMaterial);
+ || aMaterial == Materials.HSSG))
+ screw.mDisabledItems.add(aMaterial);
// Rods
- if (!enableUnusedRods
- && ((aMaterial.mTypes & 0x40) == 0)
- && !(aMaterial == Materials.Titanium
- || aMaterial == Materials.Chrome
+ if (!enableUnusedRods && ((aMaterial.mTypes & 0x40) == 0)
+ && !(aMaterial == Materials.Titanium || aMaterial == Materials.Chrome
|| aMaterial == Materials.Iron
|| aMaterial == Materials.Tin
|| aMaterial == Materials.Osmium
@@ -4016,12 +1480,11 @@ public enum OrePrefixes {
|| aMaterial == Materials.Lapis
|| aMaterial == Materials.Lazurite
|| aMaterial == Materials.Sodalite
- || aMaterial == Materials.PolyvinylChloride)) stick.mDisabledItems.add(aMaterial);
+ || aMaterial == Materials.PolyvinylChloride))
+ stick.mDisabledItems.add(aMaterial);
// Long Rods
- if (!enableUnusedLongRods
- && ((aMaterial.mTypes & 0x40) == 0)
- && !(aMaterial == Materials.Titanium
- || aMaterial == Materials.NeodymiumMagnetic
+ if (!enableUnusedLongRods && ((aMaterial.mTypes & 0x40) == 0)
+ && !(aMaterial == Materials.Titanium || aMaterial == Materials.NeodymiumMagnetic
|| aMaterial == Materials.SamariumMagnetic
|| aMaterial == Materials.HSSG
|| aMaterial == Materials.HSSE
@@ -4029,7 +1492,8 @@ public enum OrePrefixes {
|| aMaterial == Materials.Americium
|| aMaterial == Materials.WroughtIron
|| aMaterial == Materials.Magnalium
- || aMaterial == Materials.TungstenSteel)) stickLong.mDisabledItems.add(aMaterial);
+ || aMaterial == Materials.TungstenSteel))
+ stickLong.mDisabledItems.add(aMaterial);
if (!enableUnusedGems && ((aMaterial.mTypes & 0x04) == 0)) {
gem.mDisabledItems.add(aMaterial);
@@ -4052,15 +1516,12 @@ public enum OrePrefixes {
}
if (enablePerItemSettings) {
StringBuilder aConfigPathSB = new StringBuilder();
- aConfigPathSB
- .append("materialcomponents.")
- .append(aMaterial.mConfigSection)
- .append(".")
+ aConfigPathSB.append("materialcomponents.").append(aMaterial.mConfigSection).append(".")
.append(aMaterial.mName);
String aConfigPath = aConfigPathSB.toString();
for (OrePrefixes aPrefix : mPreventableComponents) {
- boolean aEnableComponent = GregTech_API.sMaterialComponents.get(
- aConfigPath, aPrefix.toString(), !aPrefix.mDisabledItems.contains(aMaterial));
+ boolean aEnableComponent = GregTech_API.sMaterialComponents
+ .get(aConfigPath, aPrefix.toString(), !aPrefix.mDisabledItems.contains(aMaterial));
if (!aEnableComponent) { // Disable component if false and is not already in disabled list
aPrefix.disableComponent(aMaterial);
} else if (aEnableComponent) { // Enable component if true and is not already in enabled list
@@ -4082,15 +1543,14 @@ public enum OrePrefixes {
}
public static OrePrefixes getOrePrefix(String aOre) {
- for (OrePrefixes tPrefix : values())
- if (aOre.startsWith(tPrefix.toString())) {
- if (tPrefix == oreNether && aOre.equals("oreNetherQuartz")) return ore;
- if (tPrefix == oreNether && aOre.equals("oreNetherStar")) return ore;
- if (tPrefix == oreBasalt && aOre.equals("oreBasalticMineralSand")) return ore;
- if (tPrefix == stickLong && aOre.equals("stickLongasssuperconductornameforuvwire")) return stick;
- if (tPrefix == stickLong && aOre.equals("stickLongasssuperconductornameforuhvwire")) return stick;
- return tPrefix;
- }
+ for (OrePrefixes tPrefix : values()) if (aOre.startsWith(tPrefix.toString())) {
+ if (tPrefix == oreNether && aOre.equals("oreNetherQuartz")) return ore;
+ if (tPrefix == oreNether && aOre.equals("oreNetherStar")) return ore;
+ if (tPrefix == oreBasalt && aOre.equals("oreBasalticMineralSand")) return ore;
+ if (tPrefix == stickLong && aOre.equals("stickLongasssuperconductornameforuvwire")) return stick;
+ if (tPrefix == stickLong && aOre.equals("stickLongasssuperconductornameforuhvwire")) return stick;
+ return tPrefix;
+ }
return null;
}
@@ -4163,10 +1623,15 @@ public enum OrePrefixes {
}
public boolean doGenerateItem(Materials aMaterial) {
- return aMaterial != null
- && aMaterial != Materials._NULL
- && ((aMaterial.mTypes & mMaterialGenerationBits) != 0
- || mGeneratedItems.contains(aMaterial) /*|| mDynamicItems.contains(aMaterial)*/)
+ return aMaterial != null && aMaterial != Materials._NULL
+ && ((aMaterial.mTypes & mMaterialGenerationBits) != 0 || mGeneratedItems.contains(aMaterial) /*
+ * ||
+ * mDynamicItems
+ * .
+ * contains
+ * (
+ * aMaterial)
+ */)
&& !mNotGeneratedItems.contains(aMaterial)
&& !mDisabledItems.contains(aMaterial)
&& (mCondition == null || mCondition.isTrue(aMaterial));
@@ -4206,10 +1671,14 @@ public enum OrePrefixes {
&& GT_Utility.isStackValid(aStack)) {
// if (Materials.mPreventableComponents.contains(this) && !this.mDynamicItems.contains(aMaterial)) return;
for (IOreRecipeRegistrator tRegistrator : mOreProcessing) {
- if (D2)
- GT_Log.ore.println(
- "Processing '" + aOreDictName + "' with the Prefix '" + name() + "' and the Material '"
- + aMaterial.mName + "' at " + GT_Utility.getClassName(tRegistrator));
+ if (D2) GT_Log.ore.println(
+ "Processing '" + aOreDictName
+ + "' with the Prefix '"
+ + name()
+ + "' and the Material '"
+ + aMaterial.mName
+ + "' at "
+ + GT_Utility.getClassName(tRegistrator));
tRegistrator.registerOre(this, aMaterial, aOreDictName, aModName, GT_Utility.copyAmount(1, aStack));
}
}
diff --git a/src/main/java/gregtech/api/enums/ParticleFX.java b/src/main/java/gregtech/api/enums/ParticleFX.java
index 985ef3e4a8..c692598b89 100644
--- a/src/main/java/gregtech/api/enums/ParticleFX.java
+++ b/src/main/java/gregtech/api/enums/ParticleFX.java
@@ -4,6 +4,7 @@ package gregtech.api.enums;
* Enumerates known EntityFX particles
*/
public enum ParticleFX {
+
HUGE_EXPLOSION("hugeexplosion"),
LARGE_EXPLODE("largeexplode"),
FIREWORKS_SPARK("fireworksSpark"),
diff --git a/src/main/java/gregtech/api/enums/SoundResource.java b/src/main/java/gregtech/api/enums/SoundResource.java
index 193aad3002..fe15c21deb 100644
--- a/src/main/java/gregtech/api/enums/SoundResource.java
+++ b/src/main/java/gregtech/api/enums/SoundResource.java
@@ -2,20 +2,25 @@ package gregtech.api.enums;
import static gregtech.api.enums.GT_Values.MOD_ID_IC2;
-import com.google.common.collect.Maps;
import java.util.EnumSet;
import java.util.Locale;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
+
import net.minecraft.util.ResourceLocation;
+import com.google.common.collect.Maps;
+
/**
* Enumerates known sounds with id and resource-location
*
- * <p>Note that the id serve no specific purpose, if for legacy compatibility of
- * a plausible yet unimplemented network packet weight optimization.</p>
+ * <p>
+ * Note that the id serve no specific purpose, if for legacy compatibility of a plausible yet unimplemented network
+ * packet weight optimization.
+ * </p>
*/
public enum SoundResource {
+
RANDOM_BREAK(0, "random.break"),
RANDOM_ANVIL_USE(1, "random.anvil_use"),
RANDOM_ANVIL_BREAK(2, "random.anvil_break"),
@@ -291,9 +296,7 @@ public enum SoundResource {
private static final Map<String, SoundResource> RESOURCE_STR_SOUND_MAP = new ConcurrentHashMap<>();
static {
- EnumSet.allOf(SoundResource.class).forEach(sound -> {
- if (sound.id >= 0) ID_SOUND_MAP.put(sound.id, sound);
- });
+ EnumSet.allOf(SoundResource.class).forEach(sound -> { if (sound.id >= 0) ID_SOUND_MAP.put(sound.id, sound); });
EnumSet.allOf(SoundResource.class)
.forEach(sound -> RESOURCE_STR_SOUND_MAP.put(sound.resourceLocation.toString(), sound));
}
@@ -342,7 +345,9 @@ public enum SoundResource {
*
* @return The map for the deprecated {@link gregtech.api.GregTech_API#sSoundList}
* @deprecated This method is planned for removal.
- * <p>Use this {@link SoundResource} enum instead.</p>
+ * <p>
+ * Use this {@link SoundResource} enum instead.
+ * </p>
*/
@Deprecated
public static Map<Integer, String> asSoundList() {
diff --git a/src/main/java/gregtech/api/enums/SteamVariant.java b/src/main/java/gregtech/api/enums/SteamVariant.java
index 333f678900..941b0d7231 100644
--- a/src/main/java/gregtech/api/enums/SteamVariant.java
+++ b/src/main/java/gregtech/api/enums/SteamVariant.java
@@ -3,6 +3,7 @@ package gregtech.api.enums;
import java.util.Locale;
public enum SteamVariant {
+
BRONZE,
STEEL,
PRIMITIVE,
diff --git a/src/main/java/gregtech/api/enums/SubTag.java b/src/main/java/gregtech/api/enums/SubTag.java
index 610e4a637b..1298e74f34 100644
--- a/src/main/java/gregtech/api/enums/SubTag.java
+++ b/src/main/java/gregtech/api/enums/SubTag.java
@@ -1,55 +1,58 @@
package gregtech.api.enums;
-import gregtech.api.interfaces.ICondition;
-import gregtech.api.interfaces.ISubTagContainer;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
+import gregtech.api.interfaces.ICondition;
+import gregtech.api.interfaces.ISubTagContainer;
+
/**
* Just a simple Class to be able to add special Tags for Materials.
* <p/>
- * The Tags should be added in preload and before I do my own preload to the Materials.
- * In order to make yourself a new SubTag, just create one new instance of SubTag using getNewSubTag
- * and use that one instance on all Materials you want to add those Tags to.
+ * The Tags should be added in preload and before I do my own preload to the Materials. In order to make yourself a new
+ * SubTag, just create one new instance of SubTag using getNewSubTag and use that one instance on all Materials you want
+ * to add those Tags to.
* <p/>
* You should look at this File whenever you update, maybe there are some new Tags you could use.
* <p/>
* -------------------------------------------------------------------------------------------------
* <p/>
- * Some SubTags are used for other things than Materials too. It is useful when I need an easy way to declare Stuff in Items.
+ * Some SubTags are used for other things than Materials too. It is useful when I need an easy way to declare Stuff in
+ * Items.
*/
public final class SubTag implements ICondition<ISubTagContainer> {
+
public static final HashMap<String, SubTag> sSubTags = new HashMap<>();
private static long sSubtagID = 0;
public final long mSubtagID;
public final String mName;
/**
- * Add this to your Material if you want to have its Ore Calcite heated in a Blast Furnace for more output. Already listed are:
- * Iron, Pyrite, PigIron, DeepIron, ShadowIron, WroughtIron and MeteoricIron.
+ * Add this to your Material if you want to have its Ore Calcite heated in a Blast Furnace for more output. Already
+ * listed are: Iron, Pyrite, PigIron, DeepIron, ShadowIron, WroughtIron and MeteoricIron.
*/
public static final SubTag BLASTFURNACE_CALCITE_DOUBLE = getNewSubTag("BLASTFURNACE_CALCITE_DOUBLE"),
BLASTFURNACE_CALCITE_TRIPLE = getNewSubTag("BLASTFURNACE_CALCITE_TRIPLE");
/**
- * Add this to a material with Direct Smelting to prevent the automatic generation of a Bricked/Bronze Blast Furnace recipe. Already listed are:
- * Chalcopyrite, Tetrahedrite
+ * Add this to a material with Direct Smelting to prevent the automatic generation of a Bricked/Bronze Blast Furnace
+ * recipe. Already listed are: Chalcopyrite, Tetrahedrite
*/
public static final SubTag DONT_ADD_DEFAULT_BBF_RECIPE = getNewSubTag("DONT_ADD_DEFAULT_BBF_RECIPE");
/**
- * Materials which are outputting less in an Induction Smelter. Already listed are:
- * Pyrite, Tetrahedrite, Sphalerite, Cinnabar
+ * Materials which are outputting less in an Induction Smelter. Already listed are: Pyrite, Tetrahedrite,
+ * Sphalerite, Cinnabar
*/
public static final SubTag INDUCTIONSMELTING_LOW_OUTPUT = getNewSubTag("INDUCTIONSMELTING_LOW_OUTPUT");
/**
- * Add this to your Material if you want to have its Ore Sodium Persulfate washed. Already listed are:
- * Zinc, Nickel, Copper, Cobalt, Cobaltite and Tetrahedrite.
+ * Add this to your Material if you want to have its Ore Sodium Persulfate washed. Already listed are: Zinc, Nickel,
+ * Copper, Cobalt, Cobaltite and Tetrahedrite.
*/
public static final SubTag WASHING_SODIUMPERSULFATE = getNewSubTag("WASHING_SODIUMPERSULFATE");
/**
- * Add this to your Material if you want to have its Ore Mercury washed. Already listed are:
- * Gold, Osmium, Mithril, Platinum, Midasium, Cooperite and AstralSilver.
+ * Add this to your Material if you want to have its Ore Mercury washed. Already listed are: Gold, Osmium, Mithril,
+ * Platinum, Midasium, Cooperite and AstralSilver.
*/
public static final SubTag WASHING_MERCURY = getNewSubTag("WASHING_MERCURY");
/**
@@ -68,11 +71,11 @@ public final class SubTag implements ICondition<ISubTagContainer> {
/**
* Add this to your Material if you want to have its Ore electromagnetically separated to give Neodymium.
*/
- public static final SubTag ELECTROMAGNETIC_SEPERATION_NEODYMIUM =
- getNewSubTag("ELECTROMAGNETIC_SEPERATION_NEODYMIUM");
+ public static final SubTag ELECTROMAGNETIC_SEPERATION_NEODYMIUM = getNewSubTag(
+ "ELECTROMAGNETIC_SEPERATION_NEODYMIUM");
/**
- * Add this to your Material if you want to have its Ore giving Cinnabar Crystals on Pulverization. Already listed are:
- * Redstone
+ * Add this to your Material if you want to have its Ore giving Cinnabar Crystals on Pulverization. Already listed
+ * are: Redstone
*/
public static final SubTag PULVERIZING_CINNABAR = getNewSubTag("PULVERIZING_CINNABAR");
/**
@@ -80,8 +83,8 @@ public final class SubTag implements ICondition<ISubTagContainer> {
*/
public static final SubTag NO_WORKING = getNewSubTag("NO_WORKING");
/**
- * This Material cannot be used for regular Metal working techniques since it is not possible to bend it. Already listed are:
- * Rubber, Plastic, Paper, Wood, Stone
+ * This Material cannot be used for regular Metal working techniques since it is not possible to bend it. Already
+ * listed are: Rubber, Plastic, Paper, Wood, Stone
*/
public static final SubTag NO_SMASHING = getNewSubTag("NO_SMASHING");
/**
@@ -93,13 +96,11 @@ public final class SubTag implements ICondition<ISubTagContainer> {
*/
public static final SubTag NO_UNIFICATION = getNewSubTag("NO_UNIFICATION");
/**
- * This Material cannot be used in any Recycler. Already listed are:
- * Stone, Glass, Water
+ * This Material cannot be used in any Recycler. Already listed are: Stone, Glass, Water
*/
public static final SubTag NO_RECYCLING = getNewSubTag("NO_RECYCLING");
/**
- * This Material cannot be used in any Furnace alike Structure. Already listed are:
- * Paper, Wood, Gunpowder, Stone
+ * This Material cannot be used in any Furnace alike Structure. Already listed are: Paper, Wood, Gunpowder, Stone
*/
public static final SubTag NO_SMELTING = getNewSubTag("NO_SMELTING");
/**
@@ -204,39 +205,27 @@ public final class SubTag implements ICondition<ISubTagContainer> {
*/
public static final SubTag SOLDERING_MATERIAL_GOOD = getNewSubTag("SOLDERING_MATERIAL_GOOD");
/**
- * Energy Tag for Electricity
- * Primary = Voltage
- * Secondary = Amperage
+ * Energy Tag for Electricity Primary = Voltage Secondary = Amperage
*/
public static final SubTag ENERGY_ELECTRICITY = getNewSubTag("ENERGY_ELECTRICITY");
/**
- * Energy Tag for Rotating Power
- * Primary = Speed
- * Secondary = Power
+ * Energy Tag for Rotating Power Primary = Speed Secondary = Power
*/
public static final SubTag ENERGY_ROTATIONAL = getNewSubTag("ENERGY_ROTATIONAL");
/**
- * Energy Tag for Steam Power
- * Primary = Steam per Tick
- * Secondary = unused (always 1)
+ * Energy Tag for Steam Power Primary = Steam per Tick Secondary = unused (always 1)
*/
public static final SubTag ENERGY_STEAM = getNewSubTag("ENERGY_STEAM");
/**
- * Energy Tag for Air Pressure Power
- * Primary = Pressure
- * Secondary = unused (always 1)
+ * Energy Tag for Air Pressure Power Primary = Pressure Secondary = unused (always 1)
*/
public static final SubTag ENERGY_AIR = getNewSubTag("ENERGY_AIR");
/**
- * Energy Tag for Heat
- * Primary = Temperature
- * Secondary = unused (always 1)
+ * Energy Tag for Heat Primary = Temperature Secondary = unused (always 1)
*/
public static final SubTag ENERGY_HEAT = getNewSubTag("ENERGY_HEAT");
/**
- * Energy Tag for RedstoneFlux
- * Primary = unused (always 1)
- * Secondary = RF
+ * Energy Tag for RedstoneFlux Primary = unused (always 1) Secondary = RF
*/
public static final SubTag ENERGY_REDSTONE_FLUX = getNewSubTag("ENERGY_REDSTONE_FLUX");
/**
@@ -263,10 +252,8 @@ public final class SubTag implements ICondition<ISubTagContainer> {
}
public SubTag addContainerToList(ISubTagContainer... aContainers) {
- if (aContainers != null)
- for (ISubTagContainer aContainer : aContainers)
- if (aContainer != null && !mRelevantTaggedItems.contains(aContainer))
- mRelevantTaggedItems.add(aContainer);
+ if (aContainers != null) for (ISubTagContainer aContainer : aContainers)
+ if (aContainer != null && !mRelevantTaggedItems.contains(aContainer)) mRelevantTaggedItems.add(aContainer);
return this;
}
diff --git a/src/main/java/gregtech/api/enums/TC_Aspects.java b/src/main/java/gregtech/api/enums/TC_Aspects.java
index cb578cf870..7d0ca56fbf 100644
--- a/src/main/java/gregtech/api/enums/TC_Aspects.java
+++ b/src/main/java/gregtech/api/enums/TC_Aspects.java
@@ -3,6 +3,7 @@ package gregtech.api.enums;
import java.util.List;
public enum TC_Aspects {
+
AER(1),
ALIENIS(20),
AQUA(3),
@@ -70,6 +71,7 @@ public enum TC_Aspects {
}
public static class TC_AspectStack {
+
public TC_Aspects mAspect;
public long mAmount;
@@ -88,24 +90,22 @@ public enum TC_Aspects {
public List<TC_AspectStack> addToAspectList(List<TC_AspectStack> aList) {
if (mAmount == 0) return aList;
- for (TC_AspectStack tAspect : aList)
- if (tAspect.mAspect == mAspect) {
- tAspect.mAmount += mAmount;
- return aList;
- }
+ for (TC_AspectStack tAspect : aList) if (tAspect.mAspect == mAspect) {
+ tAspect.mAmount += mAmount;
+ return aList;
+ }
aList.add(copy());
return aList;
}
public boolean removeFromAspectList(List<TC_AspectStack> aList) {
- for (TC_AspectStack tAspect : aList)
- if (tAspect.mAspect == mAspect) {
- if (tAspect.mAmount >= mAmount) {
- tAspect.mAmount -= mAmount;
- if (tAspect.mAmount == 0) aList.remove(tAspect);
- return true;
- }
+ for (TC_AspectStack tAspect : aList) if (tAspect.mAspect == mAspect) {
+ if (tAspect.mAmount >= mAmount) {
+ tAspect.mAmount -= mAmount;
+ if (tAspect.mAmount == 0) aList.remove(tAspect);
+ return true;
}
+ }
return false;
}
}
diff --git a/src/main/java/gregtech/api/enums/TextureSet.java b/src/main/java/gregtech/api/enums/TextureSet.java
index b033e010d3..78829ca01f 100644
--- a/src/main/java/gregtech/api/enums/TextureSet.java
+++ b/src/main/java/gregtech/api/enums/TextureSet.java
@@ -3,311 +3,75 @@ package gregtech.api.enums;
import gregtech.api.interfaces.IIconContainer;
public class TextureSet {
+
private static final String aTextMatIconDir = "materialicons/";
private static final String aTextVoidDir = "/void";
- private static final TextureType[] IS_BLOCK_TEXTURE = new TextureType[] {
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.BLOCK,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- TextureType.ITEM,
- };
- private static final String[] SUFFIXES = new String[] {
- "/dustTiny",
- "/dustSmall",
- "/dust",
- "/dustImpure",
- "/dustPure",
- "/crushed",
- "/crushedPurified",
- "/crushedCentrifuged",
- "/gem",
- "/nugget",
- "/casingSmall",
- "/ingot",
- "/ingotHot",
- "/ingotDouble",
- "/ingotTriple",
- "/ingotQuadruple",
- "/ingotQuintuple",
- "/plate",
- "/plateDouble",
- "/plateTriple",
- "/plateQuadruple",
- "/plateQuintuple",
- "/plateDense",
- "/stick",
- "/lens",
- "/round",
- "/bolt",
- "/screw",
- "/ring",
- "/foil",
- "/cell",
- "/cellPlasma",
- "/toolHeadSword",
- "/toolHeadPickaxe",
- "/toolHeadShovel",
- "/toolHeadAxe",
- "/toolHeadHoe",
- "/toolHeadHammer",
- "/toolHeadFile",
- "/toolHeadSaw",
- "/toolHeadDrill",
- "/toolHeadChainsaw",
- "/toolHeadWrench",
- "/toolHeadUniversalSpade",
- "/toolHeadSense",
- "/toolHeadPlow",
- "/toolHeadArrow",
- "/toolHeadScrewdriver",
- "/toolHeadBuzzSaw",
- "/toolHeadSoldering",
- "/nanites",
- "/wireFine",
- "/gearGtSmall",
- "/rotor",
- "/stickLong",
- "/springSmall",
- "/spring",
- "/arrowGtWood",
- "/arrowGtPlastic",
- "/gemChipped",
- "/gemFlawed",
- "/gemFlawless",
- "/gemExquisite",
- "/gearGt",
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- "/oreSmall",
- "/ore",
- "/wire",
- "/foil",
- "/block1",
- "/block2",
- "/block3",
- "/block4",
- "/block5",
- "/block6",
- "/pipeSide",
- "/pipeTiny",
- "/pipeSmall",
- "/pipeMedium",
- "/pipeLarge",
- "/pipeHuge",
- "/frameGt",
- "/pipeQuadruple",
- "/pipeNonuple",
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- "/crateGtDust",
- "/crateGtIngot",
- "/crateGtGem",
- "/crateGtPlate",
- "/turbineBlade",
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- aTextVoidDir,
- "/handleMallet",
- "/toolHeadMallet",
- };
+ private static final TextureType[] IS_BLOCK_TEXTURE = new TextureType[] { TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK,
+ TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK,
+ TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK,
+ TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK,
+ TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK,
+ TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK,
+ TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.BLOCK, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM, TextureType.ITEM,
+ TextureType.ITEM, };
+ private static final String[] SUFFIXES = new String[] { "/dustTiny", "/dustSmall", "/dust", "/dustImpure",
+ "/dustPure", "/crushed", "/crushedPurified", "/crushedCentrifuged", "/gem", "/nugget", "/casingSmall",
+ "/ingot", "/ingotHot", "/ingotDouble", "/ingotTriple", "/ingotQuadruple", "/ingotQuintuple", "/plate",
+ "/plateDouble", "/plateTriple", "/plateQuadruple", "/plateQuintuple", "/plateDense", "/stick", "/lens",
+ "/round", "/bolt", "/screw", "/ring", "/foil", "/cell", "/cellPlasma", "/toolHeadSword", "/toolHeadPickaxe",
+ "/toolHeadShovel", "/toolHeadAxe", "/toolHeadHoe", "/toolHeadHammer", "/toolHeadFile", "/toolHeadSaw",
+ "/toolHeadDrill", "/toolHeadChainsaw", "/toolHeadWrench", "/toolHeadUniversalSpade", "/toolHeadSense",
+ "/toolHeadPlow", "/toolHeadArrow", "/toolHeadScrewdriver", "/toolHeadBuzzSaw", "/toolHeadSoldering",
+ "/nanites", "/wireFine", "/gearGtSmall", "/rotor", "/stickLong", "/springSmall", "/spring", "/arrowGtWood",
+ "/arrowGtPlastic", "/gemChipped", "/gemFlawed", "/gemFlawless", "/gemExquisite", "/gearGt", aTextVoidDir,
+ aTextVoidDir, aTextVoidDir, "/oreSmall", "/ore", "/wire", "/foil", "/block1", "/block2", "/block3",
+ "/block4", "/block5", "/block6", "/pipeSide", "/pipeTiny", "/pipeSmall", "/pipeMedium", "/pipeLarge",
+ "/pipeHuge", "/frameGt", "/pipeQuadruple", "/pipeNonuple", aTextVoidDir, aTextVoidDir, aTextVoidDir,
+ aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir,
+ "/crateGtDust", "/crateGtIngot", "/crateGtGem", "/crateGtPlate", "/turbineBlade", aTextVoidDir,
+ aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir,
+ aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir,
+ aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir, aTextVoidDir,
+ aTextVoidDir, aTextVoidDir, aTextVoidDir, "/handleMallet", "/toolHeadMallet", };
public boolean is_custom = false;
- public static final TextureSet SET_NONE = new TextureSet("NONE"),
- SET_DULL = new TextureSet("DULL"),
- SET_RUBY = new TextureSet("RUBY"),
- SET_OPAL = new TextureSet("OPAL"),
- SET_LEAF = new TextureSet("LEAF"),
- SET_WOOD = new TextureSet("WOOD"),
- SET_SAND = new TextureSet("SAND"),
- SET_FINE = new TextureSet("FINE"),
- SET_FIERY = new TextureSet("FIERY"),
- SET_FLUID = new TextureSet("FLUID"),
- SET_ROUGH = new TextureSet("ROUGH"),
- SET_PAPER = new TextureSet("PAPER"),
- SET_GLASS = new TextureSet("GLASS"),
- SET_FLINT = new TextureSet("FLINT"),
- SET_LAPIS = new TextureSet("LAPIS"),
- SET_SHINY = new TextureSet("SHINY"),
- SET_SHARDS = new TextureSet("SHARDS"),
- SET_POWDER = new TextureSet("POWDER"),
- SET_QUARTZ = new TextureSet("QUARTZ"),
- SET_EMERALD = new TextureSet("EMERALD"),
- SET_DIAMOND = new TextureSet("DIAMOND"),
- SET_LIGNITE = new TextureSet("LIGNITE"),
- SET_MAGNETIC = new TextureSet("MAGNETIC"),
- SET_METALLIC = new TextureSet("METALLIC"),
- SET_NETHERSTAR = new TextureSet("NETHERSTAR"),
- SET_GEM_VERTICAL = new TextureSet("GEM_VERTICAL"),
+ public static final TextureSet SET_NONE = new TextureSet("NONE"), SET_DULL = new TextureSet("DULL"),
+ SET_RUBY = new TextureSet("RUBY"), SET_OPAL = new TextureSet("OPAL"), SET_LEAF = new TextureSet("LEAF"),
+ SET_WOOD = new TextureSet("WOOD"), SET_SAND = new TextureSet("SAND"), SET_FINE = new TextureSet("FINE"),
+ SET_FIERY = new TextureSet("FIERY"), SET_FLUID = new TextureSet("FLUID"),
+ SET_ROUGH = new TextureSet("ROUGH"), SET_PAPER = new TextureSet("PAPER"),
+ SET_GLASS = new TextureSet("GLASS"), SET_FLINT = new TextureSet("FLINT"),
+ SET_LAPIS = new TextureSet("LAPIS"), SET_SHINY = new TextureSet("SHINY"),
+ SET_SHARDS = new TextureSet("SHARDS"), SET_POWDER = new TextureSet("POWDER"),
+ SET_QUARTZ = new TextureSet("QUARTZ"), SET_EMERALD = new TextureSet("EMERALD"),
+ SET_DIAMOND = new TextureSet("DIAMOND"), SET_LIGNITE = new TextureSet("LIGNITE"),
+ SET_MAGNETIC = new TextureSet("MAGNETIC"), SET_METALLIC = new TextureSet("METALLIC"),
+ SET_NETHERSTAR = new TextureSet("NETHERSTAR"), SET_GEM_VERTICAL = new TextureSet("GEM_VERTICAL"),
SET_GEM_HORIZONTAL = new TextureSet("GEM_HORIZONTAL");
/**
* For the Indices of OrePrefixes you need to look into the OrePrefix Enum.
*/
- public static final short INDEX_wire = 69,
- INDEX_foil = 70,
- INDEX_block1 = 71,
- INDEX_block2 = 72,
- INDEX_block3 = 73,
- INDEX_block4 = 74,
- INDEX_block5 = 75,
- INDEX_block6 = 76;
+ public static final short INDEX_wire = 69, INDEX_foil = 70, INDEX_block1 = 71, INDEX_block2 = 72, INDEX_block3 = 73,
+ INDEX_block4 = 74, INDEX_block5 = 75, INDEX_block6 = 76;
public final IIconContainer[] mTextures = new IIconContainer[128];
public final String mSetName;
diff --git a/src/main/java/gregtech/api/enums/Textures.java b/src/main/java/gregtech/api/enums/Textures.java
index 13a2ac8490..d3778a6253 100644
--- a/src/main/java/gregtech/api/enums/Textures.java
+++ b/src/main/java/gregtech/api/enums/Textures.java
@@ -3,19 +3,23 @@ package gregtech.api.enums;
import static gregtech.api.enums.GT_Values.RES_PATH_BLOCK;
import static gregtech.api.enums.GT_Values.RES_PATH_ITEM;
-import gregtech.api.GregTech_API;
-import gregtech.api.interfaces.IIconContainer;
-import gregtech.api.interfaces.ITexture;
-import gregtech.api.render.TextureFactory;
-import gregtech.api.util.GT_Utility;
import java.util.HashMap;
import java.util.Map;
+
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
+import gregtech.api.GregTech_API;
+import gregtech.api.interfaces.IIconContainer;
+import gregtech.api.interfaces.ITexture;
+import gregtech.api.render.TextureFactory;
+import gregtech.api.util.GT_Utility;
+
public class Textures {
+
public enum BlockIcons implements IIconContainer, Runnable {
+
// ADDED
MACHINE_UEV_SIDE,
MACHINE_UIV_SIDE,
@@ -1340,767 +1344,309 @@ public class Textures {
LARGETURBINE_NEW_EMPTY6,
LARGETURBINE_NEW_EMPTY7,
LARGETURBINE_NEW_EMPTY8,
- LARGETURBINE_NEW_EMPTY9,
- ;
+ LARGETURBINE_NEW_EMPTY9,;
+
/**
* Icon for Fresh CFoam
*/
- public static final ITexture[] FRESHFOAM = {TextureFactory.of(CFOAM_FRESH)};
+ public static final ITexture[] FRESHFOAM = { TextureFactory.of(CFOAM_FRESH) };
/**
- * Icons for Hardened CFoam
- * 0 = No Color
- * 1 - 16 = Colors
+ * Icons for Hardened CFoam 0 = No Color 1 - 16 = Colors
*/
public static final ITexture[][] HARDENEDFOAMS = {
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.CONSTRUCTION_FOAM.mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[0].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[1].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[2].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[3].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[4].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[5].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[6].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[7].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[8].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[9].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[10].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[11].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[12].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[13].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[14].mRGBa)},
- new ITexture[] {TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[15].mRGBa)}
- };
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.CONSTRUCTION_FOAM.mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[0].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[1].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[2].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[3].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[4].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[5].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[6].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[7].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[8].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[9].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[10].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[11].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[12].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[13].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[14].mRGBa) },
+ new ITexture[] { TextureFactory.of(CFOAM_HARDENED, Dyes.VALUES[15].mRGBa) } };
/**
- * Machine Casings by Tier
- * 0 = 8V, 1 = LV, 2 = MV, 3 = HV, 4 = EV, 5 = IV, 6 = IV, 7 = IV, 8 = IV, 9 = IV
+ * Machine Casings by Tier 0 = 8V, 1 = LV, 2 = MV, 3 = HV, 4 = EV, 5 = IV, 6 = IV, 7 = IV, 8 = IV, 9 = IV
*/
- public static final IIconContainer[]
- MACHINECASINGS_SIDE =
- {
- MACHINE_8V_SIDE,
- MACHINE_LV_SIDE,
- MACHINE_MV_SIDE,
- MACHINE_HV_SIDE,
- MACHINE_EV_SIDE,
- MACHINE_IV_SIDE,
- MACHINE_LuV_SIDE,
- MACHINE_ZPM_SIDE,
- MACHINE_UV_SIDE,
- MACHINE_MAX_SIDE,
- MACHINE_UEV_SIDE,
- MACHINE_UIV_SIDE,
- MACHINE_UMV_SIDE,
- MACHINE_UXV_SIDE,
- MACHINE_MAXV_SIDE,
- },
- MACHINECASINGS_TOP =
- {
- MACHINE_8V_TOP,
- MACHINE_LV_TOP,
- MACHINE_MV_TOP,
- MACHINE_HV_TOP,
- MACHINE_EV_TOP,
- MACHINE_IV_TOP,
- MACHINE_LuV_TOP,
- MACHINE_ZPM_TOP,
- MACHINE_UV_TOP,
- MACHINE_MAX_TOP,
- MACHINE_UEV_TOP,
- MACHINE_UIV_TOP,
- MACHINE_UMV_TOP,
- MACHINE_UXV_TOP,
- MACHINE_MAXV_TOP,
- },
- MACHINECASINGS_BOTTOM =
- {
- MACHINE_8V_BOTTOM,
- MACHINE_LV_BOTTOM,
- MACHINE_MV_BOTTOM,
- MACHINE_HV_BOTTOM,
- MACHINE_EV_BOTTOM,
- MACHINE_IV_BOTTOM,
- MACHINE_LuV_BOTTOM,
- MACHINE_ZPM_BOTTOM,
- MACHINE_UV_BOTTOM,
- MACHINE_MAX_BOTTOM,
- MACHINE_UEV_BOTTOM,
- MACHINE_UIV_BOTTOM,
- MACHINE_UMV_BOTTOM,
- MACHINE_UXV_BOTTOM,
- MACHINE_MAXV_BOTTOM,
- },
- GRANITES =
- {
- GRANITE_BLACK_STONE,
- GRANITE_BLACK_COBBLE,
- GRANITE_BLACK_COBBLE_MOSSY,
- GRANITE_BLACK_BRICKS,
- GRANITE_BLACK_BRICKS_CRACKED,
- GRANITE_BLACK_BRICKS_MOSSY,
- GRANITE_BLACK_BRICKS_CHISELED,
- GRANITE_BLACK_SMOOTH,
- GRANITE_RED_STONE,
- GRANITE_RED_COBBLE,
- GRANITE_RED_COBBLE_MOSSY,
- GRANITE_RED_BRICKS,
- GRANITE_RED_BRICKS_CRACKED,
- GRANITE_RED_BRICKS_MOSSY,
- GRANITE_RED_BRICKS_CHISELED,
- GRANITE_RED_SMOOTH,
- },
- CONCRETES =
- {
- CONCRETE_DARK_STONE,
- CONCRETE_DARK_COBBLE,
- CONCRETE_DARK_COBBLE_MOSSY,
- CONCRETE_DARK_BRICKS,
- CONCRETE_DARK_BRICKS_CRACKED,
- CONCRETE_DARK_BRICKS_MOSSY,
- CONCRETE_DARK_BRICKS_CHISELED,
- CONCRETE_DARK_SMOOTH,
- CONCRETE_LIGHT_STONE,
- CONCRETE_LIGHT_COBBLE,
- CONCRETE_LIGHT_COBBLE_MOSSY,
- CONCRETE_LIGHT_BRICKS,
- CONCRETE_LIGHT_BRICKS_CRACKED,
- CONCRETE_LIGHT_BRICKS_MOSSY,
- CONCRETE_LIGHT_BRICKS_CHISELED,
- CONCRETE_LIGHT_SMOOTH,
- },
- STONES =
- {
- MARBLE_STONE,
- MARBLE_COBBLE,
- MARBLE_COBBLE_MOSSY,
- MARBLE_BRICKS,
- MARBLE_BRICKS_CRACKED,
- MARBLE_BRICKS_MOSSY,
- MARBLE_BRICKS_CHISELED,
- MARBLE_SMOOTH,
- BASALT_STONE,
- BASALT_COBBLE,
- BASALT_COBBLE_MOSSY,
- BASALT_BRICKS,
- BASALT_BRICKS_CRACKED,
- BASALT_BRICKS_MOSSY,
- BASALT_BRICKS_CHISELED,
- BASALT_SMOOTH,
- },
- TURBINE =
- {
- LARGETURBINE_ST1,
- LARGETURBINE_ST2,
- LARGETURBINE_ST3,
- LARGETURBINE_ST4,
- LARGETURBINE_ST5,
- LARGETURBINE_ST6,
- LARGETURBINE_ST7,
- LARGETURBINE_ST8,
- LARGETURBINE_ST9
- },
- TURBINE_ACTIVE =
- {
- LARGETURBINE_ST_ACTIVE1,
- LARGETURBINE_ST_ACTIVE2,
- LARGETURBINE_ST_ACTIVE3,
- LARGETURBINE_ST_ACTIVE4,
- LARGETURBINE_ST_ACTIVE5,
- LARGETURBINE_ST_ACTIVE6,
- LARGETURBINE_ST_ACTIVE7,
- LARGETURBINE_ST_ACTIVE8,
- LARGETURBINE_ST_ACTIVE9
- },
- TURBINE_EMPTY =
- {
- LARGETURBINE_ST_EMPTY1,
- LARGETURBINE_ST_EMPTY2,
- LARGETURBINE_ST_EMPTY3,
- LARGETURBINE_ST_EMPTY4,
- LARGETURBINE_ST_EMPTY5,
- LARGETURBINE_ST_EMPTY6,
- LARGETURBINE_ST_EMPTY7,
- LARGETURBINE_ST_EMPTY8,
- LARGETURBINE_ST_EMPTY9
- },
- TURBINE_NEW =
- {
- LARGETURBINE_NEW1,
- LARGETURBINE_NEW2,
- LARGETURBINE_NEW3,
- LARGETURBINE_NEW4,
- LARGETURBINE_NEW5,
- LARGETURBINE_NEW6,
- LARGETURBINE_NEW7,
- LARGETURBINE_NEW8,
- LARGETURBINE_NEW9
- },
- TURBINE_NEW_ACTIVE =
- {
- LARGETURBINE_NEW_ACTIVE1,
- LARGETURBINE_NEW_ACTIVE2,
- LARGETURBINE_NEW_ACTIVE3,
- LARGETURBINE_NEW_ACTIVE4,
- LARGETURBINE_NEW_ACTIVE5,
- LARGETURBINE_NEW_ACTIVE6,
- LARGETURBINE_NEW_ACTIVE7,
- LARGETURBINE_NEW_ACTIVE8,
- LARGETURBINE_NEW_ACTIVE9
- },
- TURBINE_NEW_EMPTY =
- {
- LARGETURBINE_NEW_EMPTY1,
- LARGETURBINE_NEW_EMPTY2,
- LARGETURBINE_NEW_EMPTY3,
- LARGETURBINE_NEW_EMPTY4,
- LARGETURBINE_NEW_EMPTY5,
- LARGETURBINE_NEW_EMPTY6,
- LARGETURBINE_NEW_EMPTY7,
- LARGETURBINE_NEW_EMPTY8,
- LARGETURBINE_NEW_EMPTY9
- },
- TURBINE1 =
- {
- LARGETURBINE_SS1,
- LARGETURBINE_SS2,
- LARGETURBINE_SS3,
- LARGETURBINE_SS4,
- LARGETURBINE_SS5,
- LARGETURBINE_SS6,
- LARGETURBINE_SS7,
- LARGETURBINE_SS8,
- LARGETURBINE_SS9
- },
- TURBINE_ACTIVE1 =
- {
- LARGETURBINE_SS_ACTIVE1,
- LARGETURBINE_SS_ACTIVE2,
- LARGETURBINE_SS_ACTIVE3,
- LARGETURBINE_SS_ACTIVE4,
- LARGETURBINE_SS_ACTIVE5,
- LARGETURBINE_SS_ACTIVE6,
- LARGETURBINE_SS_ACTIVE7,
- LARGETURBINE_SS_ACTIVE8,
- LARGETURBINE_SS_ACTIVE9
- },
- TURBINE_EMPTY1 =
- {
- LARGETURBINE_SS_EMPTY1,
- LARGETURBINE_SS_EMPTY2,
- LARGETURBINE_SS_EMPTY3,
- LARGETURBINE_SS_EMPTY4,
- LARGETURBINE_SS_EMPTY5,
- LARGETURBINE_SS_EMPTY6,
- LARGETURBINE_SS_EMPTY7,
- LARGETURBINE_SS_EMPTY8,
- LARGETURBINE_SS_EMPTY9
- },
- TURBINE2 =
- {
- LARGETURBINE_TI1,
- LARGETURBINE_TI2,
- LARGETURBINE_TI3,
- LARGETURBINE_TI4,
- LARGETURBINE_TI5,
- LARGETURBINE_TI6,
- LARGETURBINE_TI7,
- LARGETURBINE_TI8,
- LARGETURBINE_TI9
- },
- TURBINE_ACTIVE2 =
- {
- LARGETURBINE_TI_ACTIVE1,
- LARGETURBINE_TI_ACTIVE2,
- LARGETURBINE_TI_ACTIVE3,
- LARGETURBINE_TI_ACTIVE4,
- LARGETURBINE_TI_ACTIVE5,
- LARGETURBINE_TI_ACTIVE6,
- LARGETURBINE_TI_ACTIVE7,
- LARGETURBINE_TI_ACTIVE8,
- LARGETURBINE_TI_ACTIVE9
- },
- TURBINE_EMPTY2 =
- {
- LARGETURBINE_TI_EMPTY1,
- LARGETURBINE_TI_EMPTY2,
- LARGETURBINE_TI_EMPTY3,
- LARGETURBINE_TI_EMPTY4,
- LARGETURBINE_TI_EMPTY5,
- LARGETURBINE_TI_EMPTY6,
- LARGETURBINE_TI_EMPTY7,
- LARGETURBINE_TI_EMPTY8,
- LARGETURBINE_TI_EMPTY9
- },
- TURBINE3 =
- {
- LARGETURBINE_TU1,
- LARGETURBINE_TU2,
- LARGETURBINE_TU3,
- LARGETURBINE_TU4,
- LARGETURBINE_TU5,
- LARGETURBINE_TU6,
- LARGETURBINE_TU7,
- LARGETURBINE_TU8,
- LARGETURBINE_TU9
- },
- TURBINE_ACTIVE3 =
- {
- LARGETURBINE_TU_ACTIVE1,
- LARGETURBINE_TU_ACTIVE2,
- LARGETURBINE_TU_ACTIVE3,
- LARGETURBINE_TU_ACTIVE4,
- LARGETURBINE_TU_ACTIVE5,
- LARGETURBINE_TU_ACTIVE6,
- LARGETURBINE_TU_ACTIVE7,
- LARGETURBINE_TU_ACTIVE8,
- LARGETURBINE_TU_ACTIVE9
- },
- TURBINE_EMPTY3 =
- {
- LARGETURBINE_TU_EMPTY1,
- LARGETURBINE_TU_EMPTY2,
- LARGETURBINE_TU_EMPTY3,
- LARGETURBINE_TU_EMPTY4,
- LARGETURBINE_TU_EMPTY5,
- LARGETURBINE_TU_EMPTY6,
- LARGETURBINE_TU_EMPTY7,
- LARGETURBINE_TU_EMPTY8,
- LARGETURBINE_TU_EMPTY9
- },
- TURBINEADVGAS =
- {
- LARGETURBINE_ADVGAS1,
- LARGETURBINE_ADVGAS2,
- LARGETURBINE_ADVGAS3,
- LARGETURBINE_ADVGAS4,
- LARGETURBINE_ADVGAS5,
- LARGETURBINE_ADVGAS6,
- LARGETURBINE_ADVGAS7,
- LARGETURBINE_ADVGAS8,
- LARGETURBINE_ADVGAS9
- },
- TURBINE_ADVGASACTIVE =
- {
- LARGETURBINE_ADVGAS_ACTIVE1,
- LARGETURBINE_ADVGAS_ACTIVE2,
- LARGETURBINE_ADVGAS_ACTIVE3,
- LARGETURBINE_ADVGAS_ACTIVE4,
- LARGETURBINE_ADVGAS_ACTIVE5,
- LARGETURBINE_ADVGAS_ACTIVE6,
- LARGETURBINE_ADVGAS_ACTIVE7,
- LARGETURBINE_ADVGAS_ACTIVE8,
- LARGETURBINE_ADVGAS_ACTIVE9
- },
- TURBINE_ADVGASEMPTY =
- {
- LARGETURBINE_ADVGAS_EMPTY1,
- LARGETURBINE_ADVGAS_EMPTY2,
- LARGETURBINE_ADVGAS_EMPTY3,
- LARGETURBINE_ADVGAS_EMPTY4,
- LARGETURBINE_ADVGAS_EMPTY5,
- LARGETURBINE_ADVGAS_EMPTY6,
- LARGETURBINE_ADVGAS_EMPTY7,
- LARGETURBINE_ADVGAS_EMPTY8,
- LARGETURBINE_ADVGAS_EMPTY9
- },
- CONNECTED_HULLS =
- {
- CONCRETE_DARK_STONE,
- FUSIONI_1,
- FUSIONI_2,
- FUSIONI_3,
- FUSIONI_4,
- FUSIONI_5,
- FUSIONI_6,
- FUSIONI_7,
- FUSIONI_8,
- FUSIONI_9,
- FUSIONI_10,
- FUSIONI_11,
- FUSIONI_12,
- FUSIONII_1,
- FUSIONII_2,
- FUSIONII_3,
- FUSIONII_4,
- FUSIONII_5,
- FUSIONII_6,
- FUSIONII_7,
- FUSIONII_8,
- FUSIONII_9,
- FUSIONII_10,
- FUSIONII_11,
- FUSIONII_12,
- },
- STORAGE_BLOCKS1 =
- {
- BLOCK_ADAMANTIUM,
- BLOCK_ALUMINIUM,
- BLOCK_AMERICIUM,
- BLOCK_ANNEALEDCOPPER,
- BLOCK_ANTIMONY,
- BLOCK_ARSENIC,
- BLOCK_ASTRALSILVER,
- BLOCK_BATTERYALLOY,
- BLOCK_BERYLLIUM,
- BLOCK_BISMUTH,
- BLOCK_BISMUTHBRONZE,
- BLOCK_BLACKBRONZE,
- BLOCK_BLACKSTEEL,
- BLOCK_BLUEALLOY,
- BLOCK_BLUESTEEL,
- BLOCK_BRASS
- },
- STORAGE_BLOCKS2 =
- {
- BLOCK_BRONZE,
- BLOCK_CAESIUM,
- BLOCK_CERIUM,
- BLOCK_CHROME,
- BLOCK_CHROMIUMDIOXIDE,
- BLOCK_COBALT,
- BLOCK_COBALTBRASS,
- BLOCK_COPPER,
- BLOCK_CUPRONICKEL,
- BLOCK_DAMASCUSSTEEL,
- BLOCK_DARKIRON,
- BLOCK_DEEPIRON,
- BLOCK_DESH,
- BLOCK_DURANIUM,
- BLOCK_DYSPROSIUM,
- BLOCK_ELECTRUM
- },
- STORAGE_BLOCKS3 =
- {
- BLOCK_ELECTRUMFLUX,
- BLOCK_ENDERIUM,
- BLOCK_ERBIUM,
- BLOCK_EUROPIUM,
- BLOCK_FIERYSTEEL,
- BLOCK_GADOLINIUM,
- BLOCK_GALLIUM,
- BLOCK_HOLMIUM,
- BLOCK_HSLA,
- BLOCK_INDIUM,
- BLOCK_INFUSEDGOLD,
- BLOCK_INVAR,
- BLOCK_IRIDIUM,
- BLOCK_IRONMAGNETIC,
- BLOCK_IRONWOOD,
- BLOCK_KANTHAL
- },
- STORAGE_BLOCKS4 =
- {
- BLOCK_KNIGHTMETAL,
- BLOCK_LANTHANUM,
- BLOCK_LEAD,
- BLOCK_LUTETIUM,
- BLOCK_MAGNALIUM,
- BLOCK_MAGNESIUM,
- BLOCK_MANGANESE,
- BLOCK_METEORICIRON,
- BLOCK_METEORICSTEEL,
- BLOCK_TRINIUM,
- BLOCK_MITHRIL,
- BLOCK_MOLYBDENUM,
- BLOCK_NAQUADAH,
- BLOCK_NAQUADAHALLOY,
- BLOCK_NAQUADAHENRICHED,
- BLOCK_NAQUADRIA
- },
- STORAGE_BLOCKS5 =
- {
- BLOCK_NEODYMIUM,
- BLOCK_NEODYMIUMMAGNETIC,
- BLOCK_NEUTRONIUM,
- BLOCK_NICHROME,
- BLOCK_NICKEL,
- BLOCK_NIOBIUM,
- BLOCK_NIOBIUMNITRIDE,
- BLOCK_NIOBIUMTITANIUM,
- BLOCK_OSMIRIDIUM,
- BLOCK_OSMIUM,
- BLOCK_PALLADIUM,
- BLOCK_PIGIRON,
- BLOCK_PLATINUM,
- BLOCK_PLUTONIUM,
- BLOCK_PLUTONIUM241,
- BLOCK_PRASEODYMIUM
- },
- STORAGE_BLOCKS6 =
- {
- BLOCK_PROMETHIUM,
- BLOCK_REDALLOY,
- BLOCK_REDSTEEL,
- BLOCK_ROSEGOLD,
- BLOCK_RUBIDIUM,
- BLOCK_SAMARIUM,
- BLOCK_SCANDIUM,
- BLOCK_SHADOWIRON,
- BLOCK_SHADOWSTEEL,
- BLOCK_SILICON,
- BLOCK_SILVER,
- BLOCK_SOLDERINGALLOY,
- BLOCK_STAINLESSSTEEL,
- BLOCK_STEEL,
- BLOCK_STEELMAGNETIC,
- BLOCK_STERLINGSILVER
- },
- STORAGE_BLOCKS7 =
- {
- BLOCK_SUNNARIUM,
- BLOCK_TANTALUM,
- BLOCK_TELLURIUM,
- BLOCK_TERBIUM,
- BLOCK_THAUMIUM,
- BLOCK_THORIUM,
- BLOCK_THULIUM,
- BLOCK_TIN,
- BLOCK_TINALLOY,
- BLOCK_TITANIUM,
- BLOCK_TRITANIUM,
- BLOCK_TUNGSTEN,
- BLOCK_TUNGSTENSTEEL,
- BLOCK_ULTIMET,
- BLOCK_URANIUM,
- BLOCK_URANIUM235
- },
- STORAGE_BLOCKS8 =
- {
- BLOCK_VANADIUM,
- BLOCK_VANADIUMGALLIUM,
- BLOCK_WROUGHTIRON,
- BLOCK_YTTRBIUM,
- BLOCK_YTTRIUM,
- BLOCK_YTTRIUMBARIUMCUPRATE,
- BLOCK_ZINC,
- BLOCK_TUNGSTENCARBIDE,
- BLOCK_VANADIUMSTEEL,
- BLOCK_HSSG,
- BLOCK_HSSE,
- BLOCK_HSSS,
- BLOCK_STEELEAF,
- BLOCK_ICHORIUM,
- BLOCK_FIRESTONE,
- BLOCK_SHADOW
- },
- STORAGE_BLOCKS9 =
- {
- BLOCK_AERCRYSTAL,
- BLOCK_AMBER,
- BLOCK_AMETHYST,
- BLOCK_AQUACRYSTAL,
- BLOCK_BLUETOPAZ,
- BLOCK_CERTUSQUARTZ,
- BLOCK_DILITHIUM,
- BLOCK_ENDEREYE,
- BLOCK_ENDERPEARL,
- BLOCK_FOOLSRUBY,
- BLOCK_FORCE,
- BLOCK_FORCICIUM,
- BLOCK_FORCILLIUM,
- BLOCK_GREENSAPPHIRE,
- BLOCK_IGNISCRYSTAL,
- BLOCK_JASPER
- },
- STORAGE_BLOCKS10 =
- {
- BLOCK_LAZURITE,
- BLOCK_LIGNITE,
- BLOCK_MONAZITE,
- BLOCK_NITER,
- BLOCK_OLIVINE,
- BLOCK_OPAL,
- BLOCK_ORDOCRYSTAL,
- BLOCK_PERDITIOCRYSTAL,
- BLOCK_PHOSPHORUS,
- BLOCK_QUARTZITE,
- BLOCK_REDGARNET,
- BLOCK_RUBY,
- BLOCK_SAPPHIRE,
- BLOCK_SODALITE,
- BLOCK_TANZANITE,
- BLOCK_TERRACRYSTAL
- },
- STORAGE_BLOCKS11 =
- {BLOCK_TOPAZ, BLOCK_VINTEUM, BLOCK_YELLOWGARNET, BLOCK_NETHERSTAR, BLOCK_CHARCOAL, BLOCK_BLAZE},
- STORAGE_BLOCKS12 =
- {
- BLOCK_CRYOLITE,
- BLOCK_SILICONSG,
- BLOCK_NICKELALUMINIUM,
- BLOCK_SPACETIME,
- BLOCK_TRANSCENDENTMETAL,
- BLOCK_ORIHARUKON,
- BLOCK_WHITEDWARFMATTER,
- BLOCK_BLACKDWARFMATTER,
- };
+ public static final IIconContainer[] MACHINECASINGS_SIDE = { MACHINE_8V_SIDE, MACHINE_LV_SIDE, MACHINE_MV_SIDE,
+ MACHINE_HV_SIDE, MACHINE_EV_SIDE, MACHINE_IV_SIDE, MACHINE_LuV_SIDE, MACHINE_ZPM_SIDE, MACHINE_UV_SIDE,
+ MACHINE_MAX_SIDE, MACHINE_UEV_SIDE, MACHINE_UIV_SIDE, MACHINE_UMV_SIDE, MACHINE_UXV_SIDE,
+ MACHINE_MAXV_SIDE, },
+ MACHINECASINGS_TOP = { MACHINE_8V_TOP, MACHINE_LV_TOP, MACHINE_MV_TOP, MACHINE_HV_TOP, MACHINE_EV_TOP,
+ MACHINE_IV_TOP, MACHINE_LuV_TOP, MACHINE_ZPM_TOP, MACHINE_UV_TOP, MACHINE_MAX_TOP,
+ MACHINE_UEV_TOP, MACHINE_UIV_TOP, MACHINE_UMV_TOP, MACHINE_UXV_TOP, MACHINE_MAXV_TOP, },
+ MACHINECASINGS_BOTTOM = { MACHINE_8V_BOTTOM, MACHINE_LV_BOTTOM, MACHINE_MV_BOTTOM, MACHINE_HV_BOTTOM,
+ MACHINE_EV_BOTTOM, MACHINE_IV_BOTTOM, MACHINE_LuV_BOTTOM, MACHINE_ZPM_BOTTOM, MACHINE_UV_BOTTOM,
+ MACHINE_MAX_BOTTOM, MACHINE_UEV_BOTTOM, MACHINE_UIV_BOTTOM, MACHINE_UMV_BOTTOM,
+ MACHINE_UXV_BOTTOM, MACHINE_MAXV_BOTTOM, },
+ GRANITES = { GRANITE_BLACK_STONE, GRANITE_BLACK_COBBLE, GRANITE_BLACK_COBBLE_MOSSY,
+ GRANITE_BLACK_BRICKS, GRANITE_BLACK_BRICKS_CRACKED, GRANITE_BLACK_BRICKS_MOSSY,
+ GRANITE_BLACK_BRICKS_CHISELED, GRANITE_BLACK_SMOOTH, GRANITE_RED_STONE, GRANITE_RED_COBBLE,
+ GRANITE_RED_COBBLE_MOSSY, GRANITE_RED_BRICKS, GRANITE_RED_BRICKS_CRACKED,
+ GRANITE_RED_BRICKS_MOSSY, GRANITE_RED_BRICKS_CHISELED, GRANITE_RED_SMOOTH, },
+ CONCRETES = { CONCRETE_DARK_STONE, CONCRETE_DARK_COBBLE, CONCRETE_DARK_COBBLE_MOSSY,
+ CONCRETE_DARK_BRICKS, CONCRETE_DARK_BRICKS_CRACKED, CONCRETE_DARK_BRICKS_MOSSY,
+ CONCRETE_DARK_BRICKS_CHISELED, CONCRETE_DARK_SMOOTH, CONCRETE_LIGHT_STONE,
+ CONCRETE_LIGHT_COBBLE, CONCRETE_LIGHT_COBBLE_MOSSY, CONCRETE_LIGHT_BRICKS,
+ CONCRETE_LIGHT_BRICKS_CRACKED, CONCRETE_LIGHT_BRICKS_MOSSY, CONCRETE_LIGHT_BRICKS_CHISELED,
+ CONCRETE_LIGHT_SMOOTH, },
+ STONES = { MARBLE_STONE, MARBLE_COBBLE, MARBLE_COBBLE_MOSSY, MARBLE_BRICKS, MARBLE_BRICKS_CRACKED,
+ MARBLE_BRICKS_MOSSY, MARBLE_BRICKS_CHISELED, MARBLE_SMOOTH, BASALT_STONE, BASALT_COBBLE,
+ BASALT_COBBLE_MOSSY, BASALT_BRICKS, BASALT_BRICKS_CRACKED, BASALT_BRICKS_MOSSY,
+ BASALT_BRICKS_CHISELED, BASALT_SMOOTH, },
+ TURBINE = { LARGETURBINE_ST1, LARGETURBINE_ST2, LARGETURBINE_ST3, LARGETURBINE_ST4, LARGETURBINE_ST5,
+ LARGETURBINE_ST6, LARGETURBINE_ST7, LARGETURBINE_ST8, LARGETURBINE_ST9 },
+ TURBINE_ACTIVE = { LARGETURBINE_ST_ACTIVE1, LARGETURBINE_ST_ACTIVE2, LARGETURBINE_ST_ACTIVE3,
+ LARGETURBINE_ST_ACTIVE4, LARGETURBINE_ST_ACTIVE5, LARGETURBINE_ST_ACTIVE6,
+ LARGETURBINE_ST_ACTIVE7, LARGETURBINE_ST_ACTIVE8, LARGETURBINE_ST_ACTIVE9 },
+ TURBINE_EMPTY = { LARGETURBINE_ST_EMPTY1, LARGETURBINE_ST_EMPTY2, LARGETURBINE_ST_EMPTY3,
+ LARGETURBINE_ST_EMPTY4, LARGETURBINE_ST_EMPTY5, LARGETURBINE_ST_EMPTY6, LARGETURBINE_ST_EMPTY7,
+ LARGETURBINE_ST_EMPTY8, LARGETURBINE_ST_EMPTY9 },
+ TURBINE_NEW = { LARGETURBINE_NEW1, LARGETURBINE_NEW2, LARGETURBINE_NEW3, LARGETURBINE_NEW4,
+ LARGETURBINE_NEW5, LARGETURBINE_NEW6, LARGETURBINE_NEW7, LARGETURBINE_NEW8, LARGETURBINE_NEW9 },
+ TURBINE_NEW_ACTIVE = { LARGETURBINE_NEW_ACTIVE1, LARGETURBINE_NEW_ACTIVE2, LARGETURBINE_NEW_ACTIVE3,
+ LARGETURBINE_NEW_ACTIVE4, LARGETURBINE_NEW_ACTIVE5, LARGETURBINE_NEW_ACTIVE6,
+ LARGETURBINE_NEW_ACTIVE7, LARGETURBINE_NEW_ACTIVE8, LARGETURBINE_NEW_ACTIVE9 },
+ TURBINE_NEW_EMPTY = { LARGETURBINE_NEW_EMPTY1, LARGETURBINE_NEW_EMPTY2, LARGETURBINE_NEW_EMPTY3,
+ LARGETURBINE_NEW_EMPTY4, LARGETURBINE_NEW_EMPTY5, LARGETURBINE_NEW_EMPTY6,
+ LARGETURBINE_NEW_EMPTY7, LARGETURBINE_NEW_EMPTY8, LARGETURBINE_NEW_EMPTY9 },
+ TURBINE1 = { LARGETURBINE_SS1, LARGETURBINE_SS2, LARGETURBINE_SS3, LARGETURBINE_SS4, LARGETURBINE_SS5,
+ LARGETURBINE_SS6, LARGETURBINE_SS7, LARGETURBINE_SS8, LARGETURBINE_SS9 },
+ TURBINE_ACTIVE1 = { LARGETURBINE_SS_ACTIVE1, LARGETURBINE_SS_ACTIVE2, LARGETURBINE_SS_ACTIVE3,
+ LARGETURBINE_SS_ACTIVE4, LARGETURBINE_SS_ACTIVE5, LARGETURBINE_SS_ACTIVE6,
+ LARGETURBINE_SS_ACTIVE7, LARGETURBINE_SS_ACTIVE8, LARGETURBINE_SS_ACTIVE9 },
+ TURBINE_EMPTY1 = { LARGETURBINE_SS_EMPTY1, LARGETURBINE_SS_EMPTY2, LARGETURBINE_SS_EMPTY3,
+ LARGETURBINE_SS_EMPTY4, LARGETURBINE_SS_EMPTY5, LARGETURBINE_SS_EMPTY6, LARGETURBINE_SS_EMPTY7,
+ LARGETURBINE_SS_EMPTY8, LARGETURBINE_SS_EMPTY9 },
+ TURBINE2 = { LARGETURBINE_TI1, LARGETURBINE_TI2, LARGETURBINE_TI3, LARGETURBINE_TI4, LARGETURBINE_TI5,
+ LARGETURBINE_TI6, LARGETURBINE_TI7, LARGETURBINE_TI8, LARGETURBINE_TI9 },
+ TURBINE_ACTIVE2 = { LARGETURBINE_TI_ACTIVE1, LARGETURBINE_TI_ACTIVE2, LARGETURBINE_TI_ACTIVE3,
+ LARGETURBINE_TI_ACTIVE4, LARGETURBINE_TI_ACTIVE5, LARGETURBINE_TI_ACTIVE6,
+ LARGETURBINE_TI_ACTIVE7, LARGETURBINE_TI_ACTIVE8, LARGETURBINE_TI_ACTIVE9 },
+ TURBINE_EMPTY2 = { LARGETURBINE_TI_EMPTY1, LARGETURBINE_TI_EMPTY2, LARGETURBINE_TI_EMPTY3,
+ LARGETURBINE_TI_EMPTY4, LARGETURBINE_TI_EMPTY5, LARGETURBINE_TI_EMPTY6, LARGETURBINE_TI_EMPTY7,
+ LARGETURBINE_TI_EMPTY8, LARGETURBINE_TI_EMPTY9 },
+ TURBINE3 = { LARGETURBINE_TU1, LARGETURBINE_TU2, LARGETURBINE_TU3, LARGETURBINE_TU4, LARGETURBINE_TU5,
+ LARGETURBINE_TU6, LARGETURBINE_TU7, LARGETURBINE_TU8, LARGETURBINE_TU9 },
+ TURBINE_ACTIVE3 = { LARGETURBINE_TU_ACTIVE1, LARGETURBINE_TU_ACTIVE2, LARGETURBINE_TU_ACTIVE3,
+ LARGETURBINE_TU_ACTIVE4, LARGETURBINE_TU_ACTIVE5, LARGETURBINE_TU_ACTIVE6,
+ LARGETURBINE_TU_ACTIVE7, LARGETURBINE_TU_ACTIVE8, LARGETURBINE_TU_ACTIVE9 },
+ TURBINE_EMPTY3 = { LARGETURBINE_TU_EMPTY1, LARGETURBINE_TU_EMPTY2, LARGETURBINE_TU_EMPTY3,
+ LARGETURBINE_TU_EMPTY4, LARGETURBINE_TU_EMPTY5, LARGETURBINE_TU_EMPTY6, LARGETURBINE_TU_EMPTY7,
+ LARGETURBINE_TU_EMPTY8, LARGETURBINE_TU_EMPTY9 },
+ TURBINEADVGAS = { LARGETURBINE_ADVGAS1, LARGETURBINE_ADVGAS2, LARGETURBINE_ADVGAS3,
+ LARGETURBINE_ADVGAS4, LARGETURBINE_ADVGAS5, LARGETURBINE_ADVGAS6, LARGETURBINE_ADVGAS7,
+ LARGETURBINE_ADVGAS8, LARGETURBINE_ADVGAS9 },
+ TURBINE_ADVGASACTIVE = { LARGETURBINE_ADVGAS_ACTIVE1, LARGETURBINE_ADVGAS_ACTIVE2,
+ LARGETURBINE_ADVGAS_ACTIVE3, LARGETURBINE_ADVGAS_ACTIVE4, LARGETURBINE_ADVGAS_ACTIVE5,
+ LARGETURBINE_ADVGAS_ACTIVE6, LARGETURBINE_ADVGAS_ACTIVE7, LARGETURBINE_ADVGAS_ACTIVE8,
+ LARGETURBINE_ADVGAS_ACTIVE9 },
+ TURBINE_ADVGASEMPTY = { LARGETURBINE_ADVGAS_EMPTY1, LARGETURBINE_ADVGAS_EMPTY2,
+ LARGETURBINE_ADVGAS_EMPTY3, LARGETURBINE_ADVGAS_EMPTY4, LARGETURBINE_ADVGAS_EMPTY5,
+ LARGETURBINE_ADVGAS_EMPTY6, LARGETURBINE_ADVGAS_EMPTY7, LARGETURBINE_ADVGAS_EMPTY8,
+ LARGETURBINE_ADVGAS_EMPTY9 },
+ CONNECTED_HULLS = { CONCRETE_DARK_STONE, FUSIONI_1, FUSIONI_2, FUSIONI_3, FUSIONI_4, FUSIONI_5,
+ FUSIONI_6, FUSIONI_7, FUSIONI_8, FUSIONI_9, FUSIONI_10, FUSIONI_11, FUSIONI_12, FUSIONII_1,
+ FUSIONII_2, FUSIONII_3, FUSIONII_4, FUSIONII_5, FUSIONII_6, FUSIONII_7, FUSIONII_8, FUSIONII_9,
+ FUSIONII_10, FUSIONII_11, FUSIONII_12, },
+ STORAGE_BLOCKS1 = { BLOCK_ADAMANTIUM, BLOCK_ALUMINIUM, BLOCK_AMERICIUM, BLOCK_ANNEALEDCOPPER,
+ BLOCK_ANTIMONY, BLOCK_ARSENIC, BLOCK_ASTRALSILVER, BLOCK_BATTERYALLOY, BLOCK_BERYLLIUM,
+ BLOCK_BISMUTH, BLOCK_BISMUTHBRONZE, BLOCK_BLACKBRONZE, BLOCK_BLACKSTEEL, BLOCK_BLUEALLOY,
+ BLOCK_BLUESTEEL, BLOCK_BRASS },
+ STORAGE_BLOCKS2 = { BLOCK_BRONZE, BLOCK_CAESIUM, BLOCK_CERIUM, BLOCK_CHROME, BLOCK_CHROMIUMDIOXIDE,
+ BLOCK_COBALT, BLOCK_COBALTBRASS, BLOCK_COPPER, BLOCK_CUPRONICKEL, BLOCK_DAMASCUSSTEEL,
+ BLOCK_DARKIRON, BLOCK_DEEPIRON, BLOCK_DESH, BLOCK_DURANIUM, BLOCK_DYSPROSIUM, BLOCK_ELECTRUM },
+ STORAGE_BLOCKS3 = { BLOCK_ELECTRUMFLUX, BLOCK_ENDERIUM, BLOCK_ERBIUM, BLOCK_EUROPIUM, BLOCK_FIERYSTEEL,
+ BLOCK_GADOLINIUM, BLOCK_GALLIUM, BLOCK_HOLMIUM, BLOCK_HSLA, BLOCK_INDIUM, BLOCK_INFUSEDGOLD,
+ BLOCK_INVAR, BLOCK_IRIDIUM, BLOCK_IRONMAGNETIC, BLOCK_IRONWOOD, BLOCK_KANTHAL },
+ STORAGE_BLOCKS4 = { BLOCK_KNIGHTMETAL, BLOCK_LANTHANUM, BLOCK_LEAD, BLOCK_LUTETIUM, BLOCK_MAGNALIUM,
+ BLOCK_MAGNESIUM, BLOCK_MANGANESE, BLOCK_METEORICIRON, BLOCK_METEORICSTEEL, BLOCK_TRINIUM,
+ BLOCK_MITHRIL, BLOCK_MOLYBDENUM, BLOCK_NAQUADAH, BLOCK_NAQUADAHALLOY, BLOCK_NAQUADAHENRICHED,
+ BLOCK_NAQUADRIA },
+ STORAGE_BLOCKS5 = { BLOCK_NEODYMIUM, BLOCK_NEODYMIUMMAGNETIC, BLOCK_NEUTRONIUM, BLOCK_NICHROME,
+ BLOCK_NICKEL, BLOCK_NIOBIUM, BLOCK_NIOBIUMNITRIDE, BLOCK_NIOBIUMTITANIUM, BLOCK_OSMIRIDIUM,
+ BLOCK_OSMIUM, BLOCK_PALLADIUM, BLOCK_PIGIRON, BLOCK_PLATINUM, BLOCK_PLUTONIUM,
+ BLOCK_PLUTONIUM241, BLOCK_PRASEODYMIUM },
+ STORAGE_BLOCKS6 = { BLOCK_PROMETHIUM, BLOCK_REDALLOY, BLOCK_REDSTEEL, BLOCK_ROSEGOLD, BLOCK_RUBIDIUM,
+ BLOCK_SAMARIUM, BLOCK_SCANDIUM, BLOCK_SHADOWIRON, BLOCK_SHADOWSTEEL, BLOCK_SILICON,
+ BLOCK_SILVER, BLOCK_SOLDERINGALLOY, BLOCK_STAINLESSSTEEL, BLOCK_STEEL, BLOCK_STEELMAGNETIC,
+ BLOCK_STERLINGSILVER },
+ STORAGE_BLOCKS7 = { BLOCK_SUNNARIUM, BLOCK_TANTALUM, BLOCK_TELLURIUM, BLOCK_TERBIUM, BLOCK_THAUMIUM,
+ BLOCK_THORIUM, BLOCK_THULIUM, BLOCK_TIN, BLOCK_TINALLOY, BLOCK_TITANIUM, BLOCK_TRITANIUM,
+ BLOCK_TUNGSTEN, BLOCK_TUNGSTENSTEEL, BLOCK_ULTIMET, BLOCK_URANIUM, BLOCK_URANIUM235 },
+ STORAGE_BLOCKS8 = { BLOCK_VANADIUM, BLOCK_VANADIUMGALLIUM, BLOCK_WROUGHTIRON, BLOCK_YTTRBIUM,
+ BLOCK_YTTRIUM, BLOCK_YTTRIUMBARIUMCUPRATE, BLOCK_ZINC, BLOCK_TUNGSTENCARBIDE,
+ BLOCK_VANADIUMSTEEL, BLOCK_HSSG, BLOCK_HSSE, BLOCK_HSSS, BLOCK_STEELEAF, BLOCK_ICHORIUM,
+ BLOCK_FIRESTONE, BLOCK_SHADOW },
+ STORAGE_BLOCKS9 = { BLOCK_AERCRYSTAL, BLOCK_AMBER, BLOCK_AMETHYST, BLOCK_AQUACRYSTAL, BLOCK_BLUETOPAZ,
+ BLOCK_CERTUSQUARTZ, BLOCK_DILITHIUM, BLOCK_ENDEREYE, BLOCK_ENDERPEARL, BLOCK_FOOLSRUBY,
+ BLOCK_FORCE, BLOCK_FORCICIUM, BLOCK_FORCILLIUM, BLOCK_GREENSAPPHIRE, BLOCK_IGNISCRYSTAL,
+ BLOCK_JASPER },
+ STORAGE_BLOCKS10 = { BLOCK_LAZURITE, BLOCK_LIGNITE, BLOCK_MONAZITE, BLOCK_NITER, BLOCK_OLIVINE,
+ BLOCK_OPAL, BLOCK_ORDOCRYSTAL, BLOCK_PERDITIOCRYSTAL, BLOCK_PHOSPHORUS, BLOCK_QUARTZITE,
+ BLOCK_REDGARNET, BLOCK_RUBY, BLOCK_SAPPHIRE, BLOCK_SODALITE, BLOCK_TANZANITE,
+ BLOCK_TERRACRYSTAL },
+ STORAGE_BLOCKS11 = { BLOCK_TOPAZ, BLOCK_VINTEUM, BLOCK_YELLOWGARNET, BLOCK_NETHERSTAR, BLOCK_CHARCOAL,
+ BLOCK_BLAZE },
+ STORAGE_BLOCKS12 = { BLOCK_CRYOLITE, BLOCK_SILICONSG, BLOCK_NICKELALUMINIUM, BLOCK_SPACETIME,
+ BLOCK_TRANSCENDENTMETAL, BLOCK_ORIHARUKON, BLOCK_WHITEDWARFMATTER, BLOCK_BLACKDWARFMATTER, };
public static final ITexture[] HIDDEN_TEXTURE = {
- TextureFactory.builder().addIcon(HIDDEN_FACE).stdOrient().build()
- };
- public static final ITexture[] ERROR_RENDERING = {TextureFactory.of(RENDERING_ERROR)};
+ TextureFactory.builder().addIcon(HIDDEN_FACE).stdOrient().build() };
+ public static final ITexture[] ERROR_RENDERING = { TextureFactory.of(RENDERING_ERROR) };
public static final ITexture[] OVERLAYS_ENERGY_IN = {
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {180, 180, 180, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {220, 220, 220, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {255, 100, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {255, 255, 30, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {128, 128, 128, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {240, 240, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {220, 220, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {200, 200, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {180, 180, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {160, 160, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {140, 140, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {120, 120, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {100, 100, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {80, 80, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {60, 60, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN, new short[] {40, 40, 245, 0}),
- };
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 180, 180, 180, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 220, 220, 220, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 255, 100, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 255, 255, 30, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 128, 128, 128, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 240, 240, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 220, 220, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 200, 200, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 180, 180, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 160, 160, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 140, 140, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 120, 120, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 100, 100, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 80, 80, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 60, 60, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN, new short[] { 40, 40, 245, 0 }), };
public static ITexture[] OVERLAYS_ENERGY_OUT = {
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {180, 180, 180, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {220, 220, 220, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {255, 100, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {255, 255, 30, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {128, 128, 128, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {240, 240, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {220, 220, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {200, 200, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {180, 180, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {160, 160, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {140, 140, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {120, 120, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {100, 100, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {80, 80, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {60, 60, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] {40, 40, 245, 0}),
- };
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 180, 180, 180, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 220, 220, 220, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 255, 100, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 255, 255, 30, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 128, 128, 128, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 240, 240, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 220, 220, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 200, 200, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 180, 180, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 160, 160, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 140, 140, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 120, 120, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 100, 100, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 80, 80, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 60, 60, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT, new short[] { 40, 40, 245, 0 }), };
public static final ITexture[] OVERLAYS_ENERGY_IN_MULTI = {
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {180, 180, 180, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {220, 220, 220, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {255, 100, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {255, 255, 30, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {128, 128, 128, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {240, 240, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {220, 220, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {200, 200, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {180, 180, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {160, 160, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {140, 140, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {120, 120, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {100, 100, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {80, 80, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {60, 60, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] {40, 40, 245, 0}),
- };
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 180, 180, 180, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 220, 220, 220, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 255, 100, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 255, 255, 30, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 128, 128, 128, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 240, 240, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 220, 220, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 200, 200, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 180, 180, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 160, 160, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 140, 140, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 120, 120, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 100, 100, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 80, 80, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 60, 60, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_MULTI, new short[] { 40, 40, 245, 0 }), };
public static final ITexture[] OVERLAYS_ENERGY_IN_MULTI_WIRELESS_ON = {
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] {255, 255, 255, 0}),
- };
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_ON_WIRELESS, new short[] { 255, 255, 255, 0 }), };
public static final ITexture[] OVERLAYS_ENERGY_IN_MULTI_WIRELESS_OFF = {
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] {0, 0, 0, 0}),
- };
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OFF_WIRELESS, new short[] { 0, 0, 0, 0 }), };
public static final ITexture[] OVERLAYS_ENERGY_OUT_MULTI = {
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {180, 180, 180, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {220, 220, 220, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {255, 100, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {255, 255, 30, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {128, 128, 128, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {240, 240, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {220, 220, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {200, 200, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {180, 180, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {160, 160, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {140, 140, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {120, 120, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {100, 100, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {80, 80, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {60, 60, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] {40, 40, 245, 0}),
- };
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 180, 180, 180, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 220, 220, 220, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 255, 100, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 255, 255, 30, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 128, 128, 128, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 240, 240, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 220, 220, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 200, 200, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 180, 180, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 160, 160, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 140, 140, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 120, 120, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 100, 100, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 80, 80, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 60, 60, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_MULTI, new short[] { 40, 40, 245, 0 }), };
public static final ITexture[] OVERLAYS_ENERGY_IN_POWER = {
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {180, 180, 180, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {220, 220, 220, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {255, 100, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {255, 255, 30, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {128, 128, 128, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {240, 240, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {220, 220, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {200, 200, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {180, 180, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {160, 160, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {140, 140, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {120, 120, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {100, 100, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {80, 80, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {60, 60, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] {40, 40, 245, 0}),
- };
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 180, 180, 180, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 220, 220, 220, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 255, 100, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 255, 255, 30, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 128, 128, 128, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 240, 240, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 220, 220, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 200, 200, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 180, 180, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 160, 160, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 140, 140, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 120, 120, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 100, 100, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 80, 80, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 60, 60, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_IN_POWER, new short[] { 40, 40, 245, 0 }), };
public static final ITexture[] OVERLAYS_ENERGY_OUT_POWER = {
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {180, 180, 180, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {220, 220, 220, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {255, 100, 0, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {255, 255, 30, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {128, 128, 128, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {240, 240, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {220, 220, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {200, 200, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {180, 180, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {160, 160, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {140, 140, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {120, 120, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {100, 100, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {80, 80, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {60, 60, 245, 0}),
- TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] {40, 40, 245, 0}),
- };
- public static final ITexture[] LOCKERS = {
- TextureFactory.of(OVERLAY_LOCKER_000),
- TextureFactory.of(OVERLAY_LOCKER_001),
- TextureFactory.of(OVERLAY_LOCKER_002),
- TextureFactory.of(OVERLAY_LOCKER_003),
- TextureFactory.of(OVERLAY_LOCKER_004),
- TextureFactory.of(OVERLAY_LOCKER_005),
- TextureFactory.of(OVERLAY_LOCKER_006),
- TextureFactory.of(OVERLAY_LOCKER_007),
- TextureFactory.of(OVERLAY_LOCKER_008),
- TextureFactory.of(OVERLAY_LOCKER_009),
- TextureFactory.of(OVERLAY_LOCKER_010),
- TextureFactory.of(OVERLAY_LOCKER_011),
- TextureFactory.of(OVERLAY_LOCKER_012),
- TextureFactory.of(OVERLAY_LOCKER_013),
- };
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 180, 180, 180, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 220, 220, 220, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 255, 100, 0, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 255, 255, 30, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 128, 128, 128, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 240, 240, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 220, 220, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 200, 200, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 180, 180, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 160, 160, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 140, 140, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 120, 120, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 100, 100, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 80, 80, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 60, 60, 245, 0 }),
+ TextureFactory.of(OVERLAY_ENERGY_OUT_POWER, new short[] { 40, 40, 245, 0 }), };
+ public static final ITexture[] LOCKERS = { TextureFactory.of(OVERLAY_LOCKER_000),
+ TextureFactory.of(OVERLAY_LOCKER_001), TextureFactory.of(OVERLAY_LOCKER_002),
+ TextureFactory.of(OVERLAY_LOCKER_003), TextureFactory.of(OVERLAY_LOCKER_004),
+ TextureFactory.of(OVERLAY_LOCKER_005), TextureFactory.of(OVERLAY_LOCKER_006),
+ TextureFactory.of(OVERLAY_LOCKER_007), TextureFactory.of(OVERLAY_LOCKER_008),
+ TextureFactory.of(OVERLAY_LOCKER_009), TextureFactory.of(OVERLAY_LOCKER_010),
+ TextureFactory.of(OVERLAY_LOCKER_011), TextureFactory.of(OVERLAY_LOCKER_012),
+ TextureFactory.of(OVERLAY_LOCKER_013), };
/**
* USE casingTexturePages[page] instead of CASING_BLOCKS since it is casingTexturePages[0]
*/
@@ -2109,28 +1655,23 @@ public class Textures {
public static ITexture[][] MACHINE_CASINGS = new ITexture[15][17];
/**
- * by Default pages are null
- * page 0: 0-63 GT casing 1-4, 64-127 GT++
- * page 1: 0-15 GT casing 5, 22-26 GS dyson swarm, 48-57 GT casing 8, 63 EMT, 80-95 GT reinforced blocks,
- * 96 casing 2 meta 6, 97 error casing
- * page 8: 0-111 TecTech, 112-127 GT casing 6
- * page 12: 0-127 GlodBlock
- * page 42: 0-126 glee8e, 127 KekzTech LSC base
+ * by Default pages are null page 0: 0-63 GT casing 1-4, 64-127 GT++ page 1: 0-15 GT casing 5, 22-26 GS dyson
+ * swarm, 48-57 GT casing 8, 63 EMT, 80-95 GT reinforced blocks, 96 casing 2 meta 6, 97 error casing page 8:
+ * 0-111 TecTech, 112-127 GT casing 6 page 12: 0-127 GlodBlock page 42: 0-126 glee8e, 127 KekzTech LSC base
*/
- public static ITexture[][] casingTexturePages =
- new ITexture[128][]; // page holder so we don't make an short long array
+ public static ITexture[][] casingTexturePages = new ITexture[128][]; // page holder so we don't make an short
+ // long array
public static final int ERROR_TEXTURE_INDEX = (1 << 7) + 97;
private static final Map<ITexture, Integer> reverseMap = new HashMap<>();
static {
for (byte i = 0; i < MACHINE_CASINGS.length; i++)
- for (byte j = 0; j < MACHINE_CASINGS[i].length; j++)
- MACHINE_CASINGS[i][j] = TextureFactory.of(
- MACHINECASINGS_BOTTOM[i],
- MACHINECASINGS_TOP[i],
- MACHINECASINGS_SIDE[i],
- Dyes.getModulation(j - 1, Dyes.MACHINE_METAL.mRGBa));
+ for (byte j = 0; j < MACHINE_CASINGS[i].length; j++) MACHINE_CASINGS[i][j] = TextureFactory.of(
+ MACHINECASINGS_BOTTOM[i],
+ MACHINECASINGS_TOP[i],
+ MACHINECASINGS_SIDE[i],
+ Dyes.getModulation(j - 1, Dyes.MACHINE_METAL.mRGBa));
casingTexturePages[0] = new ITexture[128];
// adds some known pages, modders also can do it...
GT_Utility.addTexturePage((byte) 1);
@@ -2186,6 +1727,7 @@ public class Textures {
}
public static class CustomIcon implements IIconContainer, Runnable {
+
protected IIcon mIcon;
protected String mIconName;
@@ -2217,6 +1759,7 @@ public class Textures {
}
public enum ItemIcons implements IIconContainer, Runnable {
+
VOID, // The Empty Texture
RENDERING_ERROR,
WRENCH,
@@ -2272,33 +1815,14 @@ public class Textures {
POCKET_MULTITOOL_WIRECUTTER,
HALO,
HALO_FUZZY;
- public static final IIconContainer[]
- DURABILITY_BAR =
- {
- DURABILITY_BAR_0,
- DURABILITY_BAR_1,
- DURABILITY_BAR_2,
- DURABILITY_BAR_3,
- DURABILITY_BAR_4,
- DURABILITY_BAR_5,
- DURABILITY_BAR_6,
- DURABILITY_BAR_7,
- DURABILITY_BAR_8,
- },
- ENERGY_BAR =
- {
- ENERGY_BAR_0,
- ENERGY_BAR_1,
- ENERGY_BAR_2,
- ENERGY_BAR_3,
- ENERGY_BAR_4,
- ENERGY_BAR_5,
- ENERGY_BAR_6,
- ENERGY_BAR_7,
- ENERGY_BAR_8,
- };
-
- public static final ITexture[] ERROR_RENDERING = {TextureFactory.of(RENDERING_ERROR)};
+
+ public static final IIconContainer[] DURABILITY_BAR = { DURABILITY_BAR_0, DURABILITY_BAR_1, DURABILITY_BAR_2,
+ DURABILITY_BAR_3, DURABILITY_BAR_4, DURABILITY_BAR_5, DURABILITY_BAR_6, DURABILITY_BAR_7,
+ DURABILITY_BAR_8, },
+ ENERGY_BAR = { ENERGY_BAR_0, ENERGY_BAR_1, ENERGY_BAR_2, ENERGY_BAR_3, ENERGY_BAR_4, ENERGY_BAR_5,
+ ENERGY_BAR_6, ENERGY_BAR_7, ENERGY_BAR_8, };
+
+ public static final ITexture[] ERROR_RENDERING = { TextureFactory.of(RENDERING_ERROR) };
protected IIcon mIcon, mOverlay;
@@ -2328,6 +1852,7 @@ public class Textures {
}
public static class CustomIcon implements IIconContainer, Runnable {
+
protected IIcon mIcon, mOverlay;
protected String mIconName;
diff --git a/src/main/java/gregtech/api/enums/Tier.java b/src/main/java/gregtech/api/enums/Tier.java
index 766c381041..3af005750b 100644
--- a/src/main/java/gregtech/api/enums/Tier.java
+++ b/src/main/java/gregtech/api/enums/Tier.java
@@ -7,448 +7,441 @@ import static gregtech.api.enums.GT_Values.V;
*/
public class Tier {
- public static final Tier[]
- ELECTRIC =
- new Tier[] {
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 0,
- V[0],
- 1,
- 1,
- 1,
- Materials.WroughtIron,
- ItemList.Hull_ULV,
- OrePrefixes.cableGt01.get(Materials.Lead),
- OrePrefixes.cableGt04.get(Materials.Lead),
- OrePrefixes.circuit.get(Materials.Primitive),
- OrePrefixes.circuit.get(Materials.Basic)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 1,
- V[1],
- 1,
- 1,
- 1,
- Materials.Steel,
- ItemList.Hull_LV,
- OrePrefixes.cableGt01.get(Materials.Tin),
- OrePrefixes.cableGt04.get(Materials.Tin),
- OrePrefixes.circuit.get(Materials.Basic),
- OrePrefixes.circuit.get(Materials.Good)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 2,
- V[2],
- 1,
- 1,
- 1,
- Materials.Aluminium,
- ItemList.Hull_MV,
- OrePrefixes.cableGt01.get(Materials.AnyCopper),
- OrePrefixes.cableGt04.get(Materials.AnyCopper),
- OrePrefixes.circuit.get(Materials.Good),
- OrePrefixes.circuit.get(Materials.Advanced)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 3,
- V[3],
- 1,
- 1,
- 1,
- Materials.StainlessSteel,
- ItemList.Hull_HV,
- OrePrefixes.cableGt01.get(Materials.Gold),
- OrePrefixes.cableGt04.get(Materials.Gold),
- OrePrefixes.circuit.get(Materials.Advanced),
- OrePrefixes.circuit.get(Materials.Data)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 4,
- V[4],
- 1,
- 1,
- 1,
- Materials.Titanium,
- ItemList.Hull_EV,
- OrePrefixes.cableGt01.get(Materials.Aluminium),
- OrePrefixes.cableGt04.get(Materials.Aluminium),
- OrePrefixes.circuit.get(Materials.Data),
- OrePrefixes.circuit.get(Materials.Elite)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 5,
- V[5],
- 1,
- 1,
- 1,
- Materials.TungstenSteel,
- ItemList.Hull_IV,
- OrePrefixes.cableGt01.get(Materials.Platinum),
- OrePrefixes.cableGt04.get(Materials.Platinum),
- OrePrefixes.circuit.get(Materials.Elite),
- OrePrefixes.circuit.get(Materials.Master)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 6,
- V[6],
- 1,
- 1,
- 1,
- Materials.Chrome,
- ItemList.Hull_LuV,
- OrePrefixes.cableGt01.get(Materials.NiobiumTitanium),
- OrePrefixes.cableGt04.get(Materials.NiobiumTitanium),
- OrePrefixes.circuit.get(Materials.Master),
- OrePrefixes.circuit.get(Materials.Ultimate)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 7,
- V[7],
- 1,
- 1,
- 1,
- Materials.Iridium,
- ItemList.Hull_ZPM,
- OrePrefixes.cableGt01.get(Materials.Naquadah),
- OrePrefixes.cableGt04.get(Materials.Naquadah),
- OrePrefixes.circuit.get(Materials.Ultimate),
- OrePrefixes.circuit.get(Materials.Superconductor)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 8,
- V[8],
- 1,
- 1,
- 1,
- Materials.Osmium,
- ItemList.Hull_UV,
- OrePrefixes.cableGt04.get(Materials.NaquadahAlloy),
- OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
- OrePrefixes.circuit.get(Materials.Superconductor),
- OrePrefixes.circuit.get(Materials.Infinite)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 9,
- V[9],
- 1,
- 1,
- 1,
- Materials.Neutronium,
- ItemList.Hull_MAX,
- OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
- OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
- OrePrefixes.circuit.get(Materials.Infinite),
- OrePrefixes.circuit.get(Materials.Infinite)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 10,
- V[10],
- 1,
- 1,
- 1,
- Materials.Neutronium,
- ItemList.Hull_MAX,
- OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
- OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
- OrePrefixes.circuit.get(Materials.Infinite),
- OrePrefixes.circuit.get(Materials.Infinite)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 11,
- V[11],
- 1,
- 1,
- 1,
- Materials.Neutronium,
- ItemList.Hull_MAX,
- OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
- OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
- OrePrefixes.circuit.get(Materials.Infinite),
- OrePrefixes.circuit.get(Materials.Infinite)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 12,
- V[12],
- 1,
- 1,
- 1,
- Materials.Neutronium,
- ItemList.Hull_MAX,
- OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
- OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
- OrePrefixes.circuit.get(Materials.Infinite),
- OrePrefixes.circuit.get(Materials.Infinite)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 13,
- V[13],
- 1,
- 1,
- 1,
- Materials.Neutronium,
- ItemList.Hull_MAX,
- OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
- OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
- OrePrefixes.circuit.get(Materials.Infinite),
- OrePrefixes.circuit.get(Materials.Infinite)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 14,
- V[14],
- 1,
- 1,
- 1,
- Materials.Neutronium,
- ItemList.Hull_MAX,
- OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
- OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
- OrePrefixes.circuit.get(Materials.Infinite),
- OrePrefixes.circuit.get(Materials.Infinite)),
- new Tier(
- SubTag.ENERGY_ELECTRICITY,
- 15,
- V[15],
- 1,
- 1,
- 1,
- Materials.Neutronium,
- ItemList.Hull_MAX,
- OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
- OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
- OrePrefixes.circuit.get(Materials.Infinite),
- OrePrefixes.circuit.get(Materials.Infinite)),
+ public static final Tier[] ELECTRIC = new Tier[] {
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 0,
+ V[0],
+ 1,
+ 1,
+ 1,
+ Materials.WroughtIron,
+ ItemList.Hull_ULV,
+ OrePrefixes.cableGt01.get(Materials.Lead),
+ OrePrefixes.cableGt04.get(Materials.Lead),
+ OrePrefixes.circuit.get(Materials.Primitive),
+ OrePrefixes.circuit.get(Materials.Basic)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 1,
+ V[1],
+ 1,
+ 1,
+ 1,
+ Materials.Steel,
+ ItemList.Hull_LV,
+ OrePrefixes.cableGt01.get(Materials.Tin),
+ OrePrefixes.cableGt04.get(Materials.Tin),
+ OrePrefixes.circuit.get(Materials.Basic),
+ OrePrefixes.circuit.get(Materials.Good)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 2,
+ V[2],
+ 1,
+ 1,
+ 1,
+ Materials.Aluminium,
+ ItemList.Hull_MV,
+ OrePrefixes.cableGt01.get(Materials.AnyCopper),
+ OrePrefixes.cableGt04.get(Materials.AnyCopper),
+ OrePrefixes.circuit.get(Materials.Good),
+ OrePrefixes.circuit.get(Materials.Advanced)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 3,
+ V[3],
+ 1,
+ 1,
+ 1,
+ Materials.StainlessSteel,
+ ItemList.Hull_HV,
+ OrePrefixes.cableGt01.get(Materials.Gold),
+ OrePrefixes.cableGt04.get(Materials.Gold),
+ OrePrefixes.circuit.get(Materials.Advanced),
+ OrePrefixes.circuit.get(Materials.Data)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 4,
+ V[4],
+ 1,
+ 1,
+ 1,
+ Materials.Titanium,
+ ItemList.Hull_EV,
+ OrePrefixes.cableGt01.get(Materials.Aluminium),
+ OrePrefixes.cableGt04.get(Materials.Aluminium),
+ OrePrefixes.circuit.get(Materials.Data),
+ OrePrefixes.circuit.get(Materials.Elite)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 5,
+ V[5],
+ 1,
+ 1,
+ 1,
+ Materials.TungstenSteel,
+ ItemList.Hull_IV,
+ OrePrefixes.cableGt01.get(Materials.Platinum),
+ OrePrefixes.cableGt04.get(Materials.Platinum),
+ OrePrefixes.circuit.get(Materials.Elite),
+ OrePrefixes.circuit.get(Materials.Master)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 6,
+ V[6],
+ 1,
+ 1,
+ 1,
+ Materials.Chrome,
+ ItemList.Hull_LuV,
+ OrePrefixes.cableGt01.get(Materials.NiobiumTitanium),
+ OrePrefixes.cableGt04.get(Materials.NiobiumTitanium),
+ OrePrefixes.circuit.get(Materials.Master),
+ OrePrefixes.circuit.get(Materials.Ultimate)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 7,
+ V[7],
+ 1,
+ 1,
+ 1,
+ Materials.Iridium,
+ ItemList.Hull_ZPM,
+ OrePrefixes.cableGt01.get(Materials.Naquadah),
+ OrePrefixes.cableGt04.get(Materials.Naquadah),
+ OrePrefixes.circuit.get(Materials.Ultimate),
+ OrePrefixes.circuit.get(Materials.Superconductor)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 8,
+ V[8],
+ 1,
+ 1,
+ 1,
+ Materials.Osmium,
+ ItemList.Hull_UV,
+ OrePrefixes.cableGt04.get(Materials.NaquadahAlloy),
+ OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
+ OrePrefixes.circuit.get(Materials.Superconductor),
+ OrePrefixes.circuit.get(Materials.Infinite)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 9,
+ V[9],
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ ItemList.Hull_MAX,
+ OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
+ OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
+ OrePrefixes.circuit.get(Materials.Infinite),
+ OrePrefixes.circuit.get(Materials.Infinite)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 10,
+ V[10],
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ ItemList.Hull_MAX,
+ OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
+ OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
+ OrePrefixes.circuit.get(Materials.Infinite),
+ OrePrefixes.circuit.get(Materials.Infinite)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 11,
+ V[11],
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ ItemList.Hull_MAX,
+ OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
+ OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
+ OrePrefixes.circuit.get(Materials.Infinite),
+ OrePrefixes.circuit.get(Materials.Infinite)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 12,
+ V[12],
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ ItemList.Hull_MAX,
+ OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
+ OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
+ OrePrefixes.circuit.get(Materials.Infinite),
+ OrePrefixes.circuit.get(Materials.Infinite)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 13,
+ V[13],
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ ItemList.Hull_MAX,
+ OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
+ OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
+ OrePrefixes.circuit.get(Materials.Infinite),
+ OrePrefixes.circuit.get(Materials.Infinite)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 14,
+ V[14],
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ ItemList.Hull_MAX,
+ OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
+ OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
+ OrePrefixes.circuit.get(Materials.Infinite),
+ OrePrefixes.circuit.get(Materials.Infinite)),
+ new Tier(
+ SubTag.ENERGY_ELECTRICITY,
+ 15,
+ V[15],
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ ItemList.Hull_MAX,
+ OrePrefixes.wireGt01.get(Materials.SuperconductorUHV),
+ OrePrefixes.wireGt04.get(Materials.SuperconductorUHV),
+ OrePrefixes.circuit.get(Materials.Infinite),
+ OrePrefixes.circuit.get(Materials.Infinite)),
- // READ GT_VALUES CLASS BEFORE YOU START ADDING STUFF TO TIERS 8+ - and probably dont do it in
- // GT but in GTNH core mod - that way we shouldnt need to set the tier class
- },
- ROTATIONAL =
- new Tier[] {
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 1,
- 32,
- 1,
- 1,
- 1,
- Materials.Wood,
- OrePrefixes.frameGt.get(Materials.Wood),
- OrePrefixes.stick.get(Materials.Wood),
- OrePrefixes.ingot.get(Materials.Wood),
- OrePrefixes.gearGt.get(Materials.Wood),
- OrePrefixes.gearGt.get(Materials.Stone)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 1,
- 32,
- 1,
- 2,
- 2,
- Materials.WoodSealed,
- OrePrefixes.frameGt.get(Materials.WoodSealed),
- OrePrefixes.stick.get(Materials.WoodSealed),
- OrePrefixes.ingot.get(Materials.WoodSealed),
- OrePrefixes.gearGt.get(Materials.WoodSealed),
- OrePrefixes.gearGt.get(Materials.Stone)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 2,
- 128,
- 1,
- 1,
- 1,
- Materials.Stone,
- OrePrefixes.frameGt.get(Materials.Stone),
- OrePrefixes.stick.get(Materials.Stone),
- OrePrefixes.ingot.get(Materials.Stone),
- OrePrefixes.gearGt.get(Materials.Stone),
- OrePrefixes.gearGt.get(Materials.Bronze)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 2,
- 128,
- 1,
- 2,
- 2,
- Materials.IronWood,
- OrePrefixes.frameGt.get(Materials.IronWood),
- OrePrefixes.stick.get(Materials.IronWood),
- OrePrefixes.ingot.get(Materials.IronWood),
- OrePrefixes.gearGt.get(Materials.IronWood),
- OrePrefixes.gearGt.get(Materials.Bronze)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 3,
- 512,
- 1,
- 1,
- 1,
- Materials.Bronze,
- OrePrefixes.frameGt.get(Materials.Bronze),
- OrePrefixes.stick.get(Materials.Bronze),
- OrePrefixes.ingot.get(Materials.Bronze),
- OrePrefixes.gearGt.get(Materials.Bronze),
- OrePrefixes.gearGt.get(Materials.Steel)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 3,
- 512,
- 1,
- 2,
- 2,
- Materials.Brass,
- OrePrefixes.frameGt.get(Materials.Brass),
- OrePrefixes.stick.get(Materials.Brass),
- OrePrefixes.ingot.get(Materials.Brass),
- OrePrefixes.gearGt.get(Materials.Brass),
- OrePrefixes.gearGt.get(Materials.Steel)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 4,
- 2048,
- 1,
- 1,
- 1,
- Materials.Steel,
- OrePrefixes.frameGt.get(Materials.Steel),
- OrePrefixes.stick.get(Materials.Steel),
- OrePrefixes.ingot.get(Materials.Steel),
- OrePrefixes.gearGt.get(Materials.Steel),
- OrePrefixes.gearGt.get(Materials.TungstenSteel)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 4,
- 2048,
- 1,
- 2,
- 2,
- Materials.Titanium,
- OrePrefixes.frameGt.get(Materials.Titanium),
- OrePrefixes.stick.get(Materials.Titanium),
- OrePrefixes.ingot.get(Materials.Titanium),
- OrePrefixes.gearGt.get(Materials.Titanium),
- OrePrefixes.gearGt.get(Materials.TungstenSteel)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 5,
- 8192,
- 1,
- 1,
- 1,
- Materials.TungstenSteel,
- OrePrefixes.frameGt.get(Materials.TungstenSteel),
- OrePrefixes.stick.get(Materials.TungstenSteel),
- OrePrefixes.ingot.get(Materials.TungstenSteel),
- OrePrefixes.gearGt.get(Materials.TungstenSteel),
- OrePrefixes.gearGt.get(Materials.Iridium)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 6,
- 32768,
- 1,
- 1,
- 1,
- Materials.Iridium,
- OrePrefixes.frameGt.get(Materials.Iridium),
- OrePrefixes.stick.get(Materials.Iridium),
- OrePrefixes.ingot.get(Materials.Iridium),
- OrePrefixes.gearGt.get(Materials.Iridium),
- OrePrefixes.gearGt.get(Materials.Neutronium)),
- new Tier(
- SubTag.ENERGY_ROTATIONAL,
- 9,
- Integer.MAX_VALUE - 7,
- 1,
- 1,
- 1,
- Materials.Neutronium,
- OrePrefixes.frameGt.get(Materials.Neutronium),
- OrePrefixes.stick.get(Materials.Neutronium),
- OrePrefixes.ingot.get(Materials.Neutronium),
- OrePrefixes.gearGt.get(Materials.Neutronium),
- OrePrefixes.gearGt.get(Materials.Neutronium)),
- },
- STEAM =
- new Tier[] {
- new Tier(
- SubTag.ENERGY_STEAM,
- 1,
- 32,
- 1,
- 1,
- 1,
- Materials.Bronze,
- OrePrefixes.frameGt.get(Materials.Bronze),
- OrePrefixes.pipeMedium.get(Materials.Bronze),
- OrePrefixes.pipeHuge.get(Materials.Bronze),
- OrePrefixes.pipeMedium.get(Materials.Bronze),
- OrePrefixes.pipeLarge.get(Materials.Bronze)),
- new Tier(
- SubTag.ENERGY_STEAM,
- 2,
- 128,
- 1,
- 1,
- 1,
- Materials.Steel,
- OrePrefixes.frameGt.get(Materials.Steel),
- OrePrefixes.pipeMedium.get(Materials.Steel),
- OrePrefixes.pipeHuge.get(Materials.Steel),
- OrePrefixes.pipeMedium.get(Materials.Steel),
- OrePrefixes.pipeLarge.get(Materials.Steel)),
- new Tier(
- SubTag.ENERGY_STEAM,
- 3,
- 512,
- 1,
- 1,
- 1,
- Materials.Titanium,
- OrePrefixes.frameGt.get(Materials.Titanium),
- OrePrefixes.pipeMedium.get(Materials.Titanium),
- OrePrefixes.pipeHuge.get(Materials.Titanium),
- OrePrefixes.pipeMedium.get(Materials.Titanium),
- OrePrefixes.pipeLarge.get(Materials.Titanium)),
- new Tier(
- SubTag.ENERGY_STEAM,
- 4,
- 2048,
- 1,
- 1,
- 1,
- Materials.TungstenSteel,
- OrePrefixes.frameGt.get(Materials.TungstenSteel),
- OrePrefixes.pipeMedium.get(Materials.TungstenSteel),
- OrePrefixes.pipeHuge.get(Materials.TungstenSteel),
- OrePrefixes.pipeMedium.get(Materials.TungstenSteel),
- OrePrefixes.pipeLarge.get(Materials.TungstenSteel)),
- new Tier(
- SubTag.ENERGY_STEAM,
- 5,
- 8192,
- 1,
- 1,
- 1,
- Materials.Iridium,
- OrePrefixes.frameGt.get(Materials.Iridium),
- OrePrefixes.pipeMedium.get(Materials.Iridium),
- OrePrefixes.pipeHuge.get(Materials.Iridium),
- OrePrefixes.pipeMedium.get(Materials.Iridium),
- OrePrefixes.pipeLarge.get(Materials.Iridium)),
- new Tier(
- SubTag.ENERGY_STEAM,
- 9,
- Integer.MAX_VALUE - 7,
- 1,
- 1,
- 1,
- Materials.Neutronium,
- OrePrefixes.frameGt.get(Materials.Neutronium),
- OrePrefixes.pipeMedium.get(Materials.Neutronium),
- OrePrefixes.pipeHuge.get(Materials.Neutronium),
- OrePrefixes.pipeMedium.get(Materials.Neutronium),
- OrePrefixes.pipeLarge.get(Materials.Neutronium)),
- };
+ // READ GT_VALUES CLASS BEFORE YOU START ADDING STUFF TO TIERS 8+ - and probably dont do it in
+ // GT but in GTNH core mod - that way we shouldnt need to set the tier class
+ }, ROTATIONAL = new Tier[] {
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 1,
+ 32,
+ 1,
+ 1,
+ 1,
+ Materials.Wood,
+ OrePrefixes.frameGt.get(Materials.Wood),
+ OrePrefixes.stick.get(Materials.Wood),
+ OrePrefixes.ingot.get(Materials.Wood),
+ OrePrefixes.gearGt.get(Materials.Wood),
+ OrePrefixes.gearGt.get(Materials.Stone)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 1,
+ 32,
+ 1,
+ 2,
+ 2,
+ Materials.WoodSealed,
+ OrePrefixes.frameGt.get(Materials.WoodSealed),
+ OrePrefixes.stick.get(Materials.WoodSealed),
+ OrePrefixes.ingot.get(Materials.WoodSealed),
+ OrePrefixes.gearGt.get(Materials.WoodSealed),
+ OrePrefixes.gearGt.get(Materials.Stone)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 2,
+ 128,
+ 1,
+ 1,
+ 1,
+ Materials.Stone,
+ OrePrefixes.frameGt.get(Materials.Stone),
+ OrePrefixes.stick.get(Materials.Stone),
+ OrePrefixes.ingot.get(Materials.Stone),
+ OrePrefixes.gearGt.get(Materials.Stone),
+ OrePrefixes.gearGt.get(Materials.Bronze)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 2,
+ 128,
+ 1,
+ 2,
+ 2,
+ Materials.IronWood,
+ OrePrefixes.frameGt.get(Materials.IronWood),
+ OrePrefixes.stick.get(Materials.IronWood),
+ OrePrefixes.ingot.get(Materials.IronWood),
+ OrePrefixes.gearGt.get(Materials.IronWood),
+ OrePrefixes.gearGt.get(Materials.Bronze)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 3,
+ 512,
+ 1,
+ 1,
+ 1,
+ Materials.Bronze,
+ OrePrefixes.frameGt.get(Materials.Bronze),
+ OrePrefixes.stick.get(Materials.Bronze),
+ OrePrefixes.ingot.get(Materials.Bronze),
+ OrePrefixes.gearGt.get(Materials.Bronze),
+ OrePrefixes.gearGt.get(Materials.Steel)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 3,
+ 512,
+ 1,
+ 2,
+ 2,
+ Materials.Brass,
+ OrePrefixes.frameGt.get(Materials.Brass),
+ OrePrefixes.stick.get(Materials.Brass),
+ OrePrefixes.ingot.get(Materials.Brass),
+ OrePrefixes.gearGt.get(Materials.Brass),
+ OrePrefixes.gearGt.get(Materials.Steel)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 4,
+ 2048,
+ 1,
+ 1,
+ 1,
+ Materials.Steel,
+ OrePrefixes.frameGt.get(Materials.Steel),
+ OrePrefixes.stick.get(Materials.Steel),
+ OrePrefixes.ingot.get(Materials.Steel),
+ OrePrefixes.gearGt.get(Materials.Steel),
+ OrePrefixes.gearGt.get(Materials.TungstenSteel)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 4,
+ 2048,
+ 1,
+ 2,
+ 2,
+ Materials.Titanium,
+ OrePrefixes.frameGt.get(Materials.Titanium),
+ OrePrefixes.stick.get(Materials.Titanium),
+ OrePrefixes.ingot.get(Materials.Titanium),
+ OrePrefixes.gearGt.get(Materials.Titanium),
+ OrePrefixes.gearGt.get(Materials.TungstenSteel)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 5,
+ 8192,
+ 1,
+ 1,
+ 1,
+ Materials.TungstenSteel,
+ OrePrefixes.frameGt.get(Materials.TungstenSteel),
+ OrePrefixes.stick.get(Materials.TungstenSteel),
+ OrePrefixes.ingot.get(Materials.TungstenSteel),
+ OrePrefixes.gearGt.get(Materials.TungstenSteel),
+ OrePrefixes.gearGt.get(Materials.Iridium)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 6,
+ 32768,
+ 1,
+ 1,
+ 1,
+ Materials.Iridium,
+ OrePrefixes.frameGt.get(Materials.Iridium),
+ OrePrefixes.stick.get(Materials.Iridium),
+ OrePrefixes.ingot.get(Materials.Iridium),
+ OrePrefixes.gearGt.get(Materials.Iridium),
+ OrePrefixes.gearGt.get(Materials.Neutronium)),
+ new Tier(
+ SubTag.ENERGY_ROTATIONAL,
+ 9,
+ Integer.MAX_VALUE - 7,
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ OrePrefixes.frameGt.get(Materials.Neutronium),
+ OrePrefixes.stick.get(Materials.Neutronium),
+ OrePrefixes.ingot.get(Materials.Neutronium),
+ OrePrefixes.gearGt.get(Materials.Neutronium),
+ OrePrefixes.gearGt.get(Materials.Neutronium)), },
+ STEAM = new Tier[] {
+ new Tier(
+ SubTag.ENERGY_STEAM,
+ 1,
+ 32,
+ 1,
+ 1,
+ 1,
+ Materials.Bronze,
+ OrePrefixes.frameGt.get(Materials.Bronze),
+ OrePrefixes.pipeMedium.get(Materials.Bronze),
+ OrePrefixes.pipeHuge.get(Materials.Bronze),
+ OrePrefixes.pipeMedium.get(Materials.Bronze),
+ OrePrefixes.pipeLarge.get(Materials.Bronze)),
+ new Tier(
+ SubTag.ENERGY_STEAM,
+ 2,
+ 128,
+ 1,
+ 1,
+ 1,
+ Materials.Steel,
+ OrePrefixes.frameGt.get(Materials.Steel),
+ OrePrefixes.pipeMedium.get(Materials.Steel),
+ OrePrefixes.pipeHuge.get(Materials.Steel),
+ OrePrefixes.pipeMedium.get(Materials.Steel),
+ OrePrefixes.pipeLarge.get(Materials.Steel)),
+ new Tier(
+ SubTag.ENERGY_STEAM,
+ 3,
+ 512,
+ 1,
+ 1,
+ 1,
+ Materials.Titanium,
+ OrePrefixes.frameGt.get(Materials.Titanium),
+ OrePrefixes.pipeMedium.get(Materials.Titanium),
+ OrePrefixes.pipeHuge.get(Materials.Titanium),
+ OrePrefixes.pipeMedium.get(Materials.Titanium),
+ OrePrefixes.pipeLarge.get(Materials.Titanium)),
+ new Tier(
+ SubTag.ENERGY_STEAM,
+ 4,
+ 2048,
+ 1,
+ 1,
+ 1,
+ Materials.TungstenSteel,
+ OrePrefixes.frameGt.get(Materials.TungstenSteel),
+ OrePrefixes.pipeMedium.get(Materials.TungstenSteel),
+ OrePrefixes.pipeHuge.get(Materials.TungstenSteel),
+ OrePrefixes.pipeMedium.get(Materials.TungstenSteel),
+ OrePrefixes.pipeLarge.get(Materials.TungstenSteel)),
+ new Tier(
+ SubTag.ENERGY_STEAM,
+ 5,
+ 8192,
+ 1,
+ 1,
+ 1,
+ Materials.Iridium,
+ OrePrefixes.frameGt.get(Materials.Iridium),
+ OrePrefixes.pipeMedium.get(Materials.Iridium),
+ OrePrefixes.pipeHuge.get(Materials.Iridium),
+ OrePrefixes.pipeMedium.get(Materials.Iridium),
+ OrePrefixes.pipeLarge.get(Materials.Iridium)),
+ new Tier(
+ SubTag.ENERGY_STEAM,
+ 9,
+ Integer.MAX_VALUE - 7,
+ 1,
+ 1,
+ 1,
+ Materials.Neutronium,
+ OrePrefixes.frameGt.get(Materials.Neutronium),
+ OrePrefixes.pipeMedium.get(Materials.Neutronium),
+ OrePrefixes.pipeHuge.get(Materials.Neutronium),
+ OrePrefixes.pipeMedium.get(Materials.Neutronium),
+ OrePrefixes.pipeLarge.get(Materials.Neutronium)), };
/**
* Used for Crafting Recipes
*/
@@ -459,19 +452,9 @@ public class Tier {
private final long mPrimaryValue, mSecondaryValue, mSpeedMultiplier, mEnergyCostMultiplier;
private final Materials mMaterial;
- public Tier(
- SubTag aType,
- int aRank,
- long aPrimaryValue,
- long aSecondaryValue,
- long aSpeedMultiplier,
- long aEnergyCostMultiplier,
- Materials aMaterial,
- Object aHullObject,
- Object aConductingObject,
- Object aLargerConductingObject,
- Object aManagingObject,
- Object aBetterManagingObject) {
+ public Tier(SubTag aType, int aRank, long aPrimaryValue, long aSecondaryValue, long aSpeedMultiplier,
+ long aEnergyCostMultiplier, Materials aMaterial, Object aHullObject, Object aConductingObject,
+ Object aLargerConductingObject, Object aManagingObject, Object aBetterManagingObject) {
mType = aType;
mRank = (byte) aRank;
mPrimaryValue = aPrimaryValue;
diff --git a/src/main/java/gregtech/api/enums/TierEU.java b/src/main/java/gregtech/api/enums/TierEU.java
index 0c920c1bb0..419580f92d 100644
--- a/src/main/java/gregtech/api/enums/TierEU.java
+++ b/src/main/java/gregtech/api/enums/TierEU.java
@@ -23,7 +23,7 @@ public class TierEU {
public static final long UXV = V[13];
public static final long MAX = V[14];
- // Use me for recipes.
+ // Use me for recipes.
public static final long RECIPE_ULV = GT_Values.VP[0];
public static final long RECIPE_LV = GT_Values.VP[1];
public static final long RECIPE_MV = GT_Values.VP[2];
diff --git a/src/main/java/gregtech/api/enums/ToolDictNames.java b/src/main/java/gregtech/api/enums/ToolDictNames.java
index 27e297de5e..9b1c3e594a 100644
--- a/src/main/java/gregtech/api/enums/ToolDictNames.java
+++ b/src/main/java/gregtech/api/enums/ToolDictNames.java
@@ -1,6 +1,7 @@
package gregtech.api.enums;
public enum ToolDictNames {
+
craftingToolSaw,
craftingToolHoe,
craftingToolAxe,