Class LivingEntityEnvironmentEvents
java.lang.Object
com.github.thedeathlycow.thermoo.api.temperature.event.LivingEntityEnvironmentEvents
Events relevant to entity ticking in the environment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceEvent callback for soak change ticksstatic interfaceEvent callback for temperature change ticks -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.event.Event<LivingEntityEnvironmentEvents.TemperatureChangeEventCallback>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.static final net.fabricmc.fabric.api.event.Event<LivingEntityEnvironmentEvents.TemperatureChangeEventCallback>Invoked on each entity in a heated locationstatic final net.fabricmc.fabric.api.event.Event<LivingEntityEnvironmentEvents.SoakChangeEventCallback>Invoked when an entity is in a wet location -
Method Summary
-
Field Details
-
TICK_IN_HEATED_LOCATION
public static final net.fabricmc.fabric.api.event.Event<LivingEntityEnvironmentEvents.TemperatureChangeEventCallback> TICK_IN_HEATED_LOCATIONInvoked on each entity in a heated location -
TICK_HEAT_EFFECTS
public static final net.fabricmc.fabric.api.event.Event<LivingEntityEnvironmentEvents.TemperatureChangeEventCallback> TICK_HEAT_EFFECTSInvoked 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_LOCATIONInvoked when an entity is in a wet locationIs not invoked on spectators
-