read List
Read an NBT list from an SNBT (stringified NBT) string.
Return
The parsed NBT list
Parameters
snbt
The text to parse into NBT
Throws
If the input string cannot be read or is not a valid SNBT list
public static NBTList readList( String snbt, boolean internNames, boolean internValues)
Content copied to clipboard
Same as readList, 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