set up NBT library