Class AtmosphericPressureComponent

java.lang.Object
com.github.thedeathlycow.thermoo.api.environment.v2.component.AtmosphericPressureComponent

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

    • CODEC

      public static final com.mojang.serialization.Codec<Double> CODEC
      A double codec that requires positive values.
    • DEFAULT

      public static final double DEFAULT
      The default atmospheric pressure, 1013.25mbar or exactly 1 standard atmosphere.
      See Also: