Package io.papermc.paper.registry.data
Interface WolfVariantRegistryEntry.Builder
- All Superinterfaces:
RegistryBuilder<Wolf.Variant>
,WolfVariantRegistryEntry
- Enclosing interface:
WolfVariantRegistryEntry
@Experimental
@NonExtendable
public static interface WolfVariantRegistryEntry.Builder
extends WolfVariantRegistryEntry, RegistryBuilder<Wolf.Variant>
A mutable builder for the
WolfVariantRegistryEntry
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.WolfVariantRegistryEntry
WolfVariantRegistryEntry.Builder
-
Method Summary
Modifier and TypeMethodDescriptionangryClientTextureAsset
(ClientTextureAsset angryClientTextureAsset) Sets the client texture asset of the wolf variant for when it is angry, which is the location of the texture to use.tameClientTextureAsset
(ClientTextureAsset tameClientTextureAsset) Sets the client texture asset of the wolf variant for when it is tame, which is the location of the texture to use.wildClientTextureAsset
(ClientTextureAsset wildClientTextureAsset) Sets the client texture asset of the wolf variant for when it is wild, which is the location of the texture to use.Methods inherited from interface io.papermc.paper.registry.data.WolfVariantRegistryEntry
angryClientTextureAsset, tameClientTextureAsset, wildClientTextureAsset
-
Method Details
-
angryClientTextureAsset
@Contract(value="_ -> this", mutates="this") WolfVariantRegistryEntry.Builder angryClientTextureAsset(ClientTextureAsset angryClientTextureAsset) Sets the client texture asset of the wolf variant for when it is angry, which is the location of the texture to use.- Parameters:
angryClientTextureAsset
- the client texture asset.- Returns:
- this builder instance.
- See Also:
-
wildClientTextureAsset
@Contract(value="_ -> this", mutates="this") WolfVariantRegistryEntry.Builder wildClientTextureAsset(ClientTextureAsset wildClientTextureAsset) Sets the client texture asset of the wolf variant for when it is wild, which is the location of the texture to use.- Parameters:
wildClientTextureAsset
- the client texture asset.- Returns:
- this builder instance.
- See Also:
-
tameClientTextureAsset
@Contract(value="_ -> this", mutates="this") WolfVariantRegistryEntry.Builder tameClientTextureAsset(ClientTextureAsset tameClientTextureAsset) Sets the client texture asset of the wolf variant for when it is tame, which is the location of the texture to use.- Parameters:
tameClientTextureAsset
- the client texture asset.- Returns:
- this builder instance.
- See Also:
-