Class LivingEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
- Direct Known Subclasses:
AnimalTameEvent, ArmorHurtEvent, CanContinueSleepingEvent, EffectParticleModificationEvent, EnderManAngerEvent, LivingBreatheEvent, LivingChangeTargetEvent, LivingConversionEvent, LivingDamageEvent, LivingDeathEvent, LivingDestroyBlockEvent, LivingDropsEvent, LivingDrownEvent, LivingEntityUseItemEvent, LivingEquipmentChangeEvent, LivingEvent.LivingJumpEvent, LivingEvent.LivingVisibilityEvent, LivingExperienceDropEvent, LivingFallEvent, LivingGetProjectileEvent, LivingHealEvent, LivingIncomingDamageEvent, LivingKnockBackEvent, LivingShieldBlockEvent, LivingSwapItemsEvent, LivingUseTotemEvent, MobEffectEvent, PlayerEvent, SpawnClusterSizeEvent
Base class of the events specific to LivingEntities.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLivingJumpEvent is fired when a LivingEntity jumps.static classLivingVisibilityEvent is fired when an LivingEntity's visibility is queried.Nested classes/interfaces inherited from class EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.Size -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
livingEntity
-
-
Constructor Details
-
LivingEvent
-
-
Method Details
-
getEntity
- Overrides:
getEntityin classEntityEvent
-