Modifier and Type | Field and Description |
---|---|
private java.lang.String |
data |
private static StringNBT |
EMPTY_STRING |
static INBTType<StringNBT> |
TYPE |
SYNTAX_HIGHLIGHTING_KEY, SYNTAX_HIGHLIGHTING_NUMBER, SYNTAX_HIGHLIGHTING_NUMBER_TYPE, SYNTAX_HIGHLIGHTING_STRING
Modifier | Constructor and Description |
---|---|
private |
StringNBT(java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
StringNBT |
copy() |
boolean |
equals(java.lang.Object p_equals_1_) |
byte |
getId() |
java.lang.String |
getString() |
INBTType<StringNBT> |
getType() |
int |
hashCode() |
static java.lang.String |
quoteAndEscape(java.lang.String p_197654_0_) |
ITextComponent |
toFormattedComponent(java.lang.String indentation,
int indentDepth) |
java.lang.String |
toString() |
static StringNBT |
valueOf(java.lang.String p_229705_0_) |
void |
write(java.io.DataOutput output) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toFormattedComponent
private static final StringNBT EMPTY_STRING
private final java.lang.String data
public static StringNBT valueOf(java.lang.String p_229705_0_)
public void write(java.io.DataOutput output) throws java.io.IOException
public java.lang.String toString()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ITextComponent toFormattedComponent(java.lang.String indentation, int indentDepth)
toFormattedComponent
in interface INBT
public static java.lang.String quoteAndEscape(java.lang.String p_197654_0_)