Skip to content

CopperWaxParticle 5.47.0 ​

class · pocketmine\world\particle\CopperWaxParticle · source

Implements Particle

Particles of copper being waxed (orange), unwaxed (white) or scraped (turquoise): LevelEvent COPPER_WAX_ON, COPPER_WAX_OFF and COPPER_SCRAPE (2030-2032, data 0). The client plays the matching sound with them.

Constants ​

SCRAPE ​

php
public const SCRAPE = \pocketmine\network\mcpe\protocol\types\LevelEvent::COPPER_SCRAPE

WAX_OFF ​

php
public const WAX_OFF = \pocketmine\network\mcpe\protocol\types\LevelEvent::COPPER_WAX_OFF

WAX_ON ​

php
public const WAX_ON = \pocketmine\network\mcpe\protocol\types\LevelEvent::COPPER_WAX_ON

Methods ​

__construct() ​

php
public function __construct(int $event)

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.