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