anvil-parser icon indicating copy to clipboard operation
anvil-parser copied to clipboard

A Minecraft anvil file format parser

Results 22 anvil-parser issues
Sort by recently updated
recently updated
newest added

Hey all, I forked the package and updated what I could to make it 1.18+ compatible. If anyone wants to access it, [here's the repo](https://github.com/intergalactyc/anvil-new), and [here's the PyPi link](https://pypi.org/project/anvil-new/)....

Shouldn't anvil.Chunk.from_region(region, x, z) have 32x32 limit similar to other functions? It seems like it can accept things well beyond those values. I have no idea where do the results...

Title. They moved chunk["Level"] to several other places, as seen in this change log under "WORLD DATA: CHUNK FORMAT": https://feedback.minecraft.net/hc/en-us/articles/4415128577293-Minecraft-Java-Edition-1-18

Requested in Issue #1 Adds Biome functionality - for **getting** Biomes from chunks with `Chunk.get_biome` - for **setting** Biomes in chunks with `EmptyChunk.set_biome` - for **setting** & filling Biomes in...

How i can resolve? File "C:\Users\*\AppData\Local\Programs\Python\Python39\lib\site-packages\anvil\chunk.py", line 55, in __init__ self.data = nbt_data['Level'] File "C:\Users\*\AppData\Local\Programs\Python\Python39\lib\site-packages\nbt\nbt.py", line 543, in __getitem__ raise KeyError("Tag %s does not exist" % key) KeyError: 'Tag Level...

I've tried downloading from pip and manually from GitHub but no matter how I do it I am always met with the same error when I import the module: ```...

The self.version is set to None if the data is from an old MC version. One line was not changed to also deal with None values instead of only integers....

The version on PyPI does not contain the fix for older MC versions. Could it please be updated so others don't face the same issue?