Uses of Interface
net.kyori.adventure.text.TextComponent.Builder
Packages that use TextComponent.Builder
Package
Description
Data for controlling components, their styles, and events.
-
Uses of TextComponent.Builder in net.kyori.adventure.text
Methods in net.kyori.adventure.text that return TextComponent.BuilderModifier and TypeMethodDescriptionSets the plain text content.static TextComponent.BuilderComponent.text()Creates a text component builder.TextComponent.toBuilder()Method parameters in net.kyori.adventure.text with type arguments of type TextComponent.BuilderModifier and TypeMethodDescriptionTextReplacementConfig.Builder.replacement(BiFunction<MatchResult, TextComponent.Builder, @Nullable ComponentLike> replacement) Supply a function that provides replacements for each match, with access to group information.default TextReplacementConfig.BuilderTextReplacementConfig.Builder.replacement(Function<TextComponent.Builder, @Nullable ComponentLike> replacement) Supply a function that provides replacements for each match.static TextComponentComponent.text(Consumer<? super TextComponent.Builder> consumer) Creates a text component by applying configuration fromconsumer.