Class | Description |
---|---|
AnimalTameEvent |
This event is fired when an
EntityAnimal is tamed. |
BabyEntitySpawnEvent |
BabyEntitySpawnEvent is fired just before a baby entity is about to be spawned.
|
EnderTeleportEvent |
Event for when an Enderman/Shulker teleports or an ender pearl is used.
|
LivingAttackEvent |
LivingAttackEvent is fired when a living Entity is attacked.
|
LivingDamageEvent |
LivingDamageEvent is fired just before damage is applied to entity.
At this point armor, potion and absorption modifiers have already been applied to damage - this is FINAL value. Also note that appropriate resources (like armor durability and absorption extra hearths) have already been consumed. This event is fired whenever an Entity is damaged in EntityLivingBase.damageEntity(DamageSource, float) and
EntityPlayer.damageEntity(DamageSource, float) .This event is fired via the ForgeHooks.onLivingDamage(EntityLivingBase, DamageSource, float) .LivingDamageEvent.source contains the DamageSource that caused this Entity to be hurt. |
LivingDeathEvent |
LivingDeathEvent is fired when an Entity dies.
|
LivingDestroyBlockEvent |
Fired when the ender dragon or wither attempts to destroy a block and when ever a zombie attempts to break a door.
|
LivingDropsEvent |
LivingDropsEvent is fired when an Entity's death causes dropped items to appear.
This event is fired whenever an Entity dies and drops items in EntityLivingBase.onDeath(DamageSource) .This event is fired via the ForgeHooks.onLivingDrops(EntityLivingBase, DamageSource, ArrayList, int, boolean) .LivingDropsEvent.source contains the DamageSource that caused the drop to occur.LivingDropsEvent.drops contains the ArrayList of EntityItems that will be dropped.LivingDropsEvent.lootingLevel contains the amount of loot that will be dropped.LivingDropsEvent.recentlyHit determines whether the Entity doing the drop has recently been damaged.This event is Cancelable .If this event is canceled, the Entity does not drop anything. This event does not have a result. |
LivingEntityUseItemEvent | |
LivingEntityUseItemEvent.Finish |
Fired after an item has fully finished being used.
|
LivingEntityUseItemEvent.Start |
Fired when a player starts 'using' an item, typically when they hold right mouse.
|
LivingEntityUseItemEvent.Stop |
Fired when a player stops using an item without the use duration timing out.
|
LivingEntityUseItemEvent.Tick |
Fired every tick that a player is 'using' an item, see
LivingEntityUseItemEvent.Start for info. |
LivingEquipmentChangeEvent |
LivingEquipmentChangeEvent is fired when the Equipment of a Entity changes. |
LivingEvent |
LivingEvent is fired whenever an event involving Living entities 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 . |
LivingEvent.LivingJumpEvent |
LivingJumpEvent is fired when an Entity jumps.
This event is fired whenever an Entity jumps in EntityLivingBase.jump() , EntityMagmaCube.jump() ,
and EntityLivingBase.jump() .This event is fired via the ForgeHooks.onLivingJump(EntityLivingBase) .This event is not Cancelable .This event does not have a result. |
LivingEvent.LivingUpdateEvent |
LivingUpdateEvent is fired when an Entity is updated.
|
LivingExperienceDropEvent |
Event for when an entity drops experience on its death, can be used to change
the amount of experience points dropped or completely prevent dropping of experience
by canceling the event.
|
LivingFallEvent |
LivingFallEvent is fired when an Entity is set to be falling.
This event is fired whenever an Entity is set to fall in EntityLivingBase.fall(float, float) .This event is fired via the ForgeHooks.onLivingFall(EntityLivingBase, float, float) .LivingFallEvent.distance contains the distance the Entity is to fall. |
LivingHealEvent |
LivingHealEvent is fired when an Entity is set to be healed.
|
LivingHurtEvent |
LivingHurtEvent is fired when an Entity is set to be hurt.
|
LivingPackSizeEvent | |
LivingSetAttackTargetEvent |
LivingSetAttackTargetEvent is fired when an Entity sets a target to attack.
This event is fired whenever an Entity sets a target to attack in EntityLiving.setAttackTarget(EntityLivingBase) and
EntityLivingBase.setRevengeTarget(EntityLivingBase) .This event is fired via the ForgeHooks.onLivingSetAttackTarget(EntityLivingBase, EntityLivingBase) .LivingSetAttackTargetEvent.target contains the newly targeted Entity.This event is not Cancelable .This event does not have a result. |
LivingSpawnEvent |
LivingSpawnEvent is fired for any events associated with Living Enttnies spawn status.
|
LivingSpawnEvent.AllowDespawn |
Fired each tick for despawnable mobs to allow control over despawning.
|
LivingSpawnEvent.CheckSpawn |
Fires before mob spawn events.
|
LivingSpawnEvent.SpecialSpawn |
SpecialSpawn is fired when an Entity is to be spawned.
This allows you to do special inializers in the new entity. This event is fired via the ForgeEventFactory.doSpecialSpawn(EntityLiving, World, float, float, float) .This event is Cancelable .If this event is canceled, the Entity is not spawned. This event does not have a result. |
LootingLevelEvent | |
PotionColorCalculationEvent |
Fires after Potion Color Calculation.
|
ZombieEvent |
ZombieEvent is fired whenever a zombie is spawned for aid.
|
ZombieEvent.SummonAidEvent |
SummonAidEvent is fired when a Zombie Entity is summoned.
|