aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/forestry/bees/handler
diff options
context:
space:
mode:
authorRaven Szewczyk <git@eigenraven.me>2024-05-24 19:04:17 +0100
committerRaven Szewczyk <git@eigenraven.me>2024-05-24 19:04:17 +0100
commit69ce418e29e22391f60cdd55815727762a78c33a (patch)
tree97be683e94b8a541d7578760a154f16d4dea38e2 /src/main/java/gtPlusPlus/xmod/forestry/bees/handler
parent38f38a991e433f6eff30476b87a71eeadee228ce (diff)
downloadGT5-Unofficial-69ce418e29e22391f60cdd55815727762a78c33a.tar.gz
GT5-Unofficial-69ce418e29e22391f60cdd55815727762a78c33a.tar.bz2
GT5-Unofficial-69ce418e29e22391f60cdd55815727762a78c33a.zip
Apply updated GT5u spotless configs
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/forestry/bees/handler')
-rw-r--r--src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java7
-rw-r--r--src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java7
-rw-r--r--src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java7
-rw-r--r--src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java7
4 files changed, 20 insertions, 8 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java
index 4bc47fa7bd..31b14ed4e6 100644
--- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java
+++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java
@@ -32,12 +32,15 @@ public enum GTPP_CombType {
GTPP_CombType(int aID, String aName, boolean aShow, int aChance, int... aColour) {
this.mID = aID;
this.mName = aName;
- this.mNameUnlocal = aName.toLowerCase().replaceAll(" ", "");
+ this.mNameUnlocal = aName.toLowerCase()
+ .replaceAll(" ", "");
this.mChance = aChance;
this.mShowInList = aShow;
this.mColour = aColour;
map(aID, this);
- this.mMaterial = GTPP_Bees.sMaterialMappings.get(aName.toLowerCase().replaceAll(" ", ""));
+ this.mMaterial = GTPP_Bees.sMaterialMappings.get(
+ aName.toLowerCase()
+ .replaceAll(" ", ""));
GT_LanguageManager.addStringLocalization("gtplusplus.comb." + this.mNameUnlocal, this.mName + " Comb");
}
diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java
index 6f43d4a43e..9819c586cd 100644
--- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java
+++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java
@@ -32,11 +32,14 @@ public enum GTPP_DropType {
private GTPP_DropType(int aID, String aName, boolean aShow, int... aColour) {
this.mID = aID;
this.mName = aName;
- this.mNameUnlocal = aName.toLowerCase().replaceAll(" ", "");
+ this.mNameUnlocal = aName.toLowerCase()
+ .replaceAll(" ", "");
this.mShowInList = aShow;
this.mColour = aColour;
map(aID, this);
- this.mMaterial = GTPP_Bees.sMaterialMappings.get(aName.toLowerCase().replaceAll(" ", ""));
+ this.mMaterial = GTPP_Bees.sMaterialMappings.get(
+ aName.toLowerCase()
+ .replaceAll(" ", ""));
GT_LanguageManager.addStringLocalization("gtplusplus.drop." + this.mNameUnlocal, this.mName + " Drop");
}
diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java
index acca5b810f..66451c7581 100644
--- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java
+++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java
@@ -31,11 +31,14 @@ public enum GTPP_PollenType {
private GTPP_PollenType(int aID, String aName, boolean aShow, int... aColour) {
this.mID = aID;
this.mName = aName;
- this.mNameUnlocal = aName.toLowerCase().replaceAll(" ", "");
+ this.mNameUnlocal = aName.toLowerCase()
+ .replaceAll(" ", "");
this.mShowInList = aShow;
this.mColour = aColour;
map(aID, this);
- this.mMaterial = GTPP_Bees.sMaterialMappings.get(aName.toLowerCase().replaceAll(" ", ""));
+ this.mMaterial = GTPP_Bees.sMaterialMappings.get(
+ aName.toLowerCase()
+ .replaceAll(" ", ""));
GT_LanguageManager.addStringLocalization("gtplusplus.pollen." + this.mNameUnlocal, this.mName + " Pollen");
}
diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java
index b76d79d387..eb3b617077 100644
--- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java
+++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java
@@ -32,11 +32,14 @@ public enum GTPP_PropolisType {
private GTPP_PropolisType(int aID, String aName, boolean aShow, int aColour) {
this.mID = aID;
this.mName = aName;
- this.mNameUnlocal = aName.toLowerCase().replaceAll(" ", "");
+ this.mNameUnlocal = aName.toLowerCase()
+ .replaceAll(" ", "");
this.mShowInList = aShow;
this.mColour = aColour;
map(aID, this);
- this.mMaterial = GTPP_Bees.sMaterialMappings.get(aName.toLowerCase().replaceAll(" ", ""));
+ this.mMaterial = GTPP_Bees.sMaterialMappings.get(
+ aName.toLowerCase()
+ .replaceAll(" ", ""));
GT_LanguageManager.addStringLocalization("gtplusplus.propolis." + this.mNameUnlocal, this.mName + " Propolis");
}