Interface LivingEntitySoakingTickEvents.GetSoakingChange
- Enclosing class:
LivingEntitySoakingTickEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionintaddChange(EnvironmentTickContext<? extends net.minecraft.world.entity.LivingEntity> context) Calculates the soaking tick change that this listener wants to add to a living entity this tick.
-
Method Details
-
addChange
Calculates the soaking tick change that this listener wants to add to a living entity this tick.- Parameters:
context- Context of the living entity for the tick.- Returns:
- Return the soaking tick change that this listener wants to apply to the entity in the context. This value is added to the values supplied by the other listeners.
-