Interface CowVariantRegistryEntry.Builder
- All Superinterfaces:
CowVariantRegistryEntry, RegistryBuilder<Cow.Variant>
- Enclosing interface:
CowVariantRegistryEntry
@Experimental
@NonExtendable
public static interface CowVariantRegistryEntry.Builder
extends CowVariantRegistryEntry, RegistryBuilder<Cow.Variant>
A mutable builder for the
CowVariantRegistryEntry plugins may change in applicable registry events.
The following values are required for each builder:
-
Nested Class Summary
Nested classes/interfaces inherited from interface CowVariantRegistryEntry
CowVariantRegistryEntry.Builder, CowVariantRegistryEntry.Model -
Method Summary
Modifier and TypeMethodDescriptionbabyClientTextureAsset(ClientTextureAsset babyClientTextureAsset) Sets the client texture asset of the baby cow variant, which is the location of the texture to use.clientTextureAsset(ClientTextureAsset clientTextureAsset) Sets the client texture asset of the cow variant, which is the location of the texture to use.Sets the model to use for this cow variant.Methods inherited from interface CowVariantRegistryEntry
babyClientTextureAsset, clientTextureAsset, model
-
Method Details
-
clientTextureAsset
@Contract(value="_ -> this", mutates="this") CowVariantRegistryEntry.Builder clientTextureAsset(ClientTextureAsset clientTextureAsset) Sets the client texture asset of the cow variant, which is the location of the texture to use.- Parameters:
clientTextureAsset- the client texture asset.- Returns:
- this builder instance.
- See Also:
-
babyClientTextureAsset
@Contract(value="_ -> this", mutates="this") CowVariantRegistryEntry.Builder babyClientTextureAsset(ClientTextureAsset babyClientTextureAsset) Sets the client texture asset of the baby cow variant, which is the location of the texture to use.- Parameters:
babyClientTextureAsset- the baby client texture asset.- Returns:
- this builder instance.
- See Also:
-
model
@Contract(value="_ -> this", mutates="this") CowVariantRegistryEntry.Builder model(CowVariantRegistryEntry.Model model) Sets the model to use for this cow variant.- Parameters:
model- the model.- Returns:
- this builder instance.
- See Also:
-