Package io.papermc.paper.registry.data
Interface PigVariantRegistryEntry
- All Known Subinterfaces:
PigVariantRegistryEntry.Builder
A data-centric version-specific registry entry for the
Pig.Variant
type.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A mutable builder for thePigVariantRegistryEntry
plugins may change in applicable registry events.static enum
The model of the pig variant to render the configured texture on. -
Method Summary
Modifier and TypeMethodDescriptionProvides the client texture asset of the pig variant, which represents the texture to use.model()
Provides the model of the pig variant.
-
Method Details
-
clientTextureAsset
ClientTextureAsset clientTextureAsset()Provides the client texture asset of the pig variant, which represents the texture to use.- Returns:
- the client texture asset.
-
model
PigVariantRegistryEntry.Model model()Provides the model of the pig variant.- Returns:
- the model.
-