public final class KeybindComponent extends BaseComponent
| Constructor and Description |
|---|
KeybindComponent(KeybindComponent original)
Creates a keybind component from the original to clone it.
|
KeybindComponent(java.lang.String keybind)
Creates a keybind component with the passed internal keybind value.
|
| Modifier and Type | Method and Description |
|---|---|
BaseComponent |
duplicate()
Clones the BaseComponent and returns the clone.
|
protected void |
toLegacyText(java.lang.StringBuilder builder) |
protected void |
toPlainText(java.lang.StringBuilder builder) |
addExtra, addExtra, copyFormatting, copyFormatting, copyFormatting, duplicateWithoutFormatting, getColor, getColorRaw, hasFormatting, isBold, isBoldRaw, isItalic, isItalicRaw, isObfuscated, isObfuscatedRaw, isStrikethrough, isStrikethroughRaw, isUnderlined, isUnderlinedRaw, retain, setExtra, toLegacyText, toLegacyText, toPlainText, toPlainTextpublic KeybindComponent(KeybindComponent original)
original - the original for the new keybind component.public KeybindComponent(java.lang.String keybind)
keybind - the keybind valueKeybindspublic BaseComponent duplicate()
BaseComponentduplicate in class BaseComponentprotected void toPlainText(java.lang.StringBuilder builder)
protected void toLegacyText(java.lang.StringBuilder builder)
Copyright © 2015-2018 WaterfallMC. All Rights Reserved.