Package net.minecraft.nbt
Class StringNBT
java.lang.Object
net.minecraft.nbt.StringNBT
- All Implemented Interfaces:
INBT
-
Field Summary
FieldsFields inherited from interface net.minecraft.nbt.INBT
SYNTAX_HIGHLIGHTING_KEY, SYNTAX_HIGHLIGHTING_NUMBER, SYNTAX_HIGHLIGHTING_NUMBER_TYPE, SYNTAX_HIGHLIGHTING_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanbytegetId()getPrettyDisplay(String p_199850_1_, int p_199850_2_) getType()inthashCode()static StringquoteAndEscape(String p_197654_0_) toString()static StringNBTvoidwrite(DataOutput p_74734_1_) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.nbt.INBT
getPrettyDisplay
-
Field Details
-
TYPE
-
EMPTY
-
data
-
-
Constructor Details
-
StringNBT
-
-
Method Details
-
valueOf
-
write
- Specified by:
writein interfaceINBT- Throws:
IOException
-
getId
public byte getId() -
getType
-
toString
-
copy
-
equals
-
hashCode
public int hashCode() -
getAsString
- Specified by:
getAsStringin interfaceINBT
-
getPrettyDisplay
- Specified by:
getPrettyDisplayin interfaceINBT
-
quoteAndEscape
-