Class RelativeHumidityComponent

java.lang.Object
com.github.thedeathlycow.thermoo.api.environment.component.RelativeHumidityComponent

public final class RelativeHumidityComponent extends Object
Stores the codec and default value for EnvironmentComponentTypes.RELATIVE_HUMIDITY
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<Double> CODEC
      A double codec that restricts values to a 0-1 percentage scale
    • DEFAULT

      public static final double DEFAULT
      The default relative humidity, a comfortable 50%
      See Also: