# Uses of Class
org.bukkit.event.entity.EntityEvent

Packages that use EntityEvent
Package
Description
com.destroystokyo.paper.event.entity
io.papermc.paper.event.block
io.papermc.paper.event.entity
org.bukkit.event.entity
`Events` relating to `entities`, excluding some directly referencing some more specific entity types.
org.bukkit.event.player
`Events` relating to `players`.
org.spigotmc.event.entity
Spigot-specific entity events.

## Uses of EntityEvent in com.destroystokyo.paper.event.entity

Subclasses of EntityEvent in com.destroystokyo.paper.event.entity
Modifier and Type
Class
Description
`class`
`CreeperIgniteEvent`
Called when a Creeper is ignited either by a flint and steel, `Creeper.ignite()` or `Creeper.setIgnited(boolean)`.
`class`
`EnderDragonFireballHitEvent`
Fired when a DragonFireball collides with a block/entity and spawns an AreaEffectCloud
`class`
`EnderDragonFlameEvent`
Fired when an EnderDragon spawns an AreaEffectCloud by shooting flames
`class`
`EnderDragonShootFireballEvent`
Fired when an EnderDragon shoots a fireball
`class`
`EndermanAttackPlayerEvent`
Fired when an Enderman determines if it should attack a player or not.
`class`
`EndermanEscapeEvent`
`class`
`EntityAddToWorldEvent`
Fired any time an entity is being added to the world for any reason.
`class`
`EntityJumpEvent`
Called when an entity jumps
`class`
`EntityKnockbackByEntityEvent`
Fired when an Entity is knocked back by the hit of another Entity.
`class`
`EntityPathfindEvent`
Fired when an Entity decides to start moving towards a location.
`class`
`EntityRemoveFromWorldEvent`
Fired any time an entity is being removed from a world for any reason
`class`
`EntityTeleportEndGatewayEvent`
Fired any time an entity attempts to teleport in an end gateway
`class`
`EntityTransformedEvent`
Deprecated.
Bukkit has added `EntityTransformEvent`, you should start using that
`class`
`EntityZapEvent`
Fired when lightning strikes an entity
`class`
`ExperienceOrbMergeEvent`
Fired anytime the server is about to merge 2 experience orbs into one
`class`
`ProjectileCollideEvent`
Called when an projectile collides with an entity
`class`
`SkeletonHorseTrapEvent`
Event called when a player gets close to a skeleton horse and triggers the lightning trap
`class`
`SlimeChangeDirectionEvent`
Fired when a Slime decides to change it's facing direction.
`class`
`SlimePathfindEvent`
Fired when a Slime decides to start pathfinding.
`class`
`SlimeSwimEvent`
Fired when a Slime decides to start jumping while swimming in water/lava.
`class`
`SlimeTargetLivingEntityEvent`
Fired when a Slime decides to change direction to target a LivingEntity.
`class`
`SlimeWanderEvent`
Fired when a Slime decides to start wandering.
`class`
`TurtleGoHomeEvent`
Fired when a Turtle decides to go home
`class`
`TurtleLayEggEvent`
Fired when a Turtle lays eggs
`class`
`TurtleStartDiggingEvent`
Fired when a Turtle starts digging to lay eggs
`class`
`WitchConsumePotionEvent`
Fired when a witch consumes the potion in their hand to buff themselves.
`class`
`WitchReadyPotionEvent`
`class`
`WitchThrowPotionEvent`
Fired when a witch throws a potion at a player

## Uses of EntityEvent in io.papermc.paper.event.block

Subclasses of EntityEvent in io.papermc.paper.event.block
Modifier and Type
Class
Description
`class`
`TargetHitEvent`
Called when a Target Block is hit by a projectile.

## Uses of EntityEvent in io.papermc.paper.event.entity

