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 io.papermc.paper.datacomponent
Modifier and TypeFieldDescriptionstatic final DataComponentType.Valued
<MusicInstrument> DataComponentTypes.INSTRUMENT
Holds the instrument type used by a Goat Horn. -
Uses of MusicInstrument in io.papermc.paper.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<MusicInstrument> RegistryKey.INSTRUMENT
Data-driven registry for instruments. -
Uses of MusicInstrument in io.papermc.paper.registry.keys
Modifier and TypeFieldDescriptionstatic final TypedKey
<MusicInstrument> InstrumentKeys.ADMIRE_GOAT_HORN
minecraft:admire_goat_horn
static final TypedKey
<MusicInstrument> InstrumentKeys.CALL_GOAT_HORN
minecraft:call_goat_horn
static final TypedKey
<MusicInstrument> InstrumentKeys.DREAM_GOAT_HORN
minecraft:dream_goat_horn
static final TypedKey
<MusicInstrument> InstrumentKeys.FEEL_GOAT_HORN
minecraft:feel_goat_horn
static final TypedKey
<MusicInstrument> InstrumentKeys.PONDER_GOAT_HORN
minecraft:ponder_goat_horn
static final TypedKey
<MusicInstrument> InstrumentKeys.SEEK_GOAT_HORN
minecraft:seek_goat_horn
static final TypedKey
<MusicInstrument> InstrumentKeys.SING_GOAT_HORN
minecraft:sing_goat_horn
static final TypedKey
<MusicInstrument> InstrumentKeys.YEARN_GOAT_HORN
minecraft:yearn_goat_horn
Modifier and TypeMethodDescriptionstatic TypedKey
<MusicInstrument> Creates a key forMusicInstrument
in the registryminecraft:instrument
. -
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
Deprecated.Modifier and TypeMethodDescriptionstatic @Nullable MusicInstrument
MusicInstrument.getByKey
(@NotNull NamespacedKey namespacedKey) Deprecated.UseRegistry.get(NamespacedKey)
instead.Modifier and TypeMethodDescriptionstatic @NotNull 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
(@Nullable MusicInstrument instrument) Sets the goat horn's instrument.
RegistryAccess.getRegistry(io.papermc.paper.registry.RegistryKey)
withRegistryKey.INSTRUMENT