mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
Clean Up Climate Bar
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user