I made libnbt mainly for ProjectD (a gamae asset management library) but tis also handy for working with Minecraft save files. For a demo check out http://libnbt.bytefire.org/demo.html.