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_GOAT_HORN
static final MusicInstrument
MusicInstrument.CALL_GOAT_HORN
static final MusicInstrument
MusicInstrument.DREAM_GOAT_HORN
static final MusicInstrument
MusicInstrument.FEEL_GOAT_HORN
static final MusicInstrument
MusicInstrument.PONDER_GOAT_HORN
static final MusicInstrument
MusicInstrument.SEEK_GOAT_HORN
static final MusicInstrument
MusicInstrument.SING_GOAT_HORN
static final MusicInstrument
MusicInstrument.YEARN_GOAT_HORN
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.