Uses of Interface
net.kyori.adventure.text.format.StyleBuilderApplicable
Packages that use StyleBuilderApplicable
Package
Description
Data for controlling components, their styles, and events.
Events that occur when players interact with components.
Formats which may be applied to components.
-
Uses of StyleBuilderApplicable in net.kyori.adventure.text
Methods in net.kyori.adventure.text with parameters of type StyleBuilderApplicableModifier and TypeMethodDescriptiondefault ComponentComponent.applyFallbackStyle(StyleBuilderApplicable... style) Apply a fallback style for this component and its children.default CScopedComponent.applyFallbackStyle(StyleBuilderApplicable... style) static TranslatableComponentComponent.translatable(String key, @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(String key, @Nullable String fallback, 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, StyleBuilderApplicable... style) Creates a translatable component with a translation key, optional fallback string, and arguments.static <C> VirtualComponentComponent.virtual(Class<C> contextType, VirtualComponentRenderer<C> renderer, StyleBuilderApplicable... style) Creates a virtual component with a value.Method parameters in net.kyori.adventure.text with type arguments of type StyleBuilderApplicableModifier and TypeMethodDescriptionstatic TranslatableComponentComponent.translatable(String key, @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, 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 <C> VirtualComponentComponent.virtual(Class<C> contextType, VirtualComponentRenderer<C> renderer, Iterable<StyleBuilderApplicable> style) Creates a virtual component with a value. -
Uses of StyleBuilderApplicable in net.kyori.adventure.text.event
Classes in net.kyori.adventure.text.event that implement StyleBuilderApplicableModifier and TypeClassDescriptionfinal classClickEvent<T extends ClickEvent.Payload>A click event.final classHoverEvent<V>A hover event. -
Uses of StyleBuilderApplicable in net.kyori.adventure.text.format
Subinterfaces of StyleBuilderApplicable in net.kyori.adventure.text.formatModifier and TypeInterfaceDescriptioninterfaceA shadow color which may be applied to aStyle.interfaceA color which may be applied to aStyle.interfaceA combination of aTextDecorationand aTextDecoration.State.Classes in net.kyori.adventure.text.format that implement StyleBuilderApplicableModifier and TypeClassDescriptionfinal classThe named text colours in Minecraft: Java Edition.enumAn enumeration of decorations which may be applied to aComponent.Methods in net.kyori.adventure.text.format with parameters of type StyleBuilderApplicableModifier and TypeMethodDescriptiondefault Style.BuilderStyle.Builder.apply(StyleBuilderApplicable applicable) Appliesapplicableto this builder.static StyleStyle.style(@Nullable StyleBuilderApplicable... applicables) Creates a style withapplicablesapplied.Method parameters in net.kyori.adventure.text.format with type arguments of type StyleBuilderApplicableModifier and TypeMethodDescriptionstatic StyleStyle.style(Iterable<? extends StyleBuilderApplicable> applicables) Creates a style withapplicablesapplied.