Subclasses of EntityEvent in io.papermc.paper.event.entity
Modifier and Type
Class
Description
`class`
`ElderGuardianAppearanceEvent`
Is called when an `ElderGuardian` appears in front of a `Player`.
`class`
`EntityDamageItemEvent`
Called when an item on or used by an entity takes durability damage as a result of being hit/used.
`class`
`EntityDyeEvent`
Called when an entity is dyed.
`class`
`EntityInsideBlockEvent`
Called when an entity enters the hitbox of a block.
`class`
`EntityLoadCrossbowEvent`
Called when a LivingEntity loads a crossbow with a projectile.
`class`
`EntityMoveEvent`
Holds information for living entity movement events
`class`
`EntityPortalReadyEvent`
Called when an entity is ready to be teleported by a plugin.
`class`
`EntityToggleSitEvent`
Is called when an entity sits down or stands up.
`class`
`PufferFishStateChangeEvent`
Called just before a `PufferFish` inflates or deflates.
`class`
`TameableDeathMessageEvent`
Called when a `Tameable` dies and sends a death message.
`class`
`WardenAngerChangeEvent`
Called when a Warden's anger level has changed due to another entity.
`class`
`WaterBottleSplashEvent`
Called when a splash water potion "splashes" and affects different entities in different ways.

## Uses of EntityEvent in org.bukkit.event.entity

