|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for pocketmine\world\particle\PotionSplashParticle:
Collaboration diagram for pocketmine\world\particle\PotionSplashParticle: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.