Clean Up Climate Bar

This commit is contained in:
Nedelosk committed 2017-09-01 12:49:29 +02:00
1 parent 0a2ca1febc
commit 6d774de5a6
14 files changed
+89 -86

No files matched your search

@@ -7,7 +7,7 @@ import net.minecraft.util.math.MathHelper;
public enum ClimateStateType {
IMMUTABLE(0.0F, 2.0F),
MUTABLE(0.0F, 2.0F),
CHANGE(-2.0F, 2.0F);
CHANGE(-3.0F, 3.0F);
public final Function<Float, Float> bounds;
@@ -32,11 +32,7 @@ public interface IClimateState extends INbtWritable {
return type == ClimateType.HUMIDITY ? getHumidity() : getTemperature();
}
IClimateState toImmutable();
IClimateState toMutable();
IClimateState toChange();
IClimateState toState(ClimateStateType type);
IClimateState setTemperature(float temperature);