Skip to content

EntityDespawnEvent ​

class · pocketmine\event\entity\EntityDespawnEvent · source

Extends EntityEvent

Called when an entity is removed from the world. This could be for a variety of reasons, including chunks being unloaded, entity death, etc.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Entity $entity)

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