public interface IChatComponent
extends java.lang.Iterable
Modifier and Type | Interface and Description |
---|---|
static class |
IChatComponent.Serializer |
Modifier and Type | Method and Description |
---|---|
IChatComponent |
appendSibling(IChatComponent var1)
Appends the given component to the end of this one.
|
IChatComponent |
appendText(java.lang.String var1)
Appends the given text to the end of this component.
|
IChatComponent |
createCopy()
Creates a copy of this component.
|
ChatStyle |
getChatStyle() |
java.lang.String |
getFormattedText()
Gets the text of this component, with formatting codes added for rendering.
|
java.util.List |
getSiblings()
Gets the sibling components of this one.
|
java.lang.String |
getUnformattedText()
Gets the text of this component, without any special formatting codes added.
|
java.lang.String |
getUnformattedTextForChat()
Gets the text of this component, without any special formatting codes added, for chat.
|
IChatComponent |
setChatStyle(ChatStyle var1) |
IChatComponent setChatStyle(ChatStyle var1)
ChatStyle getChatStyle()
IChatComponent appendText(java.lang.String var1)
IChatComponent appendSibling(IChatComponent var1)
java.lang.String getUnformattedTextForChat()
java.lang.String getUnformattedText()
java.lang.String getFormattedText()
java.util.List getSiblings()
IChatComponent createCopy()