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
,EnderTeleportEvent
,LivingAttackEvent
,LivingConversionEvent
,LivingDamageEvent
,LivingDeathEvent
,LivingDestroyBlockEvent
,LivingDropsEvent
,LivingEntityUseItemEvent
,LivingEquipmentChangeEvent
,LivingEvent.LivingJumpEvent
,LivingEvent.LivingUpdateEvent
,LivingEvent.LivingVisibilityEvent
,LivingExperienceDropEvent
,LivingFallEvent
,LivingHealEvent
,LivingHurtEvent
,LivingKnockBackEvent
,LivingPackSizeEvent
,LivingSetAttackTargetEvent
,LivingSpawnEvent
,LootingLevelEvent
,PlayerEvent
,PotionColorCalculationEvent
,PotionEvent
,SleepingLocationCheckEvent
LivingEvent is fired whenever an event involving Living entities occurs.
If a method utilizes this
All children of this event are fired on the
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
Modifier and TypeClassDescriptionstatic class
LivingJumpEvent is fired when an Entity jumps.
This event is fired whenever an Entity jumps inEntityLivingBase#jump()
,EntityMagmaCube#jump()
, andEntityHorse#jump()
.
This event is fired via theForgeHooks.onLivingJump(EntityLivingBase)
.
This event is notCancelable
.
This event does not have a result.static class
LivingUpdateEvent is fired when an Entity is updated.static class
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, 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
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.event.entity.EntityEvent
getEntity
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
entityLiving
-
-
Constructor Details
-
LivingEvent
-
-
Method Details
-
getEntityLiving
-