Package com.destroystokyo.paper.event.entity
package com.destroystokyo.paper.event.entity
-
ClassDescriptionCalled when a Creeper is ignited either by a flint and steel,
Creeper.ignite()
orCreeper.setIgnited(boolean)
.Fired when a DragonFireball collides with a block/entity and spawns an AreaEffectCloudFired when an EnderDragon spawns an AreaEffectCloud by shooting flamesFired when an EnderDragon shoots a fireballFired when an Enderman determines if it should attack a player or not.Fired any time an entity is being added to the world for any reason (including a chunk loading).Called when an entity jumpsFired when an Entity is knocked back by the hit of another Entity.Fired when an Entity decides to start moving towards a location.Fired any time an entity is being removed from a world for any reason (including a chunk unloading).Fired any time an entity attempts to teleport in an end gatewayFired when lightning strikes an entityFired anytime the server is about to merge 2 experience orbs into oneCalled when a phantom is spawned for an exhausted playerFired when the server is calculating what chunks to try to spawn monsters in every Monster Spawn Tick eventWARNING: This event only fires for a limited number of cases, and not for every case thatCreatureSpawnEvent
does.Called before an entity is spawned into a world by a spawner.Deprecated.Event called when a player gets close to a skeleton horse and triggers the lightning trapFired when a Slime decides to change its facing direction.Fired when a Slime decides to start pathfinding.Fired when a Slime decides to start jumping while swimming in water/lava.Fired when a Slime decides to change direction to target a LivingEntity.Fired when a Slime decides to start wandering.Called when a thrown egg might hatch.Fired when a Turtle decides to go homeFired when a Turtle lays eggsFired when a Turtle starts digging to lay eggsFired when a witch consumes the potion in their hand to buff themselves.Fired when a witch throws a potion at a player
ProjectileHitEvent
and check if there is a hit entity