Uses of Interface
net.kyori.adventure.text.KeybindComponent
Packages that use KeybindComponent
Package
Description
Data for controlling components, their styles, and events.
Component rendering.
-
Uses of KeybindComponent in net.kyori.adventure.text
Methods in net.kyori.adventure.text that return KeybindComponentModifier and TypeMethodDescriptionstatic KeybindComponentCreates a keybind component with a keybind.static KeybindComponentCreates a keybind component with a keybind, and optional color.static KeybindComponentComponent.keybind(String keybind, @Nullable TextColor color, Set<TextDecoration> decorations) Creates a keybind component with a keybind, and optional color and decorations.static KeybindComponentComponent.keybind(String keybind, @Nullable TextColor color, TextDecoration... decorations) Creates a keybind component with a keybind, and optional color and decorations.static KeybindComponentCreates a keybind component with a keybind and styling.static KeybindComponentComponent.keybind(Consumer<? super KeybindComponent.Builder> consumer) Creates a keybind component by applying configuration fromconsumer.static KeybindComponentComponent.keybind(KeybindComponent.KeybindLike keybind) Creates a keybind component with a keybind.static KeybindComponentComponent.keybind(KeybindComponent.KeybindLike keybind, @Nullable TextColor color) Creates a keybind component with a keybind, and optional color.static KeybindComponentComponent.keybind(KeybindComponent.KeybindLike keybind, @Nullable TextColor color, Set<TextDecoration> decorations) Creates a keybind component with a keybind, and optional color and decorations.static KeybindComponentComponent.keybind(KeybindComponent.KeybindLike keybind, @Nullable TextColor color, TextDecoration... decorations) Creates a keybind component with a keybind, and optional color and decorations.static KeybindComponentComponent.keybind(KeybindComponent.KeybindLike keybind, Style style) Creates a keybind component with a keybind and styling.Sets the keybind.default KeybindComponentKeybindComponent.keybind(KeybindComponent.KeybindLike keybind) Sets the keybind. -
Uses of KeybindComponent in net.kyori.adventure.text.renderer
Methods in net.kyori.adventure.text.renderer with parameters of type KeybindComponentModifier and TypeMethodDescriptionprotected abstract ComponentAbstractComponentRenderer.renderKeybind(KeybindComponent component, C context) Renders a keybind component.protected ComponentTranslatableComponentRenderer.renderKeybind(KeybindComponent component, C context)