mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-25 22:44:38 +00:00
Improve code readability in binnie.extrabees package and other packages
* Improve code readability in binnie.extrabees package and other packages * Fix compile error after refactoring
This commit is contained in:
1 parent
b609d6688f
commit
c09ad04284
95 files changed
+3916
-3900
No files matched your search
@@ -18,13 +18,13 @@ public enum GeneticLiquid implements IFluidType {
|
||||
protected String name;
|
||||
protected String ident;
|
||||
protected IIcon icon;
|
||||
protected int colour;
|
||||
protected int color;
|
||||
protected float transparency;
|
||||
|
||||
GeneticLiquid(String name, String ident, int colour) {
|
||||
GeneticLiquid(String name, String ident, int color) {
|
||||
this.name = name;
|
||||
this.ident = ident;
|
||||
this.colour = colour;
|
||||
this.color = color;
|
||||
transparency = 1.0f;
|
||||
}
|
||||
|
||||
@@ -54,13 +54,13 @@ public enum GeneticLiquid implements IFluidType {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getColour() {
|
||||
public int getColor() {
|
||||
return 0xffffff;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getContainerColour() {
|
||||
return colour;
|
||||
return color;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -75,7 +75,8 @@ public enum GeneticLiquid implements IFluidType {
|
||||
|
||||
@Override
|
||||
public boolean canPlaceIn(FluidContainer container) {
|
||||
return this == GeneticLiquid.GrowthMedium || container == FluidContainer.Cylinder;
|
||||
return this == GeneticLiquid.GrowthMedium
|
||||
|| container == FluidContainer.Cylinder;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user