Package net.kyori.adventure.text
Interface SelectorComponent.Builder
- All Superinterfaces:
Buildable.Builder<SelectorComponent>
,ComponentBuilder<SelectorComponent,SelectorComponent.Builder>
,ComponentBuilderApplicable
,ComponentLike
- Enclosing interface:
- SelectorComponent
public static interface SelectorComponent.Builder extends ComponentBuilder<SelectorComponent,SelectorComponent.Builder>
A selector component builder.
- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description @NonNull SelectorComponent.Builder
pattern(@NonNull String pattern)
Sets the selector pattern.Methods inherited from interface net.kyori.adventure.text.ComponentBuilder
append, append, append, append, append, append, applicableApply, apply, applyDeep, asComponent, build, clickEvent, color, colorIfAbsent, componentBuilderApply, decorate, decorate, decoration, decoration, decorations, font, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeStyle, mergeStyle, mergeStyle, resetStyle, style, style
-
Method Details
-
pattern
Sets the selector pattern.- Parameters:
pattern
- the selector pattern- Returns:
- this builder
- Since:
- 4.0.0
-