类 LivingEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
- 直接已知子类:
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
LivingEvent is fired whenever an event involving a
If a method utilizes this
All children of this event are fired on the
LivingEntity
occurs.If a method utilizes this
Event
as its parameter, the method will
receive every child event of this class.All children of this event are fired on the
NeoForge.EVENT_BUS
.-
嵌套类概要
嵌套类修饰符和类型类说明static class
LivingJumpEvent is fired when an Entity jumps.
This event is fired whenever an Entity jumps inLivingEntity#jumpFromGround()
,MagmaCube#jumpFromGround()
,Slime#jumpFromGround()
,Camel#executeRidersJump()
, andAbstractHorse#executeRidersJump()
.
This event is fired via theCommonHooks.onLivingJump(LivingEntity)
.
This event is notICancellableEvent
.
This event does not have a result.static class
从类继承的嵌套类/接口 net.neoforged.neoforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.Size
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
livingEntity
-
-
构造器详细资料
-
LivingEvent
-
-
方法详细资料
-
getEntity
- 覆盖:
getEntity
在类中EntityEvent
-