From 852cb6413004cf6459d812c30bc2c8e7e419d5c6 Mon Sep 17 00:00:00 2001 From: Jakub <53441451+kuba6000@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:01:30 +0200 Subject: Add interface to implement Bee effects that can be accelerated (#1460) * Add IAlleleBeeAcceleratableEffect * Still feeling the rainbow * Use float * NBT * No more gendustry * Production modifier is counted from 0 now * Extract bee cycles length * spotless --- src/main/java/gregtech/api/util/GT_ApiaryModifier.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/main/java/gregtech/api/util') diff --git a/src/main/java/gregtech/api/util/GT_ApiaryModifier.java b/src/main/java/gregtech/api/util/GT_ApiaryModifier.java index 9df7bf9a7b..eee97a4458 100644 --- a/src/main/java/gregtech/api/util/GT_ApiaryModifier.java +++ b/src/main/java/gregtech/api/util/GT_ApiaryModifier.java @@ -3,20 +3,20 @@ package gregtech.api.util; import net.minecraft.world.biome.BiomeGenBase; public class GT_ApiaryModifier { - public float territory = 1.0F; - public float mutation = 1.0F; - public float lifespan = 1.0F; - public float production = 1.0F; - public float flowering = 1.0F; - public float geneticDecay = 1.0F; + public float territory = 1f; + public float mutation = 1f; + public float lifespan = 1f; + public float production = 0f; + public float flowering = 1f; + public float geneticDecay = 1f; public boolean isSealed = false; public boolean isSelfLighted = false; public boolean isSunlightSimulated = false; public boolean isAutomated = false; public boolean isCollectingPollen = false; public BiomeGenBase biomeOverride = null; - public float energy = 1.0F; - public float temperature = 0.0F; - public float humidity = 0.0F; + public float energy = 1f; + public float temperature = 0f; + public float humidity = 0f; public int maxSpeed = 0; } -- cgit