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,LivingChangeTargetEvent,LivingConversionEvent,LivingDamageEvent,LivingDeathEvent,LivingDestroyBlockEvent,LivingDropsEvent,LivingEntityUseItemEvent,LivingEquipmentChangeEvent,LivingEvent.LivingJumpEvent,LivingEvent.LivingUpdateEvent,LivingEvent.LivingVisibilityEvent,LivingExperienceDropEvent,LivingFallEvent,LivingGetProjectileEvent,LivingHealEvent,LivingHurtEvent,LivingKnockBackEvent,LivingPackSizeEvent,LivingSetAttackTargetEvent,LivingSpawnEvent,LootingLevelEvent,PlayerEvent,PotionColorCalculationEvent,PotionEvent,ShieldBlockEvent,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
Nested ClassesModifier and TypeClassDescriptionstatic classLivingJumpEvent 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 classLivingUpdateEvent is fired when an Entity is updated.static classNested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.SizeNested 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.event.entity.EntityEvent
getEntityMethods 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
-