Skip to content

pocketmine\event\entity ​

Classes ​

NameKindSummary
AreaEffectCloudApplyEventclassCalled when an area effect cloud applies effects to entities
EntityBlockChangeEventclassCalled when an Entity, excluding players, changes a block directly
EntityCombustByBlockEventclass
EntityCombustByEntityEventclass
EntityCombustEventclass
EntityDamageByBlockEventclassCalled when an entity takes damage from a block
EntityDamageByChildEntityEventclassCalled when an entity takes damage from an entity sourced from another entity, for example being hit by a snowball thrown by a Player
EntityDamageByEntityEventclassCalled when an entity takes damage from another entity
EntityDamageEventclassCalled when an entity takes damage
EntityDeathEventclass
EntityDespawnEventclassCalled when an entity is removed from the world
EntityDismountEvent 5.46.0classCalled when an entity is about to stop riding its vehicle
EntityEffectAddEventclassCalled when an effect is added to an Entity
EntityEffectEventclass
EntityEffectRemoveEventclassCalled when an effect is removed from an entity
EntityEventclass
EntityExplodeEventclassCalled when an entity explodes, after the explosion's impact has been calculated
EntityExtinguishEventclassCalled when an entity on fire gets extinguished
EntityFrostWalkerEventclassCalled when an entity moves horizontally while wearing boots enchanted with Frost Walker
EntityItemPickupEventclassCalled when an entity picks up an item, arrow, etc
EntityMotionEventclass
EntityMountEvent 5.46.0classCalled when an entity is about to start riding another entity (its vehicle)
EntityNaturalSpawnEvent 5.46.0classCalled when the world spawns a mob by itself (natural spawning around players, structure spawns, wandering traders, village cats), after the
EntityPreExplodeEventclassCalled when an entity decides to explode, before the explosion's impact is calculated
EntityRegainHealthEventclass
EntityShootBowEventclass
EntityShootCrossbowEvent 5.46.0class
EntitySpawnEventclassCalled when an entity is added to the world
EntityTargetEvent 5.46.0classCalled when a mob picks a new attack target (like Paper's EntityTargetLivingEntityEvent): a monster spotting a player, a zombie going for a
EntityTeleportEventclass
EntityTrampleFarmlandEventclass
ItemDespawnEventclassCalled when a dropped item tries to despawn due to its despawn delay running out
ItemMergeEventclassCalled when an item entity tries to merge into another item entity
ItemSpawnEventclassCalled when an item is spawned or loaded
MobPreSpawnEvent 5.46.0classCalled before the natural spawner creates a mob (or a herd), like Paper's PreCreatureSpawnEvent: nothing has been created yet, so cancelling
ProjectileHitBlockEventclass
ProjectileHitEntityEventclass
ProjectileHitEventclass
ProjectileLaunchEventclass

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.