Skip to content

ParticleCommand ​

class · pocketmine\command\defaults\ParticleCommand · source

Extends VanillaCommand
Implements ExhaustiveOverloads

Bedrock's /particle <effect> [position] spawns a particle effect by identifier (e.g. minecraft:heart_particle), or one of PocketMine's particle names once. PocketMine's /particle <name> <x y z> <xd yd zd> [count] [data] spawns count particles of a PocketMine type spread around a point.

Methods ​

__construct() ​

php
public function __construct()

execute() ​

php
public function execute(\pocketmine\command\CommandSender $sender, string $commandLabel, array $args)

getOverloads() 5.46.0 ​

php
public function getOverloads() : array

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