Interface KeybindComponent.Builder

All Superinterfaces:
AbstractBuilder<KeybindComponent>, Buildable.Builder<KeybindComponent>, ComponentBuilder<KeybindComponent,KeybindComponent.Builder>, ComponentBuilderApplicable, ComponentLike, MutableStyleSetter<KeybindComponent.Builder>, StyleSetter<KeybindComponent.Builder>
Enclosing interface:
KeybindComponent

public static interface KeybindComponent.Builder extends ComponentBuilder<KeybindComponent,KeybindComponent.Builder>
A keybind component builder.
Since:
4.0.0
  • Method Details

    • keybind

      @Contract("_ -> this") @NotNull @NotNull KeybindComponent.Builder keybind(@NotNull @NotNull String keybind)
      Sets the keybind.
      Parameters:
      keybind - the keybind
      Returns:
      this builder
      Since:
      4.0.0
    • keybind

      @Contract(pure=true) @NotNull default @NotNull KeybindComponent.Builder keybind(@NotNull @NotNull KeybindComponent.KeybindLike keybind)
      Sets the keybind.
      Parameters:
      keybind - the keybind
      Returns:
      this builder
      Since:
      4.9.0