Skip to content
Freek Dijkstra edited this page Apr 28, 2012 · 17 revisions

NBT's documentation

NBT is a Named Binary Tag parser based upon the specification by Markus Persson.

From the *Named Binary Tag specification*:

"NBT (Named Binary Tag) is a tag based binary format designed to carry large amounts of binary data with smaller amounts of additional data."

This project also contains helper classes for dealing with Regions, Chunks and World folders in Minecraft, the main use case for the NBT format.

nbt Package

Modules

  • `nbt.nbt Module <wiki/Nbt>`_
  • `nbt.chunk Module <wiki/Chunk>`_
  • `nbt.region Module <wiki/Region>`_
  • `nbt.world Module <wiki/World>`_

Constants

nbt.VERSION = (1, 3)

NBT version as tuple. The version currenly only contains major and minor revision number, but not (yet) patch and build identifiers.

Functions

nbt._get_version()

Return the NBT version as string.

Auxiliary Documentation

Indices and tables

Clone this wiki locally