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 CatTypeRegistryEntry
CatTypeRegistryEntry.Builder -
Method Summary
Modifier and TypeMethodDescriptionbabyClientTextureAsset(ClientTextureAsset babyClientTextureAsset) Sets the client texture asset of the cat type for baby cats.clientTextureAsset(ClientTextureAsset clientTextureAsset) Sets the client texture asset of the cat type, which is the location of the texture to use.Methods inherited from interface CatTypeRegistryEntry
babyClientTextureAsset, 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:
-
babyClientTextureAsset
@Contract(value="_ -> this", mutates="this") CatTypeRegistryEntry.Builder babyClientTextureAsset(ClientTextureAsset babyClientTextureAsset) Sets the client texture asset of the cat type for baby cats.- Parameters:
babyClientTextureAsset- the baby client texture asset.- Returns:
- this builder instance.
- See Also:
-