Class KeybindComponent

    • Constructor Detail

      • KeybindComponent

        public KeybindComponent​(KeybindComponent original)
        Creates a keybind component from the original to clone it.
        Parameters:
        original - the original for the new keybind component.
      • KeybindComponent

        public KeybindComponent​(String keybind)
        Creates a keybind component with the passed internal keybind value.
        Parameters:
        keybind - the keybind value
        See Also:
        Keybinds
      • KeybindComponent

        public KeybindComponent()
    • Method Detail

      • toPlainText

        protected void toPlainText​(StringBuilder builder)
      • toLegacyText

        protected void toLegacyText​(StringBuilder builder)
      • getKeybind

        public String getKeybind()
        The keybind identifier to use.
        Will be replaced with the actual key the client is using.
      • setKeybind

        public void setKeybind​(String keybind)
        The keybind identifier to use.
        Will be replaced with the actual key the client is using.