public class StringTextComponent extends TextComponent
ITextComponent.Serializer
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
text |
siblings
Constructor and Description |
---|
StringTextComponent(java.lang.String msg) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getText() |
java.lang.String |
getUnformattedComponentText() |
StringTextComponent |
shallowCopy() |
java.lang.String |
toString() |
appendSibling, getSiblings, getStyle, hashCode, setStyle, stream
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
appendText, applyTextStyle, applyTextStyle, applyTextStyles, copyWithoutSiblings, deepCopy, func_212637_f, getFormattedText, getString, getStringTruncated, iterator
public java.lang.String getText()
public java.lang.String getUnformattedComponentText()
public StringTextComponent shallowCopy()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class TextComponent
public java.lang.String toString()
toString
in class TextComponent