I'm trying to read a mca file in python3 but when I do issues occur, Mca files are not base64 and gzip because using a nbt library doesn't work, AND before you say it: There are issues with the anvil-parser library:
Traceback (most recent call last):
File "/Applications/nbt-editor/nbt-editor.py", line 141, in main
chunk = anvil.Chunk.from_region(region, 19, 22)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/anvil/chunk.py", line 382, in from_region
return cls(nbt_data)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/anvil/chunk.py", line 55, in __init__
self.data = nbt_data['Level']
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nbt/nbt.py", line 543, in __getitem__
raise KeyError("Tag %s does not exist" % key)
KeyError: 'Tag Level does not exist'
also the anvil-parser module spits this out, NOT the script