Skip to content

PotionSplashParticle ​

class · pocketmine\world\particle\PotionSplashParticle · source

Implements Particle

Methods ​

DEFAULT_COLOR() ​

php
public static function DEFAULT_COLOR() : \pocketmine\color\Color

Returns the default water-bottle splash colour.

TODO: replace this with a standard surrogate object constant (first we need to implement them!)

__construct() ​

php
public function __construct(\pocketmine\color\Color $color)

encode() ​

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

getColor() ​

php
public function getColor() : \pocketmine\color\Color

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