ClassDescriptionCalled when a lingering potion applies it's effects.Called when an arrow enters or exists an entity's body.Called when a bat attempts to sleep or wake up from its slumber.Called when a creature is spawned into a world.Called when a Creeper is struck by lightning.Called when an EnderDragon switches controller phase.Called when the amount of air an entity has remaining changes.Called when an
Entitybreaks a doorCalled when one Entity breeds with another Entity.Called when any Entity changes a block and a more specific event is not available.Called when a block causes an entity to combust.Called when an entity causes another entity to combust.Called when an entity combusts.Deprecated.Called when an entity is damaged by a blockCalled when an entity is damaged by an entityStores data for damage eventsThrown whenever a LivingEntity diesThrown when an entity creates an item drop.Called when an
Entityenters a block and is stored in that block.Called when an entity enters love mode.Represents an Entity-related eventCalled when a human entity experiences exhaustion.Called when an entity explodesCalled when an entity interacts with an objectThrown when a entity picks an item up from the groundTriggered when a entity is created in the world by a player "placing" an item on a block.Called when an entity comes into contact with a portalCalled when a non-player entity is about to teleport because it is in contact with a portal.Called before an entity exits a portal.Called when an entity changes its pose.Called when a potion effect is modified on an entity.Stores data for health-regain eventsCalled when an entity dies and may have the opportunity to be resurrected.Called when a LivingEntity shoots a bow firing an arrowCalled when an entity is spawned into a world.Called when a
Spellcastercasts a spell.Thrown when a LivingEntity is tamedCalled when a creature targets or untargets another entityCalled when an Entity targets a
LivingEntityand can only target LivingEntity's.Thrown when a non-player entity is teleported from one location to another.Sent when an entity's gliding status is toggled with an Elytra.Sent when an entity's swimming status is toggled.Called when an entity is about to be replaced by another entity.Called immediately prior to an entity being unleashed.Called when a ThrownExpBottle hits and releases experience.Called when an entity has made a decision to explode.Called when a firework explodes.Called when a human entity's food level changesCalled when a horse jumps.This event is called when a
Itemis removed from the world because it has existed for 5 minutes.Called when an item is spawned into a worldCalled when a splash potion hits an areaStores all data related to the bartering interaction with a piglin.Stores data for pigs being zappedCalled when a Pig Zombie is angered by another entity.Thrown whenever a
PlayerdiesCalled immediately prior to a creature being leashed by a player.Called when a splash potion hits an areaCalled when a projectile hits an objectCalled when a projectile is launched.Called when a sheep's wool is dyedCalled when a sheep regrows its woolCalled when a Slime splits into smaller Slimes upon deathCalled when an entity is spawned into a world by a spawner.Called when a
Strider's temperature has changed as a result of entering or existing blocks it considers warm.Called whenever a villager acquires a new trade.Called when a villager's trade's maximum uses is increased, due to a player's trade.
Enum ClassDescriptionAn enum to specify the type of spawningAn enum to specify the cause of the change in powerAn enum to specify the cause of the damageDeprecated.This API is responsible for a large number of implementation problems and is in general unsustainable to maintain.The reason for why a PlayerExhaustionEvent takes placeAn enum to specify the action to be performed.An enum to specify the cause why an effect was changed.An enum to specify the type of health regaining that is occurringAn enum to specify the reason for the targetingReasons for the villager's profession changing.