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