Class TemperatureRecordComponent
java.lang.Object
com.github.thedeathlycow.thermoo.api.environment.component.TemperatureRecordComponent
Stores the codec and default value for temperature record components
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TemperatureRecord> The codec of this component is identical to that ofTemperatureRecord.static final TemperatureRecordThe default temperature value, a comfortable 20C / 68F. -
Method Summary
-
Field Details
-
CODEC
The codec of this component is identical to that ofTemperatureRecord. -
DEFAULT
The default temperature value, a comfortable 20C / 68F.
-