PocketMine-MP 5.15.1 git-ed158f8a1b0cfe334ac5f45febc0f633602014f2
pocketmine\world\sound\ClickSound Class Reference
+ Inheritance diagram for pocketmine\world\sound\ClickSound:
+ Collaboration diagram for pocketmine\world\sound\ClickSound:

Public Member Functions

 __construct (private float $pitch=0)
 
 encode (Vector3 $pos)
 
 getPitch ()
 

Detailed Description

Definition at line 30 of file ClickSound.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\sound\ClickSound::__construct ( private float  $pitch = 0)

Definition at line 31 of file ClickSound.php.

Member Function Documentation

◆ encode()

pocketmine\world\sound\ClickSound::encode ( Vector3  $pos)
Returns
ClientboundPacket[]

Implements pocketmine\world\sound\Sound.

Definition at line 37 of file ClickSound.php.

◆ getPitch()

pocketmine\world\sound\ClickSound::getPitch ( )

Definition at line 33 of file ClickSound.php.


The documentation for this class was generated from the following file: