Uses of Class
org.bukkit.MusicInstrument
Package
Description
The root package of the Bukkit API, contains generalized API classes.
The interfaces used when manipulating extra data can can be stored inside
item stacks
.-
Uses of MusicInstrument in org.bukkit
Modifier and TypeFieldDescriptionstatic final MusicInstrument
MusicInstrument.ADMIRE
static final MusicInstrument
MusicInstrument.CALL
static final MusicInstrument
MusicInstrument.DREAM
static final MusicInstrument
MusicInstrument.FEEL
static final MusicInstrument
MusicInstrument.PONDER
static final MusicInstrument
MusicInstrument.SEEK
static final MusicInstrument
MusicInstrument.SING
static final MusicInstrument
MusicInstrument.YEARN
Modifier and TypeFieldDescriptionstatic final Registry<MusicInstrument>
Registry.INSTRUMENT
Server instruments.Modifier and TypeMethodDescriptionstatic MusicInstrument
MusicInstrument.getByKey
(NamespacedKey namespacedKey) Deprecated.Modifier and TypeMethodDescriptionstatic Collection<MusicInstrument>
MusicInstrument.values()
Deprecated.useIterable.iterator()
. -
Uses of MusicInstrument in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionMusicInstrumentMeta.getInstrument()
Gets the instrument of the goat horn.Modifier and TypeMethodDescriptionvoid
MusicInstrumentMeta.setInstrument
(MusicInstrument instrument) Sets the goat horn's instrument.
Registry.get(NamespacedKey)
instead.