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 TypeMethodDescriptionstatic @Nullable MusicInstrument
MusicInstrument.getByKey
(@NotNull NamespacedKey namespacedKey) Returns aMusicInstrument
by aNamespacedKey
.Modifier and TypeMethodDescriptionstatic @NotNull Collection<MusicInstrument>
MusicInstrument.values()
Returns all known MusicInstruments. -
Uses of MusicInstrument in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionMusicInstrumentMeta.getInstrument()
Gets the instrument of the goat horn.Modifier and TypeMethodDescriptionvoid
MusicInstrumentMeta.setInstrument
(@Nullable MusicInstrument instrument) Sets the goat horn's instrument.