From 8ac58626bd4caa9e49f58acc6b97ac031f6c2107 Mon Sep 17 00:00:00 2001
From: Raven Szewczyk
Date: Mon, 10 Apr 2023 17:49:16 +0100
Subject: Update spotless config to 0.2.2
---
src/main/java/gregtech/api/enums/Dyes.java | 2 +-
src/main/java/gregtech/api/enums/Element.java | 2 +-
src/main/java/gregtech/api/enums/FluidState.java | 2 +-
.../gregtech/api/enums/GTNH_ExtraMaterials.java | 1144 +++++++--------
.../java/gregtech/api/enums/GT_HatchElement.java | 6 +-
src/main/java/gregtech/api/enums/GT_Values.java | 350 ++---
src/main/java/gregtech/api/enums/ItemList.java | 70 +-
.../java/gregtech/api/enums/MaterialBuilder.java | 56 +-
src/main/java/gregtech/api/enums/Materials.java | 1479 +++++++++-----------
.../java/gregtech/api/enums/MaterialsBotania.java | 374 +++--
.../java/gregtech/api/enums/MaterialsKevlar.java | 1246 ++++++++---------
.../java/gregtech/api/enums/MaterialsOreAlum.java | 148 +-
src/main/java/gregtech/api/enums/Mods.java | 2 +-
src/main/java/gregtech/api/enums/OrePrefixes.java | 1218 ++++++++--------
.../java/gregtech/api/enums/SoundResource.java | 4 +-
src/main/java/gregtech/api/enums/SubTag.java | 4 +-
src/main/java/gregtech/api/enums/TextureSet.java | 104 +-
src/main/java/gregtech/api/enums/Textures.java | 563 ++++----
src/main/java/gregtech/api/enums/Tier.java | 856 +++++------
.../java/gregtech/api/enums/ToolDictNames.java | 2 +-
20 files changed, 3666 insertions(+), 3966 deletions(-)
(limited to 'src/main/java/gregtech/api/enums')
diff --git a/src/main/java/gregtech/api/enums/Dyes.java b/src/main/java/gregtech/api/enums/Dyes.java
index 3b87e9ff67..2970219145 100644
--- a/src/main/java/gregtech/api/enums/Dyes.java
+++ b/src/main/java/gregtech/api/enums/Dyes.java
@@ -43,7 +43,7 @@ public enum Dyes implements IColorModulationContainer {
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 };
+ dyeLightGray, dyeGray, dyePink, dyeLime, dyeYellow, dyeLightBlue, dyeMagenta, dyeOrange, dyeWhite };
public final byte mIndex;
public final String mName;
diff --git a/src/main/java/gregtech/api/enums/Element.java b/src/main/java/gregtech/api/enums/Element.java
index c66b9630a3..b4bcb01a41 100644
--- a/src/main/java/gregtech/api/enums/Element.java
+++ b/src/main/java/gregtech/api/enums/Element.java
@@ -296,7 +296,7 @@ public enum Element {
* @param aName Name of the Element
*/
Element(long aProtons, long aNeutrons, long aAdditionalMass, long aHalfLifeSeconds, String aDecayTo, String aName,
- boolean aIsIsotope) {
+ boolean aIsIsotope) {
mProtons = aProtons;
mNeutrons = aNeutrons;
mAdditionalMass = aAdditionalMass;
diff --git a/src/main/java/gregtech/api/enums/FluidState.java b/src/main/java/gregtech/api/enums/FluidState.java
index e84657cc6a..5f6f8824f5 100644
--- a/src/main/java/gregtech/api/enums/FluidState.java
+++ b/src/main/java/gregtech/api/enums/FluidState.java
@@ -12,6 +12,6 @@ public enum FluidState {
public static FluidState fromValue(int stateValue) {
return stateValue >= 0 && stateValue < FluidState.VALID_STATES.length ? FluidState.VALID_STATES[stateValue]
- : FluidState.LIQUID;
+ : FluidState.LIQUID;
}
}
diff --git a/src/main/java/gregtech/api/enums/GTNH_ExtraMaterials.java b/src/main/java/gregtech/api/enums/GTNH_ExtraMaterials.java
index c0a259197e..0b621d4461 100644
--- a/src/main/java/gregtech/api/enums/GTNH_ExtraMaterials.java
+++ b/src/main/java/gregtech/api/enums/GTNH_ExtraMaterials.java
@@ -15,604 +15,604 @@ public class GTNH_ExtraMaterials implements IMaterialHandler {
* This Class is for adding new Materials since Java has a Limiation of 64kb per Method / Class header
*/
public static Materials Signalum = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1 | 2,
- 255,
- 255,
- 255,
- 0,
- "Signalum",
- "Signalum",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1 | 2,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Signalum",
+ "Signalum",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Lumium = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1 | 2,
- 255,
- 255,
- 255,
- 0,
- "Lumium",
- "Lumium",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1 | 2,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Lumium",
+ "Lumium",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials EnrichedCopper = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1 | 2,
- 255,
- 255,
- 255,
- 0,
- "EnrichedCopper",
- "Enriched Copper",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1 | 2,
+ 255,
+ 255,
+ 255,
+ 0,
+ "EnrichedCopper",
+ "Enriched Copper",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials DiamondCopper = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1 | 2,
- 255,
- 255,
- 255,
- 0,
- "DiamondCopper",
- "Diamond Copper",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1 | 2,
+ 255,
+ 255,
+ 255,
+ 0,
+ "DiamondCopper",
+ "Diamond Copper",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials TarPitch = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1 | 2,
- 255,
- 255,
- 255,
- 0,
- "TarPitch",
- "Tar Pitch",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1 | 2,
+ 255,
+ 255,
+ 255,
+ 0,
+ "TarPitch",
+ "Tar Pitch",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials LimePure = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 0,
- 0,
- 255,
- 255,
- 255,
- 0,
- "LimePure",
- "Pure Lime",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 1,
- 1,
- 1,
- Dyes.dyeLime);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 0,
+ 0,
+ 255,
+ 255,
+ 255,
+ 0,
+ "LimePure",
+ "Pure Lime",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 1,
+ 1,
+ 1,
+ Dyes.dyeLime);
public static Materials Wimalite = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 8,
- 255,
- 255,
- 255,
- 0,
- "Wimalite",
- "Wimalite",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes.dyeYellow);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 8,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Wimalite",
+ "Wimalite",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes.dyeYellow);
public static Materials Yellorite = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 8,
- 255,
- 255,
- 255,
- 0,
- "Yellorite",
- "Yellorite",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes.dyeYellow);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 8,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Yellorite",
+ "Yellorite",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes.dyeYellow);
public static Materials Quantum = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 0,
- 0,
- 255,
- 255,
- 255,
- 0,
- "Quantum",
- "Quantum",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 1,
- 1,
- 1,
- Dyes.dyeWhite);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 0,
+ 0,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Quantum",
+ "Quantum",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 1,
+ 1,
+ 1,
+ Dyes.dyeWhite);
public static Materials Turquoise = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 1,
- 1,
- 255,
- 255,
- 255,
- 0,
- "Turquoise",
- "Turquoise",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 1,
+ 1,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Turquoise",
+ "Turquoise",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Tapazite = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 1,
- 1,
- 255,
- 255,
- 255,
- 0,
- "Tapazite",
- "Tapazite",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes.dyeGreen);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 1,
+ 1,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Tapazite",
+ "Tapazite",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes.dyeGreen);
public static Materials Thyrium = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 1,
- 1 | 2 | 8,
- 255,
- 255,
- 255,
- 0,
- "Thyrium",
- "Thyrium",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 1,
+ 1 | 2 | 8,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Thyrium",
+ "Thyrium",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Tourmaline = new Materials(
- -1,
- TextureSet.SET_RUBY,
- 1.0F,
- 0,
- 1,
- 1,
- 255,
- 255,
- 255,
- 0,
- "Tourmaline",
- "Tourmaline",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_RUBY,
+ 1.0F,
+ 0,
+ 1,
+ 1,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Tourmaline",
+ "Tourmaline",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Spinel = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 1,
- 0,
- 255,
- 255,
- 255,
- 0,
- "Spinel",
- "Spinel",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 1,
+ 0,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Spinel",
+ "Spinel",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Starconium = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 1,
- 1 | 2 | 8,
- 255,
- 255,
- 255,
- 0,
- "Starconium",
- "Starconium",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 1,
+ 1 | 2 | 8,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Starconium",
+ "Starconium",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Sugilite = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 1,
- 1,
- 255,
- 255,
- 255,
- 0,
- "Sugilite",
- "Sugilite",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 1,
+ 1,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Sugilite",
+ "Sugilite",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Prismarine = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1 | 4,
- 255,
- 255,
- 255,
- 0,
- "Prismarine",
- "Prismarine",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1 | 4,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Prismarine",
+ "Prismarine",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials GraveyardDirt = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1,
- 255,
- 255,
- 255,
- 0,
- "GraveyardDirt",
- "Graveyard Dirt",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1,
+ 255,
+ 255,
+ 255,
+ 0,
+ "GraveyardDirt",
+ "Graveyard Dirt",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Tennantite = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1,
- 255,
- 255,
- 255,
- 0,
- "Tennantite",
- "Tennantite",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Tennantite",
+ "Tennantite",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Fairy = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1 | 2,
- 255,
- 255,
- 255,
- 0,
- "Fairy",
- "Fairy",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1 | 2,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Fairy",
+ "Fairy",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Ludicrite = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 1 | 2,
- 255,
- 255,
- 255,
- 0,
- "Ludicrite",
- "Ludicrite",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 1 | 2,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Ludicrite",
+ "Ludicrite",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials AquaRegia = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 0,
- 255,
- 255,
- 255,
- 0,
- "AquaRegia",
- "Aqua Regia",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 0,
+ 255,
+ 255,
+ 255,
+ 0,
+ "AquaRegia",
+ "Aqua Regia",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials SolutionBlueVitriol = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 0,
- 255,
- 255,
- 255,
- 0,
- "SolutionBlueVitriol",
- "Blue Vitriol Solution",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 0,
+ 255,
+ 255,
+ 255,
+ 0,
+ "SolutionBlueVitriol",
+ "Blue Vitriol Solution",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials SolutionNickelSulfate = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 2,
- 0,
- 255,
- 255,
- 255,
- 0,
- "SolutionNickelSulfate",
- "Nickel Sulfate Solution",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 2,
+ 0,
+ 255,
+ 255,
+ 255,
+ 0,
+ "SolutionNickelSulfate",
+ "Nickel Sulfate Solution",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Lodestone = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 1,
- 1 | 8,
- 255,
- 255,
- 255,
- 0,
- "Lodestone",
- "Lodestone",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 1,
- 1,
- 1,
- Dyes._NULL);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 1,
+ 1 | 8,
+ 255,
+ 255,
+ 255,
+ 0,
+ "Lodestone",
+ "Lodestone",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 1,
+ 1,
+ 1,
+ Dyes._NULL);
public static Materials Luminite = new Materials(
- -1,
- TextureSet.SET_NONE,
- 1.0F,
- 0,
- 1,
- 1 | 8,
- 250,
- 250,
- 250,
- 0,
- "Luminite",
- "Luminite",
- 0,
- 0,
- -1,
- 0,
- false,
- false,
- 3,
- 1,
- 1,
- Dyes.dyeWhite);
+ -1,
+ TextureSet.SET_NONE,
+ 1.0F,
+ 0,
+ 1,
+ 1 | 8,
+ 250,
+ 250,
+ 250,
+ 0,
+ "Luminite",
+ "Luminite",
+ 0,
+ 0,
+ -1,
+ 0,
+ false,
+ false,
+ 3,
+ 1,
+ 1,
+ Dyes.dyeWhite);
private static void initSubTags() {
SubTag.METAL.addTo(Signalum, Lumium, EnrichedCopper, DiamondCopper);
diff --git a/src/main/java/gregtech/api/enums/GT_HatchElement.java b/src/main/java/gregtech/api/enums/GT_HatchElement.java
index ac8dc7c4dd..3a21d5a2eb 100644
--- a/src/main/java/gregtech/api/enums/GT_HatchElement.java
+++ b/src/main/java/gregtech/api/enums/GT_HatchElement.java
@@ -28,7 +28,7 @@ public enum GT_HatchElement implements IHatchElement adder,
- Class extends IMetaTileEntity>... mteClasses) {
+ 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 8aca75c6e1..a6a7d6d45c 100644
--- a/src/main/java/gregtech/api/enums/GT_Values.java
+++ b/src/main/java/gregtech/api/enums/GT_Values.java
@@ -47,8 +47,8 @@ public class GT_Values {
*/
@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 };
+ 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"
@@ -78,9 +78,9 @@ 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 };
+ 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
@@ -88,12 +88,12 @@ public class GT_Values {
*/
// 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())
- .toArray();
+ .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.
// TODO:Adding that in coremod!!!
@@ -117,65 +117,65 @@ public class GT_Values {
*
*/
public static final long[] AatV = new long[] { 268435455, 67108863, 16777215, 4194303, 1048575, 262143, 65535,
- 16383, 4095, 1023, 255, 63, 15, 3, 1, 1 };
+ 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
+ "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
+ "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, // UIV, 11
- EnumChatFormatting.RED.toString() + EnumChatFormatting.BOLD + EnumChatFormatting.UNDERLINE, // UMV, 12
- EnumChatFormatting.DARK_RED.toString() + EnumChatFormatting.BOLD + EnumChatFormatting.UNDERLINE, // UXV, 13
- EnumChatFormatting.WHITE.toString() + EnumChatFormatting.BOLD + EnumChatFormatting.UNDERLINE, // MAX, 14
- EnumChatFormatting.OBFUSCATED.toString() // ~~~, 15
+ 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, // UIV, 11
+ EnumChatFormatting.RED.toString() + EnumChatFormatting.BOLD + EnumChatFormatting.UNDERLINE, // UMV, 12
+ EnumChatFormatting.DARK_RED.toString() + EnumChatFormatting.BOLD + EnumChatFormatting.UNDERLINE, // UXV, 13
+ EnumChatFormatting.WHITE.toString() + EnumChatFormatting.BOLD + EnumChatFormatting.UNDERLINE, // MAX, 14
+ EnumChatFormatting.OBFUSCATED.toString() // ~~~, 15
};
/**
@@ -285,64 +285,64 @@ public class GT_Values {
public static final class NBT {
public static final String COLOR = "gt.color", // Integer
- COVERS = "gt.covers", // String
- CUSTOM_NAME = "name", // String
- DISPAY = "gt.display", // String
- TIER = "gt.tier", // Number
- FACING = "gt.facing", // Byte
- LOCK_UPGRADE = "gt.locked", // Boolean
- MATERIAL = "gt.material", // String containing the Material Name.
- MODE = "gt.mode", // Number
- ALLOWED_MODES = "gt.amode", // Number
- MTE_ID = "gt.mte.id", // Containing the MTE ID
- MTE_REG = "gt.mte.reg", // Containing the MTE Registry ID
- OWNER = "gt.owner", // String
- OWNER_UUID = "gt.ownerUuid", // UUID (String)
-
- // Machines
- ACTIVE = "gt.active", // Boolean
- FLUID_OUT = "gt.fluidout", // Output Fluid
- ITEM_OUT = "gt.itemout", // Output Item
- PARALLEL = "gt.parallel", // Number
- TANK_CAPACITY = "gt.tankcap", // Number
- TANK_IN = "gt.tank.in.", // FluidStack
- TANK_OUT = "gt.tank.out.", // FluidStack
- TEXTURE = "gt.texture", // String
- INV_INPUT_SIZE = "gt.invsize.in", // Number
- INV_OUTPUT_SIZE = "gt.invsize.out", // Number
- INV_INPUT_LIST = "gt.invlist.in", // NBT List
- INV_OUTPUT_LIST = "gt.invlist.out", // NBT List
- VOLTAGE = "gt.voltage", // Number
- AMPERAGE = "gt.amperage", // Number
- STORED_ENERGY = "gt.stored.energy", // Number
- MAXIMUM_ENERGY = "gt.maximum.energy", // Number
- EUT_CONSUMPTION = "gt.eut.consumption", // Number
- BURN_TIME_LEFT = "gt.burn.time.left", // Number
- TOTAL_BURN_TIME = "gt.total.burn.time", // Number
- ALLOWED_WORK = "gt.allowed.work", // Boolean
-
- // MultiBlock
- 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
- LOCKED_INVENTORY = "gt.locked.inventory", // String
- LOCKED_INVENTORY_INDEX = "gt.locked.inventory.index", // Number
- UPGRADE_INVENTORY_SIZE = "gt.invsize.upg", // String
- UPGRADE_INVENTORY_UUID = "gt.invuuid.upg", // String
- UPGRADE_INVENTORY_NAME = "gt.invname.upg", // String
- UPGRADE_INVENTORIES_INPUT = "gt.invlist.upg.in", // NBT List
- UPGRADE_INVENTORIES_OUTPUT = "gt.invlist.upg.out", // NBT List
- SEPARATE_INPUTS = "gt.separate.inputs", // Boolean
-
- // Logic
- POWER_LOGIC = "gt.power.logic", // NBT Tag
- POWER_LOGIC_STORED_ENERGY = "gt.power.logic.stored.energy", // Number
- POWER_LOGIC_ENERGY_CAPACITY = "gt.power.logic.energy.capacity", // Number
- POWER_LOGIC_VOLTAGE = "gt.power.logic.voltage", // Number
- POWER_LOGIC_AMPERAGE = "gt.power.logic.voltage", // Number
- POWER_LOGIC_TYPE = "gt.power.logic.type", // Number
- empty_ = "";
+ COVERS = "gt.covers", // String
+ CUSTOM_NAME = "name", // String
+ DISPAY = "gt.display", // String
+ TIER = "gt.tier", // Number
+ FACING = "gt.facing", // Byte
+ LOCK_UPGRADE = "gt.locked", // Boolean
+ MATERIAL = "gt.material", // String containing the Material Name.
+ MODE = "gt.mode", // Number
+ ALLOWED_MODES = "gt.amode", // Number
+ MTE_ID = "gt.mte.id", // Containing the MTE ID
+ MTE_REG = "gt.mte.reg", // Containing the MTE Registry ID
+ OWNER = "gt.owner", // String
+ OWNER_UUID = "gt.ownerUuid", // UUID (String)
+
+ // Machines
+ ACTIVE = "gt.active", // Boolean
+ FLUID_OUT = "gt.fluidout", // Output Fluid
+ ITEM_OUT = "gt.itemout", // Output Item
+ PARALLEL = "gt.parallel", // Number
+ TANK_CAPACITY = "gt.tankcap", // Number
+ TANK_IN = "gt.tank.in.", // FluidStack
+ TANK_OUT = "gt.tank.out.", // FluidStack
+ TEXTURE = "gt.texture", // String
+ INV_INPUT_SIZE = "gt.invsize.in", // Number
+ INV_OUTPUT_SIZE = "gt.invsize.out", // Number
+ INV_INPUT_LIST = "gt.invlist.in", // NBT List
+ INV_OUTPUT_LIST = "gt.invlist.out", // NBT List
+ VOLTAGE = "gt.voltage", // Number
+ AMPERAGE = "gt.amperage", // Number
+ STORED_ENERGY = "gt.stored.energy", // Number
+ MAXIMUM_ENERGY = "gt.maximum.energy", // Number
+ EUT_CONSUMPTION = "gt.eut.consumption", // Number
+ BURN_TIME_LEFT = "gt.burn.time.left", // Number
+ TOTAL_BURN_TIME = "gt.total.burn.time", // Number
+ ALLOWED_WORK = "gt.allowed.work", // Boolean
+
+ // MultiBlock
+ 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
+ LOCKED_INVENTORY = "gt.locked.inventory", // String
+ LOCKED_INVENTORY_INDEX = "gt.locked.inventory.index", // Number
+ UPGRADE_INVENTORY_SIZE = "gt.invsize.upg", // String
+ UPGRADE_INVENTORY_UUID = "gt.invuuid.upg", // String
+ UPGRADE_INVENTORY_NAME = "gt.invname.upg", // String
+ UPGRADE_INVENTORIES_INPUT = "gt.invlist.upg.in", // NBT List
+ UPGRADE_INVENTORIES_OUTPUT = "gt.invlist.upg.out", // NBT List
+ SEPARATE_INPUTS = "gt.separate.inputs", // Boolean
+
+ // Logic
+ POWER_LOGIC = "gt.power.logic", // NBT Tag
+ POWER_LOGIC_STORED_ENERGY = "gt.power.logic.stored.energy", // Number
+ POWER_LOGIC_ENERGY_CAPACITY = "gt.power.logic.energy.capacity", // Number
+ POWER_LOGIC_VOLTAGE = "gt.power.logic.voltage", // Number
+ POWER_LOGIC_AMPERAGE = "gt.power.logic.voltage", // Number
+ POWER_LOGIC_TYPE = "gt.power.logic.type", // Number
+ empty_ = "";
}
/** The Color White as RGB Short Array. */
@@ -358,8 +358,8 @@ public class GT_Values {
// 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;
+ 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 };
@@ -373,13 +373,13 @@ public class GT_Values {
* 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 };
+ VALID_SIDES = { true, true, true, true, true, true, false };
/**
* 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 };
+ OFFZ = { 0, 0, -1, +1, 0, 0, 0 };
/**
* Side->Opposite Mappings.
@@ -391,8 +391,8 @@ public class GT_Values {
* 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 } };
+ { 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.
@@ -530,63 +530,63 @@ public class GT_Values {
* Pretty formatting for author names.
*/
public static final String Colen = "" + EnumChatFormatting.DARK_RED
- + EnumChatFormatting.BOLD
- + EnumChatFormatting.ITALIC
- + EnumChatFormatting.UNDERLINE
- + "C"
- + EnumChatFormatting.GOLD
- + EnumChatFormatting.BOLD
- + EnumChatFormatting.ITALIC
- + EnumChatFormatting.UNDERLINE
- + "o"
- + EnumChatFormatting.GREEN
- + EnumChatFormatting.BOLD
- + EnumChatFormatting.ITALIC
- + EnumChatFormatting.UNDERLINE
- + "l"
- + EnumChatFormatting.DARK_AQUA
- + EnumChatFormatting.BOLD
- + EnumChatFormatting.ITALIC
- + EnumChatFormatting.UNDERLINE
- + "e"
- + EnumChatFormatting.DARK_PURPLE
- + EnumChatFormatting.BOLD
- + EnumChatFormatting.ITALIC
- + EnumChatFormatting.UNDERLINE
- + "n";
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "C"
+ + EnumChatFormatting.GOLD
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "o"
+ + EnumChatFormatting.GREEN
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "l"
+ + EnumChatFormatting.DARK_AQUA
+ + EnumChatFormatting.BOLD
+ + EnumChatFormatting.ITALIC
+ + EnumChatFormatting.UNDERLINE
+ + "e"
+ + EnumChatFormatting.DARK_PURPLE
+ + 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";
+ + 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";
+ + 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) {
@@ -613,9 +613,9 @@ public class GT_Values {
}
private static final long[] EXPLOSION_LOOKUP_V = new long[] { V[0], V[1], V[2], V[3], V[4], V[4] * 2, V[5], V[6],
- V[7], V[8], V[8] * 2, V[9], V[10], V[11], V[12], V[12] * 2, V[13], V[14], V[15] };
+ V[7], V[8], V[8] * 2, V[9], V[10], V[11], V[12], V[12] * 2, V[13], V[14], V[15] };
private static final float[] EXPLOSION_LOOKUP_POWER = new float[] { 1.0F, 2.0F, 3.0F, 4.0F, 5.0F, 6.0F, 7.0F, 8.0F,
- 9.0F, 10.0F, 11.0F, 12.0F, 13.0F, 14.0F, 15.0F, 16.0F, 17.0F, 18.0F, 19.0F, 20.0F };
+ 9.0F, 10.0F, 11.0F, 12.0F, 13.0F, 14.0F, 15.0F, 16.0F, 17.0F, 18.0F, 19.0F, 20.0F };
public static float getExplosionPowerForVoltage(long voltage) {
for (int i = 0; i < EXPLOSION_LOOKUP_V.length; i++) {
diff --git a/src/main/java/gregtech/api/enums/ItemList.java b/src/main/java/gregtech/api/enums/ItemList.java
index b855dbc211..59b094c4c0 100644
--- a/src/main/java/gregtech/api/enums/ItemList.java
+++ b/src/main/java/gregtech/api/enums/ItemList.java
@@ -2023,39 +2023,37 @@ public enum ItemList implements IItemContainer {
Machine_Multi_TranscendentPlasmaMixer;
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 };
+ 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;
+ sToluene, sNitrationMixture, sRocketFuel, sHydricSulfur, sIndiumConcentrate, sLeadZincSolution,
+ sHydrochloricAcid;
private ItemStack mStack;
private boolean mHasNotBeenSet;
private boolean mDeprecated;
@@ -2164,11 +2162,11 @@ public enum ItemList implements IItemContainer {
final String[] tDisplayNameWords = aDisplayName.split("\\W");
for (String tWord : tDisplayNameWords) {
if (tWord.length() > 0) tCamelCasedDisplayNameBuilder.append(
- tWord.substring(0, 1)
- .toUpperCase(Locale.US));
+ tWord.substring(0, 1)
+ .toUpperCase(Locale.US));
if (tWord.length() > 1) tCamelCasedDisplayNameBuilder.append(
- tWord.substring(1)
- .toLowerCase(Locale.US));
+ tWord.substring(1)
+ .toLowerCase(Locale.US));
}
if (tCamelCasedDisplayNameBuilder.length() == 0) {
// CamelCased DisplayName is empty, so use hash of aDisplayName
diff --git a/src/main/java/gregtech/api/enums/MaterialBuilder.java b/src/main/java/gregtech/api/enums/MaterialBuilder.java
index fd131bbc8c..92ae7c07c3 100644
--- a/src/main/java/gregtech/api/enums/MaterialBuilder.java
+++ b/src/main/java/gregtech/api/enums/MaterialBuilder.java
@@ -43,39 +43,39 @@ public class MaterialBuilder {
this.metaItemSubID = metaItemSubID;
this.iconSet = iconSet;
this.name = defaultLocalName.replace(" ", "")
- .replace("-", "");
+ .replace("-", "");
this.defaultLocalName = defaultLocalName;
}
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 3547f8633b..6429756039 100644
--- a/src/main/java/gregtech/api/enums/Materials.java
+++ b/src/main/java/gregtech/api/enums/Materials.java
@@ -980,8 +980,8 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
public Collection 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;
+ 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;
@@ -1011,13 +1011,13 @@ 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,
- mPlasmaMultiplier = 1.0F;
+ mPlasmaMultiplier = 1.0F;
public String mChemicalFormula = "?", mName, mDefaultLocalName, mCustomID = "null", mConfigSection = "null",
- mLocalizedName = "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;
+ 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
@@ -1029,24 +1029,24 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
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) {
+ boolean aUnificatable, String aName, String aDefaultLocalName) {
this(
- aMetaItemSubID,
- aIconSet,
- aToolSpeed,
- aDurability,
- aToolQuality,
- aUnificatable,
- aName,
- aDefaultLocalName,
- "ore",
- false,
- "null");
+ aMetaItemSubID,
+ aIconSet,
+ aToolSpeed,
+ aDurability,
+ aToolQuality,
+ aUnificatable,
+ aName,
+ aDefaultLocalName,
+ "ore",
+ false,
+ "null");
}
public Materials(int aMetaItemSubID, TextureSet aIconSet, float aToolSpeed, int aDurability, int aToolQuality,
- boolean aUnificatable, String aName, String aDefaultLocalName, String aConfigSection, boolean aCustomOre,
- String aCustomID) {
+ boolean aUnificatable, String aName, String aDefaultLocalName, String aConfigSection, boolean aCustomOre,
+ String aCustomID) {
mMetaItemSubID = aMetaItemSubID;
mDefaultLocalName = aDefaultLocalName;
mName = aName;
@@ -1074,68 +1074,67 @@ public class Materials implements IColorModulationContainer, ISubTagContainer {
}
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 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,
- aToolSpeed,
- aDurability,
- aToolQuality,
- aTypes,
- aR,
- aG,
- aB,
- aA,
- aName,
- aDefaultLocalName,
- aFuelType,
- aFuelPower,
- aMeltingPoint,
- aBlastFurnaceTemp,
- aBlastFurnaceRequired,
- aTransparent,
- aOreValue,
- aDensityMultiplier,
- aDensityDivider,
- aColor,
- "ore",
- false,
- "null");
+ aMetaItemSubID,
+ aIconSet,
+ aToolSpeed,
+ aDurability,
+ aToolQuality,
+ aTypes,
+ aR,
+ aG,
+ aB,
+ aA,
+ aName,
+ aDefaultLocalName,
+ aFuelType,
+ aFuelPower,
+ aMeltingPoint,
+ aBlastFurnaceTemp,
+ aBlastFurnaceRequired,
+ aTransparent,
+ aOreValue,
+ aDensityMultiplier,
+ aDensityDivider,
+ aColor,
+ "ore",
+ false,
+ "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,
- String aConfigSection) {
+ 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)