Class PlayerEnvironmentEvents
java.lang.Object
com.github.thedeathlycow.thermoo.api.temperature.event.PlayerEnvironmentEvents
Events relevant to player ticking and passive temperature changes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.event.Event<PlayerEnvironmentEvents.TemperatureChangeEventCallback> Called to check that a player is vulnerable to passive temperature changes. -
Method Summary
-
Field Details
-
CAN_APPLY_PASSIVE_TEMPERATURE_CHANGE
public static final net.fabricmc.fabric.api.event.Event<PlayerEnvironmentEvents.TemperatureChangeEventCallback> CAN_APPLY_PASSIVE_TEMPERATURE_CHANGECalled to check that a player is vulnerable to passive temperature changes.If any listener returns anything other than
TriState.DEFAULT, then further processing is cancelled and the event will return that value.By default, this event returns
TriState.TRUE
-