read Compound
Read an NBT compound from an SNBT (stringified NBT) string.
Return
The parsed NBT compound
Parameters
snbt
The text to parse into NBT
Throws
If the input string cannot be read or is not a valid SNBT compound
public static NBTCompound readCompound( String snbt, boolean internNames, boolean internValues)
Content copied to clipboard
Same as readCompound, but with additional control over the interning of tag names and values
See also
Parameters
intern Names
Whether or not tag names inside of compounds will be interned
intern Values
Whether or not STRING values inside compounds and lists will be interned