Package io.papermc.paper.registry.data
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 io.papermc.paper.registry.data.ChickenVariantRegistryEntry
ChickenVariantRegistryEntry.Builder, ChickenVariantRegistryEntry.Model
-
Method Summary
Modifier and TypeMethodDescriptionclientTextureAsset
(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 io.papermc.paper.registry.data.ChickenVariantRegistryEntry
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:
-
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:
-