Interface TrimMaterialRegistryEntry.Builder
- All Superinterfaces:
RegistryBuilder<TrimMaterial>, TrimMaterialRegistryEntry
- Enclosing interface:
TrimMaterialRegistryEntry
@NonExtendable
public static interface TrimMaterialRegistryEntry.Builder
extends TrimMaterialRegistryEntry, RegistryBuilder<TrimMaterial>
A mutable builder for
TrimMaterialRegistryEntry plugins may change in applicable registry events.
The following values are required for each builder:
-
Nested Class Summary
Nested classes/interfaces inherited from interface TrimMaterialRegistryEntry
TrimMaterialRegistryEntry.Builder -
Method Summary
Modifier and TypeMethodDescriptiondescription(Component description) Sets the description for the trim material.Sets the palette texture key to be used for this trim material.Methods inherited from interface TrimMaterialRegistryEntry
description, paletteId
-
Method Details
-
paletteId
@Contract(value="_ -> this", mutates="this") TrimMaterialRegistryEntry.Builder paletteId(Key paletteId) Sets the palette texture key to be used for this trim material.- Parameters:
paletteId- the palette texture key- Returns:
- this builder instance
- See Also:
-
description
@Contract(value="_ -> this", mutates="this") TrimMaterialRegistryEntry.Builder description(Component description) Sets the description for the trim material.- Parameters:
description- the description- Returns:
- this builder instance
- See Also:
-