Skip to content

DispenseParticle 5.46.0 ​

class · pocketmine\world\particle\DispenseParticle · source

Implements Particle

Smoke puff in front of a dispenser or dropper which dispensed an item (LevelEvent 2000). The data is the horizontal direction as (x + 1) + (z + 1) * 3, as in the legacy Java level event this one comes from; 4 (centre) for up/down.

Methods ​

__construct() ​

php
public function __construct(int $facing)

encode() ​

php
public function encode(\pocketmine\math\Vector3 $pos) : array

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