Package io.papermc.paper.registry.data
Interface CatTypeRegistryEntry.Builder
- All Superinterfaces:
CatTypeRegistryEntry
,RegistryBuilder<Cat.Type>
- Enclosing interface:
CatTypeRegistryEntry
@Experimental
@NonExtendable
public static interface CatTypeRegistryEntry.Builder
extends CatTypeRegistryEntry, RegistryBuilder<Cat.Type>
A mutable builder for the
CatTypeRegistryEntry
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.CatTypeRegistryEntry
CatTypeRegistryEntry.Builder
-
Method Summary
Modifier and TypeMethodDescriptionclientTextureAsset
(ClientTextureAsset clientTextureAsset) Sets the client texture asset of the cat type, which is the location of the texture to use.Methods inherited from interface io.papermc.paper.registry.data.CatTypeRegistryEntry
clientTextureAsset
-
Method Details
-
clientTextureAsset
@Contract(value="_ -> this", mutates="this") CatTypeRegistryEntry.Builder clientTextureAsset(ClientTextureAsset clientTextureAsset) Sets the client texture asset of the cat type, which is the location of the texture to use.- Parameters:
clientTextureAsset
- the client texture asset.- Returns:
- this builder instance.
- See Also:
-