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