PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
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: