diff options
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/forestry/bees/handler')
| -rw-r--r-- | src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPCombType.java (renamed from src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java) | 14 | ||||
| -rw-r--r-- | src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPDropType.java (renamed from src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java) | 14 | ||||
| -rw-r--r-- | src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPPollenType.java (renamed from src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java) | 14 | ||||
| -rw-r--r-- | src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPPropolisType.java (renamed from src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java) | 14 |
4 files changed, 28 insertions, 28 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPCombType.java index be1aa48d3c..6c594fc83a 100644 --- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java +++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPCombType.java @@ -2,12 +2,12 @@ package gtPlusPlus.xmod.forestry.bees.handler; import net.minecraft.item.ItemStack; -import gregtech.api.util.GT_LanguageManager; +import gregtech.api.util.GTLanguageManager; import gtPlusPlus.core.material.Material; import gtPlusPlus.core.util.Utils; import gtPlusPlus.xmod.forestry.bees.registry.GTPP_Bees; -public enum GTPP_CombType { +public enum GTPPCombType { DRAGONBLOOD(0, "Dragonblood", true, 30, Utils.rgbtoHexValue(220, 20, 20), Utils.rgbtoHexValue(20, 20, 20)), FORCE(1, "Force", true, 30, Utils.rgbtoHexValue(250, 250, 20), Utils.rgbtoHexValue(200, 200, 5)); @@ -21,15 +21,15 @@ public enum GTPP_CombType { private final String mNameUnlocal; private final int[] mColour; - private static void map(int aId, GTPP_CombType aType) { + private static void map(int aId, GTPPCombType aType) { GTPP_Bees.sCombMappings.put(aId, aType); } - public static GTPP_CombType get(int aID) { + public static GTPPCombType get(int aID) { return GTPP_Bees.sCombMappings.get(aID); } - GTPP_CombType(int aID, String aName, boolean aShow, int aChance, int... aColour) { + GTPPCombType(int aID, String aName, boolean aShow, int aChance, int... aColour) { this.mID = aID; this.mName = aName; this.mNameUnlocal = aName.toLowerCase() @@ -41,7 +41,7 @@ public enum GTPP_CombType { this.mMaterial = GTPP_Bees.sMaterialMappings.get( aName.toLowerCase() .replaceAll(" ", "")); - GT_LanguageManager.addStringLocalization("gtplusplus.comb." + this.mNameUnlocal, this.mName + " Comb"); + GTLanguageManager.addStringLocalization("gtplusplus.comb." + this.mNameUnlocal, this.mName + " Comb"); } public void setHidden() { @@ -49,7 +49,7 @@ public enum GTPP_CombType { } public String getName() { - return GT_LanguageManager.getTranslation("gtplusplus.comb." + this.mNameUnlocal); + return GTLanguageManager.getTranslation("gtplusplus.comb." + this.mNameUnlocal); } public int[] getColours() { diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPDropType.java index 089b8cebf1..0ae34d599c 100644 --- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java +++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPDropType.java @@ -2,12 +2,12 @@ package gtPlusPlus.xmod.forestry.bees.handler; import net.minecraft.item.ItemStack; -import gregtech.api.util.GT_LanguageManager; +import gregtech.api.util.GTLanguageManager; import gtPlusPlus.core.material.Material; import gtPlusPlus.core.util.Utils; import gtPlusPlus.xmod.forestry.bees.registry.GTPP_Bees; -public enum GTPP_DropType { +public enum GTPPDropType { DRAGONBLOOD(0, "Dragonblood", true, Utils.rgbtoHexValue(220, 20, 20), Utils.rgbtoHexValue(20, 20, 20)), FORCE(1, "Force", true, Utils.rgbtoHexValue(250, 250, 20), Utils.rgbtoHexValue(200, 200, 5)); @@ -21,15 +21,15 @@ public enum GTPP_DropType { private final String mNameUnlocal; private final int[] mColour; - private static void map(int aId, GTPP_DropType aType) { + private static void map(int aId, GTPPDropType aType) { GTPP_Bees.sDropMappings.put(aId, aType); } - public static GTPP_DropType get(int aID) { + public static GTPPDropType get(int aID) { return GTPP_Bees.sDropMappings.get(aID); } - private GTPP_DropType(int aID, String aName, boolean aShow, int... aColour) { + private GTPPDropType(int aID, String aName, boolean aShow, int... aColour) { this.mID = aID; this.mName = aName; this.mNameUnlocal = aName.toLowerCase() @@ -40,7 +40,7 @@ public enum GTPP_DropType { this.mMaterial = GTPP_Bees.sMaterialMappings.get( aName.toLowerCase() .replaceAll(" ", "")); - GT_LanguageManager.addStringLocalization("gtplusplus.drop." + this.mNameUnlocal, this.mName + " Drop"); + GTLanguageManager.addStringLocalization("gtplusplus.drop." + this.mNameUnlocal, this.mName + " Drop"); } public void setHidden() { @@ -48,7 +48,7 @@ public enum GTPP_DropType { } public String getName() { - return GT_LanguageManager.getTranslation("gtplusplus.drop." + this.mNameUnlocal); + return GTLanguageManager.getTranslation("gtplusplus.drop." + this.mNameUnlocal); } public int[] getColours() { diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPPollenType.java index 56a8f37daf..08b8f84dca 100644 --- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java +++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPPollenType.java @@ -2,12 +2,12 @@ package gtPlusPlus.xmod.forestry.bees.handler; import net.minecraft.item.ItemStack; -import gregtech.api.util.GT_LanguageManager; +import gregtech.api.util.GTLanguageManager; import gtPlusPlus.core.material.Material; import gtPlusPlus.core.util.Utils; import gtPlusPlus.xmod.forestry.bees.registry.GTPP_Bees; -public enum GTPP_PollenType { +public enum GTPPPollenType { DRAGONBLOOD(0, "Dragonblood", true, Utils.rgbtoHexValue(220, 20, 20), Utils.rgbtoHexValue(20, 20, 20)); @@ -20,15 +20,15 @@ public enum GTPP_PollenType { private final String mNameUnlocal; private final int[] mColour; - private static void map(int aId, GTPP_PollenType aType) { + private static void map(int aId, GTPPPollenType aType) { GTPP_Bees.sPollenMappings.put(aId, aType); } - public static GTPP_PollenType get(int aID) { + public static GTPPPollenType get(int aID) { return GTPP_Bees.sPollenMappings.get(aID); } - private GTPP_PollenType(int aID, String aName, boolean aShow, int... aColour) { + private GTPPPollenType(int aID, String aName, boolean aShow, int... aColour) { this.mID = aID; this.mName = aName; this.mNameUnlocal = aName.toLowerCase() @@ -39,7 +39,7 @@ public enum GTPP_PollenType { this.mMaterial = GTPP_Bees.sMaterialMappings.get( aName.toLowerCase() .replaceAll(" ", "")); - GT_LanguageManager.addStringLocalization("gtplusplus.pollen." + this.mNameUnlocal, this.mName + " Pollen"); + GTLanguageManager.addStringLocalization("gtplusplus.pollen." + this.mNameUnlocal, this.mName + " Pollen"); } public void setHidden() { @@ -47,7 +47,7 @@ public enum GTPP_PollenType { } public String getName() { - return GT_LanguageManager.getTranslation("gtplusplus.pollen." + this.mNameUnlocal); + return GTLanguageManager.getTranslation("gtplusplus.pollen." + this.mNameUnlocal); } public int[] getColours() { diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPPropolisType.java index fc70d6232e..f97da9f4df 100644 --- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java +++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPPPropolisType.java @@ -2,12 +2,12 @@ package gtPlusPlus.xmod.forestry.bees.handler; import net.minecraft.item.ItemStack; -import gregtech.api.util.GT_LanguageManager; +import gregtech.api.util.GTLanguageManager; import gtPlusPlus.core.material.Material; import gtPlusPlus.core.util.Utils; import gtPlusPlus.xmod.forestry.bees.registry.GTPP_Bees; -public enum GTPP_PropolisType { +public enum GTPPPropolisType { DRAGONBLOOD(0, "Dragonblood", true, Utils.rgbtoHexValue(220, 20, 20)), FORCE(1, "Force", true, Utils.rgbtoHexValue(250, 250, 20)); @@ -21,15 +21,15 @@ public enum GTPP_PropolisType { private final String mNameUnlocal; private final int mColour; - private static void map(int aId, GTPP_PropolisType aType) { + private static void map(int aId, GTPPPropolisType aType) { GTPP_Bees.sPropolisMappings.put(aId, aType); } - public static GTPP_PropolisType get(int aID) { + public static GTPPPropolisType get(int aID) { return GTPP_Bees.sPropolisMappings.get(aID); } - private GTPP_PropolisType(int aID, String aName, boolean aShow, int aColour) { + private GTPPPropolisType(int aID, String aName, boolean aShow, int aColour) { this.mID = aID; this.mName = aName; this.mNameUnlocal = aName.toLowerCase() @@ -40,7 +40,7 @@ public enum GTPP_PropolisType { this.mMaterial = GTPP_Bees.sMaterialMappings.get( aName.toLowerCase() .replaceAll(" ", "")); - GT_LanguageManager.addStringLocalization("gtplusplus.propolis." + this.mNameUnlocal, this.mName + " Propolis"); + GTLanguageManager.addStringLocalization("gtplusplus.propolis." + this.mNameUnlocal, this.mName + " Propolis"); } public void setHidden() { @@ -48,7 +48,7 @@ public enum GTPP_PropolisType { } public String getName() { - return GT_LanguageManager.getTranslation("gtplusplus.propolis." + this.mNameUnlocal); + return GTLanguageManager.getTranslation("gtplusplus.propolis." + this.mNameUnlocal); } public int getColours() { |
