Uses of Interface
net.kyori.adventure.text.TranslatableComponent.Builder
Packages that use TranslatableComponent.Builder
Package
Description
Data for controlling components, their styles, and events.
-
Uses of TranslatableComponent.Builder in net.kyori.adventure.text
Subinterfaces with type arguments of type TranslatableComponent.Builder in net.kyori.adventure.textModifier and TypeInterfaceDescriptionstatic interfaceA text component builder.Methods in net.kyori.adventure.text that return TranslatableComponent.BuilderModifier and TypeMethodDescriptionTranslatableComponent.Builder.arguments(List<? extends ComponentLike> args) Sets the translation args.TranslatableComponent.Builder.arguments(ComponentLike... args) Sets the translation args.Sets the translation fallback text.Sets the translation key.default TranslatableComponent.BuilderTranslatableComponent.Builder.key(Translatable translatable) Sets the translation key.TranslatableComponent.toBuilder()Component.translatable()Creates a translatable component builder.Method parameters in net.kyori.adventure.text with type arguments of type TranslatableComponent.BuilderModifier and TypeMethodDescriptionstatic TranslatableComponentComponent.translatable(Consumer<? super TranslatableComponent.Builder> consumer) Creates a translatable component by applying configuration fromconsumer.