Skip to content

ParticleEffectParticle 5.46.0 ​

class · pocketmine\world\particle\ParticleEffectParticle · source

Implements Particle

A particle effect from the client's resource packs by identifier (e.g. minecraft:heart_particle), like Bedrock's /particle command.

Methods ​

__construct() ​

php
public function __construct(string $identifier, \pocketmine\world\dimension\Dimension $dimension = \pocketmine\world\dimension\Dimension::OVERWORLD)

encode() ​

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

getIdentifier() ​

php
public function getIdentifier() : string

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