NBTUtil - Lemonszz/LKLib GitHub Wiki

NBTUtil contains methods to help with reading and writing to the NBT format.

writeBlockPos

This will write a given BlockPos to the given TagCompound. All BlockPos written with this method will be written under NBTUtil.BLOCKPOS_TAG, so you can only save one BlockPos per TagCompound.

readBlockPos

The reverse of writeBlockPos, this will read the BlockPos from the given TagCompound.

writeBox

This will write a given Box to the given TagCompound. All Box written with this method will be written under NBTUtil.BOX_TAG, so you can only save one Box per TagCompound.

readBox

The reverse of writeBox, this will read the Box from the given TagCompound.