public class LiteralText extends BaseText
Text.Serializerclass_5348.StyledVisitor<T>, class_5348.Visitor<T>| Modifier and Type | Field and Description |
|---|---|
static Text |
EMPTY |
private Language |
field_25315 |
private String |
field_25316 |
private String |
string |
field_25309, field_25310| Constructor and Description |
|---|
LiteralText(String string) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Returns the string representation of this text itself, excluding siblings.
|
LiteralText |
copy()
Copies the text itself, excluding the styles or siblings.
|
boolean |
equals(Object obj) |
String |
getRawString() |
String |
toString() |
append, getSiblings, getStyle, hashCode, setStyle, shallowCopyclone, finalize, getClass, notify, notifyAll, wait, wait, waitappend, fillStyle, formatted, formatted, styledasTruncatedString, getString, visit, visit, visitSelf, visitSelfmethod_29430, method_29431, method_29432, method_29433public static final Text EMPTY
private final String string
private String field_25316
public LiteralText(String string)
public String getRawString()
public String asString()
public LiteralText copy()
Text