mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-26 15:03:14 +00:00
Remove unnecessary modifiers from enums and interfaces
This commit is contained in:
1 parent
55c58cf5d9
commit
507b8fa2d6
80 files changed
+106
-106
No files matched your search
@@ -51,7 +51,7 @@ public enum EnumHiveFrame implements IHiveFrame, IBeeModifier {
|
||||
this.maxDamage = damage;
|
||||
}
|
||||
|
||||
private EnumHiveFrame() {
|
||||
EnumHiveFrame() {
|
||||
this.maxDamage = 240;
|
||||
this.logic = new BeeModifierLogic();
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ public enum IndustrialFrame implements IBeeModifier {
|
||||
int wearMod;
|
||||
int power;
|
||||
|
||||
private IndustrialFrame(final String name, final int wear, final int power) {
|
||||
IndustrialFrame(final String name, final int wear, final int power) {
|
||||
this.territoryMod = 1.0f;
|
||||
this.mutationMod = 1.0f;
|
||||
this.lifespanMod = 1.0f;
|
||||
|
||||
@@ -21,7 +21,7 @@ public enum AlvearyMachine implements IMachineType {
|
||||
|
||||
Class<? extends MachinePackage> clss;
|
||||
|
||||
private AlvearyMachine(final Class<? extends MachinePackage> clss) {
|
||||
AlvearyMachine(final Class<? extends MachinePackage> clss) {
|
||||
this.clss = clss;
|
||||
}
|
||||
|
||||
|
||||
@@ -318,7 +318,7 @@ public class AlvearyStimulator {
|
||||
public int power;
|
||||
BeeModifierLogic logic;
|
||||
|
||||
private CircuitType(final int recipe, final int power) {
|
||||
CircuitType(final int recipe, final int power) {
|
||||
this.logic = new BeeModifierLogic();
|
||||
this.recipe = recipe;
|
||||
this.power = power;
|
||||
|
||||
@@ -106,7 +106,7 @@ public enum ExtraBeeItems implements IItemMisc {
|
||||
RecipeManagers.carpenterManager.addRecipe(100, Binnie.Liquid.getLiquidStack("for.honey", 500), (ItemStack) null, ExtraBeeItems.ScentedGear.get(1), new Object[]{" j ", "bgb", " p ", 'j', Mods.Forestry.item("royalJelly"), 'b', Mods.Forestry.item("beeswax"), 'p', Mods.Forestry.item("pollen"), 'g', gear});
|
||||
}
|
||||
|
||||
private ExtraBeeItems(final String name, final String iconPath) {
|
||||
ExtraBeeItems(final String name, final String iconPath) {
|
||||
this.metalString = null;
|
||||
this.gemString = null;
|
||||
this.name = name;
|
||||
|
||||
@@ -23,7 +23,7 @@ public enum ExtraBeeTexture implements IBinnieTexture {
|
||||
String texture;
|
||||
ResourceType type;
|
||||
|
||||
private ExtraBeeTexture(final ResourceType base, final String texture) {
|
||||
ExtraBeeTexture(final ResourceType base, final String texture) {
|
||||
this.texture = texture;
|
||||
this.type = base;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public enum ExtraBeesBranch implements IClassification {
|
||||
return ExtraBees.proxy.localiseOrBlank("branch." + this.toString().toLowerCase() + ".desc");
|
||||
}
|
||||
|
||||
private ExtraBeesBranch(final String scientific) {
|
||||
ExtraBeesBranch(final String scientific) {
|
||||
this.uid = "";
|
||||
this.scientific = "";
|
||||
this.speciesSet = new LinkedHashSet<>();
|
||||
|
||||
@@ -33,7 +33,7 @@ public enum ExtraBeesFlowers implements IFlowerProvider, IAlleleFlowers, IChromo
|
||||
|
||||
boolean dominant;
|
||||
|
||||
private ExtraBeesFlowers() {
|
||||
ExtraBeesFlowers() {
|
||||
this.dominant = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -175,7 +175,7 @@ public enum ExtraBeesSpecies implements IAlleleBeeSpecies {
|
||||
public State state;
|
||||
boolean nocturnal;
|
||||
|
||||
private ExtraBeesSpecies(final String binomial, final int colour) {
|
||||
ExtraBeesSpecies(final String binomial, final int colour) {
|
||||
this.primaryColor = 16777215;
|
||||
this.secondaryColor = 16768022;
|
||||
this.temperature = EnumTemperature.NORMAL;
|
||||
@@ -199,7 +199,7 @@ public enum ExtraBeesSpecies implements IAlleleBeeSpecies {
|
||||
this.primaryColor = colour;
|
||||
}
|
||||
|
||||
private ExtraBeesSpecies() {
|
||||
ExtraBeesSpecies() {
|
||||
this.primaryColor = 16777215;
|
||||
this.secondaryColor = 16768022;
|
||||
this.temperature = EnumTemperature.NORMAL;
|
||||
|
||||
@@ -77,7 +77,7 @@ public enum ExtraBeesEffect implements IAlleleBeeEffect {
|
||||
private String uid;
|
||||
static List<Birthday> birthdays;
|
||||
|
||||
private ExtraBeesEffect() {
|
||||
ExtraBeesEffect() {
|
||||
this.fx = "";
|
||||
this.uid = this.toString().toLowerCase();
|
||||
this.combinable = false;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class WindowApiaristDatabase extends WindowAbstractDatabase {
|
||||
|
||||
public int colour;
|
||||
|
||||
private SpeciesTab(final int colour) {
|
||||
SpeciesTab(final int colour) {
|
||||
this.colour = colour;
|
||||
}
|
||||
}
|
||||
@@ -62,7 +62,7 @@ public class WindowApiaristDatabase extends WindowAbstractDatabase {
|
||||
|
||||
public int colour;
|
||||
|
||||
private BranchesTab(final int colour) {
|
||||
BranchesTab(final int colour) {
|
||||
this.colour = colour;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ public enum ExtraBeeLiquid implements ILiquidType {
|
||||
// IIcon icon;
|
||||
int colour;
|
||||
|
||||
private ExtraBeeLiquid(final String ident, final int colour) {
|
||||
ExtraBeeLiquid(final String ident, final int colour) {
|
||||
this.ident = ident;
|
||||
this.colour = colour;
|
||||
}
|
||||
|
||||
@@ -102,13 +102,13 @@ public enum EnumHoneyComb implements IItemEnum {
|
||||
boolean active;
|
||||
public boolean deprecated;
|
||||
|
||||
private EnumHoneyComb() {
|
||||
EnumHoneyComb() {
|
||||
this(16777215, 16777215);
|
||||
this.active = false;
|
||||
this.deprecated = true;
|
||||
}
|
||||
|
||||
private EnumHoneyComb(final int colour, final int colour2) {
|
||||
EnumHoneyComb(final int colour, final int colour2) {
|
||||
this.colour = new int[0];
|
||||
this.products = new LinkedHashMap<>();
|
||||
this.active = true;
|
||||
|
||||
@@ -49,11 +49,11 @@ public enum EnumHoneyDrop implements IItemEnum {
|
||||
this.deprecated = true;
|
||||
}
|
||||
|
||||
private EnumHoneyDrop() {
|
||||
EnumHoneyDrop() {
|
||||
this(16777215, 16777215, "");
|
||||
}
|
||||
|
||||
private EnumHoneyDrop(final int colour, final int colour2, final String liquid) {
|
||||
EnumHoneyDrop(final int colour, final int colour2, final String liquid) {
|
||||
this.liquidName = "";
|
||||
this.remenant = null;
|
||||
this.deprecated = false;
|
||||
|
||||
@@ -23,12 +23,12 @@ public enum EnumPropolis implements IItemEnum {
|
||||
String liquidName;
|
||||
boolean active;
|
||||
|
||||
private EnumPropolis() {
|
||||
EnumPropolis() {
|
||||
this(16777215, 16777215, "");
|
||||
this.active = false;
|
||||
}
|
||||
|
||||
private EnumPropolis(final int colour, final int colour2, final String liquid) {
|
||||
EnumPropolis(final int colour, final int colour2, final String liquid) {
|
||||
this.colour = new int[0];
|
||||
this.active = true;
|
||||
this.colour = new int[]{colour, colour2};
|
||||
|
||||
@@ -14,7 +14,7 @@ public enum EnumHiveType implements IStringSerializable {
|
||||
|
||||
public List<IHiveDrop> drops;
|
||||
|
||||
private EnumHiveType() {
|
||||
EnumHiveType() {
|
||||
this.drops = new ArrayList<>();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user