mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added new note instruments up to 1.19
1.20 adds extra ones for each type of mob head, but we're not supporting 1.20 yet.
This commit is contained in:
@ -31,11 +31,22 @@ use pocketmine\utils\EnumTrait;
|
||||
* @see build/generate-registry-annotations.php
|
||||
* @generate-registry-docblock
|
||||
*
|
||||
* @method static NoteInstrument BANJO()
|
||||
* @method static NoteInstrument BASS_DRUM()
|
||||
* @method static NoteInstrument BELL()
|
||||
* @method static NoteInstrument BIT()
|
||||
* @method static NoteInstrument CHIME()
|
||||
* @method static NoteInstrument CLICKS_AND_STICKS()
|
||||
* @method static NoteInstrument COW_BELL()
|
||||
* @method static NoteInstrument DIDGERIDOO()
|
||||
* @method static NoteInstrument DOUBLE_BASS()
|
||||
* @method static NoteInstrument FLUTE()
|
||||
* @method static NoteInstrument GUITAR()
|
||||
* @method static NoteInstrument IRON_XYLOPHONE()
|
||||
* @method static NoteInstrument PIANO()
|
||||
* @method static NoteInstrument PLING()
|
||||
* @method static NoteInstrument SNARE()
|
||||
* @method static NoteInstrument XYLOPHONE()
|
||||
*/
|
||||
final class NoteInstrument{
|
||||
use EnumTrait;
|
||||
@ -46,7 +57,18 @@ final class NoteInstrument{
|
||||
new self("bass_drum"),
|
||||
new self("snare"),
|
||||
new self("clicks_and_sticks"),
|
||||
new self("double_bass")
|
||||
new self("double_bass"),
|
||||
new self("bell"),
|
||||
new self("flute"),
|
||||
new self("chime"),
|
||||
new self("guitar"),
|
||||
new self("xylophone"),
|
||||
new self("iron_xylophone"),
|
||||
new self("cow_bell"),
|
||||
new self("didgeridoo"),
|
||||
new self("bit"),
|
||||
new self("banjo"),
|
||||
new self("pling")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user