Class LivingEntityEnvironmentEvents

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

public final class LivingEntityEnvironmentEvents extends Object
Events relevant to entity ticking in the environment
  • Field Details

    • TICK_IN_HEATED_LOCATION

      public static final net.fabricmc.fabric.api.event.Event<LivingEntityEnvironmentEvents.TemperatureChangeEventCallback> TICK_IN_HEATED_LOCATION
      Invoked on each entity in a heated location
    • TICK_HEAT_EFFECTS

      public static final net.fabricmc.fabric.api.event.Event<LivingEntityEnvironmentEvents.TemperatureChangeEventCallback> TICK_HEAT_EFFECTS
      Invoked on each living entity every tick, primarily for the purpose of tracking temperature changes from entity-related effects such as being on fire or being in powder snow.

      The result will contain the on fire warmth change as its initial change; however this value will be 0 if the entity is not on fire.

      Is not invoked on spectators

    • TICK_IN_WET_LOCATION

      public static final net.fabricmc.fabric.api.event.Event<LivingEntityEnvironmentEvents.SoakChangeEventCallback> TICK_IN_WET_LOCATION
      Invoked when an entity is in a wet location

      Is not invoked on spectators