Skip to content

EntitySpawnEvent ​

class · pocketmine\event\entity\EntitySpawnEvent · source

Extends EntityEvent

Called when an entity is added to the world. This might be a new entity or an entity loaded from storage.

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.