public final class SelectorComponent extends BaseComponent
| Constructor and Description |
|---|
SelectorComponent(SelectorComponent original)
Creates a selector component from the original to clone it.
|
| Modifier and Type | Method and Description |
|---|---|
SelectorComponent |
duplicate()
Clones the BaseComponent and returns the clone.
|
protected void |
toLegacyText(StringBuilder builder) |
protected void |
toPlainText(StringBuilder builder) |
addExtra, addExtra, copyFormatting, copyFormatting, copyFormatting, duplicateWithoutFormatting, getColor, getColorRaw, getFont, getFontRaw, hasFormatting, isBold, isBoldRaw, isItalic, isItalicRaw, isObfuscated, isObfuscatedRaw, isStrikethrough, isStrikethroughRaw, isUnderlined, isUnderlinedRaw, retain, setExtra, toLegacyText, toLegacyText, toPlainText, toPlainTextpublic SelectorComponent(SelectorComponent original)
original - the original for the new selector componentpublic SelectorComponent duplicate()
BaseComponentduplicate in class BaseComponentprotected void toPlainText(StringBuilder builder)
protected void toLegacyText(StringBuilder builder)
Copyright © 2012–2020 SpigotMC. All rights reserved.