Subclasses of EntityEvent in org.bukkit.event.entity
Modifier and Type
Class
Description
`class`
`AreaEffectCloudApplyEvent`
Called when a lingering potion applies it's effects.
`class`
`ArrowBodyCountChangeEvent`
Called when an arrow enters or exists an entity's body.
`class`
`BatToggleSleepEvent`
Called when a bat attempts to sleep or wake up from its slumber.
`class`
`CreatureSpawnEvent`
Called when a creature is spawned into a world.
`class`
`CreeperPowerEvent`
Called when a Creeper is struck by lightning.
`class`
`EnderDragonChangePhaseEvent`
Called when an EnderDragon switches controller phase.
`class`
`EntityAirChangeEvent`
Called when the amount of air an entity has remaining changes.
`class`
`EntityBreakDoorEvent`
Called when an `Entity` breaks a door
`class`
`EntityBreedEvent`
Called when one Entity breeds with another Entity.
`class`
`EntityChangeBlockEvent`
Called when any Entity changes a block and a more specific event is not available.
`class`
`EntityCombustByBlockEvent`
Called when a block causes an entity to combust.
`class`
`EntityCombustByEntityEvent`
Called when an entity causes another entity to combust.
`class`
`EntityCombustEvent`
Called when an entity combusts.
`class`
`EntityCreatePortalEvent`
Deprecated.
Use `PortalCreateEvent`
`class`
`EntityDamageByBlockEvent`
Called when an entity is damaged by a block
`class`
`EntityDamageByEntityEvent`
Called when an entity is damaged by an entity
`class`
`EntityDamageEvent`
Stores data for damage events
`class`
`EntityDeathEvent`
Thrown whenever a LivingEntity dies
`class`
`EntityDropItemEvent`
Thrown when an entity creates an item drop.
`class`
`EntityEnterBlockEvent`
Called when an `Entity` enters a block and is stored in that block.
`class`
`EntityEnterLoveModeEvent`
Called when an entity enters love mode.
`class`
`EntityExhaustionEvent`
Called when a human entity experiences exhaustion.
`class`
`EntityExplodeEvent`
Called when an entity explodes
`class`
`EntityInteractEvent`
Called when an entity interacts with an object
`class`
`EntityPickupItemEvent`
Thrown when a entity picks an item up from the ground
`class`
`EntityPlaceEvent`
Triggered when a entity is created in the world by a player "placing" an item on a block.
`class`
`EntityPortalEnterEvent`
Called when an entity comes into contact with a portal
`class`
`EntityPortalEvent`
Called when a non-player entity is about to teleport because it is in contact with a portal.
`class`
`EntityPortalExitEvent`
Called before an entity exits a portal.
`class`
`EntityPoseChangeEvent`
Called when an entity changes its pose.
`class`
`EntityPotionEffectEvent`
Called when a potion effect is modified on an entity.
`class`
`EntityRegainHealthEvent`
Stores data for health-regain events
`class`
`EntityResurrectEvent`
Called when an entity dies and may have the opportunity to be resurrected.
`class`
`EntityShootBowEvent`
Called when a LivingEntity shoots a bow firing an arrow
`class`
`EntitySpawnEvent`
Called when an entity is spawned into a world.
`class`
`EntitySpellCastEvent`
Called when a `Spellcaster` casts a spell.
`class`
`EntityTameEvent`
Thrown when a LivingEntity is tamed
`class`
`EntityTargetEvent`
Called when a creature targets or untargets another entity
`class`
`EntityTargetLivingEntityEvent`
Called when an Entity targets a `LivingEntity` and can only target LivingEntity's.
`class`
`EntityTeleportEvent`
Thrown when a non-player entity is teleported from one location to another.
`class`
`EntityToggleGlideEvent`
Sent when an entity's gliding status is toggled with an Elytra.
`class`
`EntityToggleSwimEvent`
Sent when an entity's swimming status is toggled.
`class`
`EntityTransformEvent`
Called when an entity is about to be replaced by another entity.
`class`
`EntityUnleashEvent`
Called immediately prior to an entity being unleashed.
`class`
`ExpBottleEvent`
Called when a ThrownExpBottle hits and releases experience.
`class`
`ExplosionPrimeEvent`
Called when an entity has made a decision to explode.
`class`
`FireworkExplodeEvent`
Called when a firework explodes.
`class`
`FoodLevelChangeEvent`
Called when a human entity's food level changes
`class`
`HorseJumpEvent`
Called when a horse jumps.
`class`
`ItemDespawnEvent`
This event is called when a `Item` is removed from the world because it has existed for 5 minutes.
`class`
`ItemMergeEvent`
`class`
`ItemSpawnEvent`
Called when an item is spawned into a world
`class`
`LingeringPotionSplashEvent`
Called when a splash potion hits an area
`class`
`PiglinBarterEvent`
Stores all data related to the bartering interaction with a piglin.
`class`
`PigZapEvent`
Stores data for pigs being zapped
`class`
`PigZombieAngerEvent`
Called when a Pig Zombie is angered by another entity.
`class`
`PlayerDeathEvent`
Thrown whenever a `Player` dies
`class`
`PotionSplashEvent`
Called when a splash potion hits an area
`class`
`ProjectileHitEvent`
Called when a projectile hits an object
`class`
`ProjectileLaunchEvent`
Called when a projectile is launched.
`class`
`SheepDyeWoolEvent`
Called when a sheep's wool is dyed
`class`
`SheepRegrowWoolEvent`
Called when a sheep regrows its wool
`class`
`SlimeSplitEvent`
Called when a Slime splits into smaller Slimes upon death
`class`
`SpawnerSpawnEvent`
Called when an entity is spawned into a world by a spawner.
`class`
`StriderTemperatureChangeEvent`
Called when a `Strider`'s temperature has changed as a result of entering or exiting blocks it considers warm.
`class`
`VillagerAcquireTradeEvent`
Called whenever a villager acquires a new trade.
`class`
`VillagerCareerChangeEvent`
`class`
`VillagerReplenishTradeEvent`
Called when a `Villager` is about to restock one of its trades.

## Uses of EntityEvent in org.bukkit.event.player

Subclasses of EntityEvent in org.bukkit.event.player
Modifier and Type
Class
Description
`class`
`PlayerUnleashEntityEvent`
Called prior to an entity being unleashed due to a player's action.

## Uses of EntityEvent in org.spigotmc.event.entity

Subclasses of EntityEvent in org.spigotmc.event.entity
Modifier and Type
Class
Description
`class`
`EntityDismountEvent`
Called when an entity stops riding another entity.
`class`
`EntityMountEvent`
Called when an entity attempts to ride another entity.