Skip to content

Instantly share code, notes, and snippets.

@majaha
Created August 10, 2014 13:50
Show Gist options
  • Save majaha/1831bcf8eaed0f3d1d91 to your computer and use it in GitHub Desktop.
Save majaha/1831bcf8eaed0f3d1d91 to your computer and use it in GitHub Desktop.
# Using pymclevel.nbt, source here: https://github.com/mcedit/pymclevel/blob/master/nbt.py
import pymclevel.nbt as nbt
nbtTag = nbt.load(path_to_nbt_file)
# Do some stuff here
nbtTag.save(path_to_nbt_file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment