Class PlayerEnvironmentEvents

java.lang.Object
com.github.thedeathlycow.thermoo.api.temperature.event.PlayerEnvironmentEvents

public final class PlayerEnvironmentEvents extends Object
Events relevant to player ticking and passive temperature changes
  • Field Details

    • CAN_APPLY_PASSIVE_TEMPERATURE_CHANGE

      public static final net.fabricmc.fabric.api.event.Event<PlayerEnvironmentEvents.TemperatureChangeEventCallback> CAN_APPLY_PASSIVE_TEMPERATURE_CHANGE
      Called 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