Skip to content

ExplosionParticle 5.47.0 ​

class · pocketmine\world\particle\ExplosionParticle · source

Implements Particle

The particles of an explosion of the given radius, as BDS 1.26.52 sends them: the client shows the huge explosion emitter for a radius of 2 or more and a single large puff for smaller explosions (ghast fireballs, wither skulls).

Methods ​

__construct() ​

php
public function __construct(float $radius)

encode() ​

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

VanillaMine is a fork of PocketMine-MP. Not affiliated with the PMMP team or Mojang.