pocketmine\event\entity
Classes
| Name | Kind | Summary |
|---|---|---|
| AreaEffectCloudApplyEvent | class | Called when an area effect cloud applies effects to entities |
| EntityBlockChangeEvent | class | Called when an Entity, excluding players, changes a block directly |
| EntityCombustByBlockEvent | class | |
| EntityCombustByEntityEvent | class | |
| EntityCombustEvent | class | |
| EntityDamageByBlockEvent | class | Called when an entity takes damage from a block |
| EntityDamageByChildEntityEvent | class | Called when an entity takes damage from an entity sourced from another entity, for example being hit by a snowball thrown by a Player |
| EntityDamageByEntityEvent | class | Called when an entity takes damage from another entity |
| EntityDamageEvent | class | Called when an entity takes damage |
| EntityDeathEvent | class | |
| EntityDespawnEvent | class | Called when an entity is removed from the world |
| EntityDismountEvent 5.46.0 | class | Called when an entity is about to stop riding its vehicle |
| EntityEffectAddEvent | class | Called when an effect is added to an Entity |
| EntityEffectEvent | class | |
| EntityEffectRemoveEvent | class | Called when an effect is removed from an entity |
| EntityEvent | class | |
| EntityExplodeEvent | class | Called when an entity explodes, after the explosion's impact has been calculated |
| EntityExtinguishEvent | class | Called when an entity on fire gets extinguished |
| EntityFrostWalkerEvent | class | Called when an entity moves horizontally while wearing boots enchanted with Frost Walker |
| EntityItemPickupEvent | class | Called when an entity picks up an item, arrow, etc |
| EntityMotionEvent | class | |
| EntityMountEvent 5.46.0 | class | Called when an entity is about to start riding another entity (its vehicle) |
| EntityNaturalSpawnEvent 5.46.0 | class | Called when the world spawns a mob by itself (natural spawning around players, structure spawns, wandering traders, village cats), after the |
| EntityPreExplodeEvent | class | Called when an entity decides to explode, before the explosion's impact is calculated |
| EntityRegainHealthEvent | class | |
| EntityShootBowEvent | class | |
| EntityShootCrossbowEvent 5.46.0 | class | |
| EntitySpawnEvent | class | Called when an entity is added to the world |
| EntityTargetEvent 5.46.0 | class | Called when a mob picks a new attack target (like Paper's EntityTargetLivingEntityEvent): a monster spotting a player, a zombie going for a |
| EntityTeleportEvent | class | |
| EntityTrampleFarmlandEvent | class | |
| ItemDespawnEvent | class | Called when a dropped item tries to despawn due to its despawn delay running out |
| ItemMergeEvent | class | Called when an item entity tries to merge into another item entity |
| ItemSpawnEvent | class | Called when an item is spawned or loaded |
| MobPreSpawnEvent 5.46.0 | class | Called before the natural spawner creates a mob (or a herd), like Paper's PreCreatureSpawnEvent: nothing has been created yet, so cancelling |
| ProjectileHitBlockEvent | class | |
| ProjectileHitEntityEvent | class | |
| ProjectileHitEvent | class | |
| ProjectileLaunchEvent | class |
