Package net.kyori.adventure.text
Interface TextComponent.Builder
- All Superinterfaces:
Buildable.Builder<TextComponent>,ComponentBuilder<TextComponent,TextComponent.Builder>,ComponentBuilderApplicable,ComponentLike
- Enclosing interface:
- TextComponent
public static interface TextComponent.Builder extends ComponentBuilder<TextComponent,TextComponent.Builder>
A text component builder.
- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description @NonNull Stringcontent()Gets the plain text content.@NonNull TextComponent.Buildercontent(@NonNull String content)Sets the plain text content.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