mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-25 14:34:33 +00:00
Work on GardenLogic and localize the tubes
This commit is contained in:
1 parent
1cd3dc1ac8
commit
cef5f4963f
16 files changed
+308
-367
No files matched your search
@@ -108,10 +108,17 @@ public class ModuleGardening implements IInitializable {
|
||||
final ItemStack yellow = new ItemStack(Blocks.YELLOW_FLOWER, 1);
|
||||
final ItemStack red = new ItemStack(Blocks.RED_FLOWER, 1);
|
||||
final ItemStack blue = new ItemStack(Blocks.RED_FLOWER, 1, 7);
|
||||
for (final boolean manual : new boolean[]{true, false}) {
|
||||
for (final boolean fertilised : new boolean[]{true, false}) {
|
||||
for (final EnumMoisture moist : EnumMoisture.values()) {
|
||||
final ItemStack icon = (moist == EnumMoisture.Dry) ? yellow : ((moist == EnumMoisture.Normal) ? red : blue);
|
||||
for (boolean manual : new boolean[]{true, false}) {
|
||||
for (boolean fertilised : new boolean[]{true, false}) {
|
||||
for (EnumMoisture moist : EnumMoisture.values()) {
|
||||
ItemStack icon;
|
||||
if(moist == EnumMoisture.Dry){
|
||||
icon = yellow;
|
||||
}else if(moist == EnumMoisture.Normal){
|
||||
icon = red;
|
||||
}else{
|
||||
icon = blue;
|
||||
}
|
||||
int insulate = 2 - moist.ordinal();
|
||||
if (fertilised) {
|
||||
insulate += 3;
|
||||
|
||||
Reference in new issue
Block a user