Class PigSoundVariantKeys
java.lang.Object
io.papermc.paper.registry.keys.PigSoundVariantKeys
Vanilla keys for
RegistryKey.PIG_SOUND_VARIANT.- 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 TypedKey<Pig.SoundVariant> minecraft:bigstatic final TypedKey<Pig.SoundVariant> minecraft:classicstatic final TypedKey<Pig.SoundVariant> minecraft:mini -
Method Summary
Modifier and TypeMethodDescriptionstatic TypedKey<Pig.SoundVariant> Creates a typed key forPig.SoundVariantin the registryminecraft:pig_sound_variant.
-
Field Details
-
BIG
minecraft:big- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
CLASSIC
minecraft:classic- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
MINI
minecraft:mini- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
Creates a typed key forPig.SoundVariantin the registryminecraft:pig_sound_variant.- Parameters:
key- the value's key in the registry- Returns:
- a new typed key
-