Package net.md_5.bungee.api.chat
Class KeybindComponent
java.lang.Object
net.md_5.bungee.api.chat.BaseComponent
net.md_5.bungee.api.chat.KeybindComponent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.md_5.bungee.api.chat.BaseComponent
BaseComponent.LimitedStringVisitor, BaseComponent.StringVisitor -
Constructor Summary
ConstructorsConstructorDescriptionKeybindComponent(String keybind) Creates a keybind component with the passed internal keybind value.KeybindComponent(KeybindComponent original) Creates a keybind component from the original to clone it. -
Method Summary
Modifier and TypeMethodDescriptionClones the BaseComponent and returns the clone.protected voidtoLegacyText(BaseComponent.StringVisitor builder) protected voidtoPlainText(BaseComponent.StringVisitor builder) Methods inherited from class net.md_5.bungee.api.chat.BaseComponent
addExtra, addExtra, applyStyle, copyFormatting, copyFormatting, copyFormatting, duplicateWithoutFormatting, getColor, getColorRaw, getFont, getFontRaw, getShadowColor, getShadowColorRaw, hasFormatting, hasStyle, isBold, isBoldRaw, isItalic, isItalicRaw, isObfuscated, isObfuscatedRaw, isStrikethrough, isStrikethroughRaw, isUnderlined, isUnderlinedRaw, retain, setBold, setColor, setExtra, setFont, setItalic, setObfuscated, setShadowColor, setStrikethrough, setStyle, setUnderlined, toLegacyText, toLegacyText, toPlainText, toPlainText
-
Constructor Details
-
KeybindComponent
Creates a keybind component from the original to clone it.- Parameters:
original- the original for the new keybind component.
-
KeybindComponent
Creates a keybind component with the passed internal keybind value.- Parameters:
keybind- the keybind value- See Also:
-
-
Method Details
-
duplicate
Description copied from class:BaseComponentClones the BaseComponent and returns the clone.- Specified by:
duplicatein classBaseComponent- Returns:
- The duplicate of this BaseComponent
-
toPlainText
-
toLegacyText
-