Skip to content

ClickFailSound 5.46.0 ​

class · pocketmine\world\sound\ClickFailSound · source

Implements Sound

Click played by a dispenser or dropper with nothing to dispense (LevelEvent 1001, pitch 1.2 per the Minecraft Wiki "Dispenser" sounds table).

Methods ​

__construct() ​

php
public function __construct(float $pitch = 1.2)

encode() ​

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

getPitch() ​

php
public function getPitch() : float

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