PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
__construct (private Color $color) | |
encode (Vector3 $pos) | |
getColor () | |
Static Public Member Functions | |
static | DEFAULT_COLOR () |
Definition at line 31 of file PotionSplashParticle.php.
pocketmine\world\particle\PotionSplashParticle::__construct | ( | private Color | $color | ) |
Definition at line 32 of file PotionSplashParticle.php.
|
static |
Returns the default water-bottle splash colour.
TODO: replace this with a standard surrogate object constant (first we need to implement them!)
Definition at line 39 of file PotionSplashParticle.php.
pocketmine\world\particle\PotionSplashParticle::encode | ( | Vector3 | $pos | ) |
Implements pocketmine\world\particle\Particle.
Definition at line 47 of file PotionSplashParticle.php.
pocketmine\world\particle\PotionSplashParticle::getColor | ( | ) |
Definition at line 43 of file PotionSplashParticle.php.