twoolie / NBT

Python Parser/Writer for the NBT file format, and it's container the RegionFile.
MIT License
361 stars 74 forks source link

Get uncompressed NBT data to variable #171

Open K9Developer opened 1 year ago

K9Developer commented 1 year ago

Hi, I'm opening an NBT file, changing some things and want to get the data as bytes but without the file headers, etc. specifically what I'm trying to do is to change a block in a region file and write the region back. How can I do that?