public class ChatComponentSelector extends ChatComponentStyle
IChatComponent.Serializersiblings| Constructor and Description |
|---|
ChatComponentSelector(java.lang.String selectorIn) |
| Modifier and Type | Method and Description |
|---|---|
ChatComponentSelector |
createCopy()
Creates a copy of this component.
|
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getSelector()
Gets the selector of this component, in plain text.
|
java.lang.String |
getUnformattedTextForChat()
Gets the text of this component, without any special formatting codes added, for chat.
|
java.lang.String |
toString() |
appendSibling, appendText, createDeepCopyIterator, getChatStyle, getFormattedText, getSiblings, getUnformattedText, hashCode, iterator, setChatStylepublic java.lang.String getSelector()
public java.lang.String getUnformattedTextForChat()
public ChatComponentSelector createCopy()
public boolean equals(java.lang.Object p_equals_1_)
equals in class ChatComponentStylepublic java.lang.String toString()
toString in class ChatComponentStyle