Class LivingEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.living.LivingEvent
- Direct Known Subclasses:
AnimalTameEvent
,EnderManAngerEvent
,LivingAttackEvent
,LivingBreatheEvent
,LivingChangeTargetEvent
,LivingConversionEvent
,LivingDamageEvent
,LivingDeathEvent
,LivingDestroyBlockEvent
,LivingDropsEvent
,LivingDrownEvent
,LivingEntityUseItemEvent
,LivingEquipmentChangeEvent
,LivingEvent.LivingJumpEvent
,LivingEvent.LivingTickEvent
,LivingEvent.LivingVisibilityEvent
,LivingExperienceDropEvent
,LivingFallEvent
,LivingGetProjectileEvent
,LivingHealEvent
,LivingHurtEvent
,LivingKnockBackEvent
,LivingMakeBrainEvent
,LivingPackSizeEvent
,LivingSwapItemsEvent
,LivingUseTotemEvent
,LootingLevelEvent
,MobEffectEvent
,PlayerEvent
,PotionColorCalculationEvent
,ShieldBlockEvent
,SleepingLocationCheckEvent
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
MinecraftForge.EVENT_BUS
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
LivingJumpEvent is fired when an Entity jumps.
This event is fired whenever an Entity jumps inLivingEntity#jumpFromGround()
,MagmaCube#jumpFromGround()
, andHorse#jumpFromGround()
.
This event is fired via theForgeHooks.onLivingJump(LivingEntity)
.
This event is notCancelable
.
This event does not have a result.static class
LivingUpdateEvent is fired when a LivingEntity is ticked inLivingEntity.tick()
.static class
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.EyeHeight, EntityEvent.Size
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
livingEntity
-
-
Constructor Details
-
LivingEvent
-
-
Method Details
-
getEntity
- Overrides:
getEntity
in classEntityEvent
-