Interface BannerPatternLayers.Builder
- All Superinterfaces:
DataComponentBuilder<BannerPatternLayers>
- Enclosing interface:
BannerPatternLayers
@Experimental
@NonExtendable
public static interface BannerPatternLayers.Builder
extends DataComponentBuilder<BannerPatternLayers>
Builder for
BannerPatternLayers
.-
Method Summary
Modifier and TypeMethodDescriptionAdds a pattern to the banner.Adds multiple patterns to the banner.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
add
Adds a pattern to the banner.- Parameters:
pattern
- the pattern- Returns:
- the builder for chaining
- See Also:
-
addAll
@Contract(value="_ -> this", mutates="this") BannerPatternLayers.Builder addAll(List<Pattern> patterns) Adds multiple patterns to the banner.- Parameters:
patterns
- the patterns- Returns:
- the builder for chaining
- See Also:
-