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 false, then further processing is cancelled and the event will return false.
-