Package net.kyori.adventure.text
Interface KeybindComponent.Builder
- All Superinterfaces:
Buildable.Builder<KeybindComponent>
,ComponentBuilder<KeybindComponent,KeybindComponent.Builder>
,ComponentBuilderApplicable
,ComponentLike
- Enclosing interface:
- KeybindComponent
public static interface KeybindComponent.Builder extends ComponentBuilder<KeybindComponent,KeybindComponent.Builder>
A keybind component builder.
- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description @NonNull KeybindComponent.Builder
keybind(@NonNull String keybind)
Sets the keybind.Methods inherited from interface net.kyori.adventure.text.ComponentBuilder
append, append, append, append, append, append, applicableApply, apply, applyDeep, asComponent, build, clickEvent, color, colorIfAbsent, componentBuilderApply, decorate, decorate, decoration, decoration, decorations, font, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeStyle, mergeStyle, mergeStyle, resetStyle, style, style
-
Method Details
-
keybind
Sets the keybind.- Parameters:
keybind
- the keybind- Returns:
- this builder
- Since:
- 4.0.0
-