类 KeybindComponent

java.lang.Object
net.md_5.bungee.api.chat.BaseComponent
net.md_5.bungee.api.chat.KeybindComponent

public final class KeybindComponent extends BaseComponent
  • 构造器详细资料

    • 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(String keybind)
      Creates a keybind component with the passed internal keybind value.
      参数:
      keybind - the keybind value
      另请参阅:
  • 方法详细资料

    • duplicate

      public KeybindComponent duplicate()
      从类复制的说明: BaseComponent
      克隆本组件并返回克隆副本.

      原文:Clones the BaseComponent and returns the clone.

      指定者:
      duplicate 在类中 BaseComponent
      返回:
      该组件的副本
    • toPlainText

      protected void toPlainText(StringBuilder builder)
    • toLegacyText

      protected void toLegacyText(StringBuilder builder)