PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\world\sound\NoteSound Class Reference
+ Inheritance diagram for pocketmine\world\sound\NoteSound:
+ Collaboration diagram for pocketmine\world\sound\NoteSound:

Public Member Functions

 __construct (private NoteInstrument $instrument, private int $note)
 
 encode (Vector3 $pos)
 

Detailed Description

Definition at line 31 of file NoteSound.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\sound\NoteSound::__construct ( private NoteInstrument $instrument,
private int $note )

Definition at line 32 of file NoteSound.php.

Member Function Documentation

◆ encode()

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

Implements pocketmine\world\sound\Sound.

Definition at line 41 of file NoteSound.php.


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