Interface TrimPatternRegistryEntry.Builder
- All Superinterfaces:
RegistryBuilder<TrimPattern>, TrimPatternRegistryEntry
- Enclosing interface:
TrimPatternRegistryEntry
@Experimental
@NonExtendable
public static interface TrimPatternRegistryEntry.Builder
extends TrimPatternRegistryEntry, RegistryBuilder<TrimPattern>
A mutable builder for
TrimPatternRegistryEntry plugins may change in applicable registry events.
The following values are required for each builder:
-
Nested Class Summary
Nested classes/interfaces inherited from interface TrimPatternRegistryEntry
TrimPatternRegistryEntry.Builder -
Method Summary
Modifier and TypeMethodDescriptionSets the asset id for the trim pattern.decal(boolean decal) Sets whether the trim pattern is a decal.description(Component description) Sets the description for the trim pattern.Methods inherited from interface TrimPatternRegistryEntry
assetId, decal, description
-
Method Details
-
assetId
Sets the asset id for the trim pattern.- Parameters:
assetId- the asset id- Returns:
- this builder instance
- See Also:
-
description
@Contract(value="_ -> this", mutates="this") TrimPatternRegistryEntry.Builder description(Component description) Sets the description for the trim pattern.- Parameters:
description- the description- Returns:
- this builder instance
- See Also:
-
decal
Sets whether the trim pattern is a decal.- Parameters:
decal- true if decal, false otherwise- Returns:
- this builder instance
- See Also:
-