SNBTReader

public final class SNBTReader

A utility class for reading stringified NBT data (SNBT)

For converting NBT data in base64 string format, see readBase64

Author

Nullicorn

Functions

Link copied to clipboard
public static Object read(String snbt)
Read an NBT value from an SNBT (stringified NBT) string.
public static Object read(    String snbt,     boolean internNames,     boolean internValues)
Same as read, but with additional control over the interning of tag names and values
Link copied to clipboard
public static NBTCompound readCompound(String snbt)
Read an NBT compound from an SNBT (stringified NBT) string.
public static NBTCompound readCompound(    String snbt,     boolean internNames,     boolean internValues)
Same as readCompound, but with additional control over the interning of tag names and values
Link copied to clipboard
public static NBTList readList(String snbt)
Read an NBT list from an SNBT (stringified NBT) string.
public static NBTList readList(    String snbt,     boolean internNames,     boolean internValues)
Same as readList, but with additional control over the interning of tag names and values