readFile

public static NBTCompound readFile(File nbtFile)

Read NBT data from a file

Return

The parsed compound

Parameters

nbtFile

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)

Same as readFile, but with additional control over the interning of tag names and values

See also

Parameters

internNames

Whether or not tag names inside of compounds will be interned

internValues

Whether or not STRING values inside compounds and lists will be interned