Class InstrumentTagKeys
java.lang.Object
io.papermc.paper.registry.keys.tags.InstrumentTagKeys
Vanilla tag 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
FieldsModifier and TypeFieldDescriptionstatic final TagKey<MusicInstrument> #minecraft:goat_hornsstatic final TagKey<MusicInstrument> #minecraft:regular_goat_hornsstatic final TagKey<MusicInstrument> #minecraft:screaming_goat_horns -
Method Summary
Modifier and TypeMethodDescriptionstatic TagKey<MusicInstrument> Creates a tag key forMusicInstrumentin the registryminecraft:instrument.
-
Field Details
-
GOAT_HORNS
#minecraft:goat_horns- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
REGULAR_GOAT_HORNS
#minecraft:regular_goat_horns- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SCREAMING_GOAT_HORNS
#minecraft:screaming_goat_horns- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
Creates a tag key forMusicInstrumentin the registryminecraft:instrument.- Parameters:
key- the tag key's key- Returns:
- a new tag key
-