- All Superinterfaces:
AbstractBuilder<SelectorComponent>,ComponentBuilder<SelectorComponent,,SelectorComponent.Builder> ComponentBuilderApplicable,ComponentLike,MutableStyleSetter<SelectorComponent.Builder>,StyleSetter<SelectorComponent.Builder>
- Enclosing interface:
SelectorComponent
public static sealed interface SelectorComponent.Builder
extends ComponentBuilder<SelectorComponent,SelectorComponent.Builder>
A selector component builder.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the selector pattern.separator(@Nullable ComponentLike separator) Sets the separator.Methods inherited from interface net.kyori.adventure.text.ComponentBuilder
append, append, append, append, append, append, appendNewline, appendSpace, applicableApply, apply, applyDeep, asComponent, build, children, clickEvent, color, colorIfAbsent, componentBuilderApply, decorate, decorate, decoration, decoration, decorationIfAbsent, decorations, decorations, font, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeStyle, mergeStyle, mergeStyle, resetStyle, style, styleMethods inherited from interface net.kyori.adventure.text.format.StyleSetter
shadowColor, shadowColorIfAbsent
-
Method Details
-
pattern
Sets the selector pattern.- Parameters:
pattern- the selector pattern- Returns:
- this builder
- Since:
- 4.0.0
-
separator
Sets the separator.- Parameters:
separator- the separator- Returns:
- this builder
- Since:
- 4.8.0
-