Package io.papermc.paper.registry.keys
Class InstrumentKeys
java.lang.Object
io.papermc.paper.registry.keys.InstrumentKeys
Vanilla keys for
RegistryKey.INSTRUMENT
.- API Note:
- The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TypedKey
<MusicInstrument> minecraft:admire_goat_horn
static final TypedKey
<MusicInstrument> minecraft:call_goat_horn
static final TypedKey
<MusicInstrument> minecraft:dream_goat_horn
static final TypedKey
<MusicInstrument> minecraft:feel_goat_horn
static final TypedKey
<MusicInstrument> minecraft:ponder_goat_horn
static final TypedKey
<MusicInstrument> minecraft:seek_goat_horn
static final TypedKey
<MusicInstrument> minecraft:sing_goat_horn
static final TypedKey
<MusicInstrument> minecraft:yearn_goat_horn
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypedKey
<MusicInstrument> Creates a key forMusicInstrument
in the registryminecraft:instrument
.
-
Field Details
-
ADMIRE_GOAT_HORN
minecraft:admire_goat_horn
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
CALL_GOAT_HORN
minecraft:call_goat_horn
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
DREAM_GOAT_HORN
minecraft:dream_goat_horn
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FEEL_GOAT_HORN
minecraft:feel_goat_horn
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PONDER_GOAT_HORN
minecraft:ponder_goat_horn
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SEEK_GOAT_HORN
minecraft:seek_goat_horn
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SING_GOAT_HORN
minecraft:sing_goat_horn
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
YEARN_GOAT_HORN
minecraft:yearn_goat_horn
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
Creates a key forMusicInstrument
in the registryminecraft:instrument
.- Parameters:
key
- the value's key in the registry- Returns:
- a new typed key
-