Package | Description |
---|---|
com.destroystokyo.paper.event.entity | |
org.bukkit.event.entity | |
org.bukkit.event.player | |
org.spigotmc.event.entity |
Spigot-specific entity events.
|
Modifier and Type | Class | Description |
---|---|---|
class |
CreeperIgniteEvent |
Called when a Creeper is ignite flag is changed (armed/disarmed to explode).
|
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
|
Modifier and Type | Class | Description |
---|---|---|
class |
AreaEffectCloudApplyEvent |
Called when a lingering potion applies it's effects.
|
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, excluding players, changes a block.
|
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.
|
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 |
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 |
Deprecated.
draft API
|
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 |
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 |
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 |
VillagerAcquireTradeEvent |
Called whenever a villager acquires a new trade.
|
class |
VillagerCareerChangeEvent |
|
class |
VillagerReplenishTradeEvent |
Called when a villager's trade's maximum uses is increased, due to a player's
trade.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PlayerUnleashEntityEvent |
Called prior to an entity being unleashed due to a player's action.
|
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.
|
Copyright © 2020. All rights reserved.