mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 20:22:35 +00:00
Rename color and flower enum entities to UPPER_CASE Refactoring FlowerSpecies Added some localization
This commit is contained in:
1 parent
542dbb15b0
commit
263a4f3bfc
16 files changed
+3402
-3302
No files matched your search
@@ -559,25 +559,25 @@ public class TileEntityFlower extends TileEntity implements IPollinatable, IButt
|
||||
|
||||
public int getPrimaryColor() {
|
||||
return (renderInfo == null) ?
|
||||
EnumFlowerColor.Red.getColor(false) :
|
||||
EnumFlowerColor.RED.getColor(false) :
|
||||
renderInfo.primary.getColor(isWilted());
|
||||
}
|
||||
|
||||
public int getSecondaryColor() {
|
||||
return (renderInfo == null) ?
|
||||
EnumFlowerColor.Red.getColor(false) :
|
||||
EnumFlowerColor.RED.getColor(false) :
|
||||
renderInfo.secondary.getColor(isWilted());
|
||||
}
|
||||
|
||||
public int getStemColour() {
|
||||
return (renderInfo == null) ?
|
||||
EnumFlowerColor.Green.getColor(false) :
|
||||
EnumFlowerColor.GREEN.getColor(false) :
|
||||
renderInfo.stem.getColor(isWilted());
|
||||
}
|
||||
|
||||
public IFlowerType getType() {
|
||||
return (renderInfo == null) ?
|
||||
EnumFlowerType.Poppy :
|
||||
EnumFlowerType.POPPY :
|
||||
renderInfo.type;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user