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

Public Member Functions

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

Detailed Description

Definition at line 30 of file PopSound.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 31 of file PopSound.php.

Member Function Documentation

◆ encode()

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

Implements pocketmine\world\sound\Sound.

Definition at line 37 of file PopSound.php.

◆ getPitch()

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

Definition at line 33 of file PopSound.php.


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