read
Read NBT data from an InputStream
Return
The parsed compound
Parameters
input Stream
An InputStream containing valid NBT data (may be gzipped)
Throws
If the data could not be read properly
public static NBTCompound read( InputStream inputStream, boolean internNames, boolean internValues)
Content copied to clipboard
Same as read, 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