writeFully

public void writeFully(NBTCompound compound)

Serialize an NBT compound and write it to the output stream

If control over the root tag's name is needed, use writeFully instead.

See also

Throws

If the compound could not be written


public void writeFully(NBTCompound compound, String rootCompoundName)

Serialize an NBT compound and write it to the output stream

See also

Parameters

rootCompoundName

The name that will be given to the root compound tag. In most cases this does not matter, and writeFully can be used instead

Throws

If the compound could not be written