read File
Read NBT data from a file
Return
The parsed compound
Parameters
nbt File
A valid NBT file
Throws
If the file or its contents could not be read properly
public static NBTCompound readFile( File nbtFile, boolean internNames, boolean internValues)
Content copied to clipboard
Same as readFile, 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