Skip to content

Added Biomes, flag --world-void, and some improvements#10

Open
STBrian wants to merge 7 commits intoMC3DS-Save-Research:mainfrom
STBrian:main
Open

Added Biomes, flag --world-void, and some improvements#10
STBrian wants to merge 7 commits intoMC3DS-Save-Research:mainfrom
STBrian:main

Conversation

@STBrian
Copy link
Copy Markdown
Contributor

@STBrian STBrian commented Jan 19, 2026

I added another class for EmptyChunk that is a wrapper for anvil.EmptyChunk that handles biomes data in a chunk
The biomes data from BlockData is converted from PE biome column to the Java 1.16 biome section and is exported together when the chunk is saved

Another changes are:

  • I changed the json module used to json5 to allow comments in blocks.json
  • I renamed blocks.json to blocks.jsonc (to allow vscode auto-detect format)
  • I added code to modify the level.dat, some things were deleted like gamerules, datapacks, player data.
  • Other things like WorldGenSettings are deleted if the flag --world-void is not used. This is to allow the user decide whether if they want a void world or not (a world that generate new chunks)
  • I also changed the assert assert len(data) == len(self.raw_decompressed) in classes.py to only show a warning cause some worlds fails that assert but still converts fine
  • I changed a bit the conversion progress, now it will convert by regions and save it instead of convert all chunks and then saving regions; the reason is to reduce the memory usage (although it only reduces slightly)
  • I fixed the block position printed for the unknown block message
  • I fixed some blocks

@STBrian
Copy link
Copy Markdown
Contributor Author

STBrian commented Jan 19, 2026

I forgot to say that I also fixed more blocks xd (oh wait, I could just edit the description)

@Anonymous941
Copy link
Copy Markdown
Member

cc @Cracko298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants