Class TemperatureRecordComponent

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

public final class TemperatureRecordComponent extends Object
Stores the codec and default value for temperature record components
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<TemperatureRecord> CODEC
      The codec of this component is identical to that of TemperatureRecord.
    • DEFAULT

      public static final TemperatureRecord DEFAULT
      The default temperature value, a comfortable 20C / 68F.