Uses of Interface
net.kyori.adventure.translation.Translatable
Packages that use Translatable
Package
Description
Data for controlling components, their styles, and events.
-
Uses of Translatable in net.kyori.adventure.text
Methods in net.kyori.adventure.text with parameters of type TranslatableModifier and TypeMethodDescriptiondefault TranslatableComponent.BuilderTranslatableComponent.Builder.key(Translatable translatable) Sets the translation key.default TranslatableComponentTranslatableComponent.key(Translatable translatable) Sets the translation key.static TranslatableComponentComponent.translatable(Translatable translatable) Creates a translatable component with a translation key.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable String fallback) Creates a translatable component with a translation key and an optional fallback string.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable String fallback, Iterable<StyleBuilderApplicable> style) Creates a translatable component with a translation key, optional fallback string, and styling.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable String fallback, List<? extends ComponentLike> args, Iterable<StyleBuilderApplicable> style) Creates a translatable component with a translation key, optional fallback string, and arguments.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable String fallback, List<? extends ComponentLike> args, StyleBuilderApplicable... style) Creates a translatable component with a translation key, optional fallback string, and arguments.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable String fallback, ComponentLike... args) Creates a translatable component with a translation key, optional fallback string, and arguments.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable String fallback, Style style) Creates a translatable component with a translation key, optional fallback string, and styling.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable String fallback, Style style, List<? extends ComponentLike> args) Creates a translatable component with a translation key, optional fallback string, and arguments.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable String fallback, Style style, ComponentLike... args) Creates a translatable component with a translation key, optional fallback string, and styling.static TranslatableComponentComponent.translatable(Translatable translatable, List<? extends ComponentLike> args) Creates a translatable component with a translation key and arguments.static TranslatableComponentComponent.translatable(Translatable translatable, ComponentLike... args) Creates a translatable component with a translation key and arguments.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable TextColor color) Creates a translatable component with a translation key, and optional color.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable TextColor color, List<? extends ComponentLike> args) Creates a translatable component with a translation key, arguments, and optional color.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable TextColor color, Set<TextDecoration> decorations) Creates a translatable component with a translation key, and optional color and decorations.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable TextColor color, Set<TextDecoration> decorations, List<? extends ComponentLike> args) Creates a translatable component with a translation key, arguments, and optional color and decorations.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable TextColor color, Set<TextDecoration> decorations, ComponentLike... args) Creates a translatable component with a translation key, arguments, and optional color and decorations.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable TextColor color, ComponentLike... args) Creates a translatable component with a translation key, arguments, and optional color.static TranslatableComponentComponent.translatable(Translatable translatable, @Nullable TextColor color, TextDecoration... decorations) Creates a translatable component with a translation key, and optional color and decorations.static TranslatableComponentComponent.translatable(Translatable translatable, Style style) Creates a translatable component with a translation key and styling.static TranslatableComponentComponent.translatable(Translatable translatable, Style style, List<? extends ComponentLike> args) Creates a translatable component with a translation key and styling.static TranslatableComponentComponent.translatable(Translatable translatable, Style style, ComponentLike... args) Creates a translatable component with a translation key and styling.