Interface KeybindComponent

All Superinterfaces:
Buildable<KeybindComponent,​KeybindComponent.Builder>, BuildableComponent<KeybindComponent,​KeybindComponent.Builder>, Component, ComponentBuilderApplicable, ComponentLike, net.kyori.examination.Examinable, HoverEventSource<Component>, ScopedComponent<KeybindComponent>

public interface KeybindComponent
extends BuildableComponent<KeybindComponent,​KeybindComponent.Builder>, ScopedComponent<KeybindComponent>
A keybind component.
Since:
4.0.0
  • Method Details

    • keybind

      @NonNull String keybind()
      Gets the keybind.
      Returns:
      the keybind
      Since:
      4.0.0
    • keybind

      @NonNull KeybindComponent keybind​(@NonNull String keybind)
      Sets the keybind.
      Parameters:
      keybind - the keybind
      Returns:
      a copy of this component
      Since:
      4.0.0