Class LivingEvent.LivingJumpEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
net.neoforged.neoforge.event.entity.living.LivingEvent.LivingJumpEvent
- Enclosing class:
LivingEvent
LivingJumpEvent is fired when a LivingEntity jumps.
This event is fired whenever a LivingEntity jumps in
LivingEntity#jumpFromGround(), MagmaCube#jumpFromGround(),
Slime#jumpFromGround(), Camel#executeRidersJump(),
and AbstractHorse#executeRidersJump().
This event is fired via the CommonHooks.onLivingJump(LivingEntity).
LivingEvent.getEntity()contains the entity that caused this event to occur.
This event is not cancellable, and is fired on the game event bus.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingVisibilityEventNested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.Size -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
getEntity
-
Constructor Details
-
LivingJumpEvent
-