Skip to content

WorldParticleEvent ​

class · pocketmine\event\world\WorldParticleEvent · source

Extends WorldEvent
Implements Cancellable

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\World $world, \pocketmine\world\particle\Particle $particle, \pocketmine\math\Vector3 $position, array $recipients)

getParticle() ​

php
public function getParticle() : \pocketmine\world\particle\Particle

getPosition() ​

php
public function getPosition() : \pocketmine\math\Vector3

getRecipients() ​

php
public function getRecipients() : array

setParticle() ​

php
public function setParticle(\pocketmine\world\particle\Particle $particle) : void

setRecipients() ​

php
public function setRecipients(array $recipients) : void

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