Package org.bukkit.event.entity
package org.bukkit.event.entity
-
ClassDescriptionCalled when a lingering potion applies its 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.An enum to specify the type of spawningCalled when a Creeper is struck by lightning.An enum to specify the cause of the change in powerCalled when an EnderDragon switches controller phase.Called when the amount of air an entity has remaining changes.Called when an
Entity
breaks 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 eventsAn 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.Thrown whenever a LivingEntity diesThrown when an entity creates an item drop.Called when anEntity
enters 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.The reason for why a PlayerExhaustionEvent takes placeCalled when an entity explodes interacting with blocks.Called when an entity interacts with an objectThrown when an entity picks an item up from the groundTriggered when an 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.An enum to specify the action to be performed.An enum to specify the cause why an effect was changed.Stores data for health-regain eventsAn enum to specify the type of health regaining that is occurringCalled 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 aSpellcaster
casts a spell.Thrown when a LivingEntity is tamedCalled when a creature targets or untargets another entityAn enum to specify the reason for the targetingCalled when an Entity targets aLivingEntity
and 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 aItem
is 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 aPlayer
diesCalled 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 aStrider
's temperature has changed as a result of entering or exiting blocks it considers warm.Called whenever a villager acquires a new trade.Reasons for the villager's profession changing.Called when aVillager
is about to restock one of its trades.
PortalCreateEvent