类 KeybindComponent

    • 构造器详细资料

      • KeybindComponent

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

        public KeybindComponent​(java.lang.String keybind)
        Creates a keybind component with the passed internal keybind value.
        参数:
        keybind - the keybind value
        另请参阅:
        Keybinds
      • KeybindComponent

        public KeybindComponent()
    • 方法详细资料

      • toPlainText

        protected void toPlainText​(java.lang.StringBuilder builder)
      • toLegacyText

        protected void toLegacyText​(java.lang.StringBuilder builder)
      • getKeybind

        public java.lang.String getKeybind()
      • setKeybind

        public void setKeybind​(java.lang.String keybind)
      • equals

        public boolean equals​(java.lang.Object o)
        覆盖:
        equals 在类中 BaseComponent
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
        覆盖:
        canEqual 在类中 BaseComponent