Interface KeybindComponent.Builder
- All Superinterfaces:
AbstractBuilder<KeybindComponent>, ComponentBuilder<KeybindComponent, KeybindComponent.Builder>, ComponentBuilderApplicable, ComponentLike, MutableStyleSetter<KeybindComponent.Builder>, StyleSetter<KeybindComponent.Builder>
- Enclosing interface:
KeybindComponent
public static sealed interface KeybindComponent.Builder
extends ComponentBuilder<KeybindComponent, KeybindComponent.Builder>
A keybind component builder.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the keybind.default KeybindComponent.Builderkeybind(KeybindComponent.KeybindLike keybind) Sets the keybind.Methods inherited from interface ComponentBuilder
append, append, append, append, append, append, appendNewline, appendSpace, applicableApply, apply, applyDeep, asComponent, build, children, clickEvent, color, colorIfAbsent, componentBuilderApply, decorate, decorate, decoration, decoration, decorationIfAbsent, decorations, decorations, font, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeStyle, mergeStyle, mergeStyle, resetStyle, style, styleMethods inherited from interface StyleSetter
shadowColor, shadowColorIfAbsent
-
Method Details
-
keybind
Sets the keybind.- Parameters:
keybind- the keybind- Returns:
- this builder
- Since:
- 4.0.0
-
keybind
Sets the keybind.- Parameters:
keybind- the keybind- Returns:
- this builder
- Since:
- 4.9.0
-