MCEdit-Unified icon indicating copy to clipboard operation
MCEdit-Unified copied to clipboard

Bedrock Chunks with negative chunk coordinates don't persist edited biome information.

Open abrightmoore opened this issue 7 years ago • 2 comments

Description of Issue:

Chunks with negative chunk coordinates don't persist edited biome information.

MCEdit Version:

Verified on 1.6.18-Testing

Minecraft Version the world was last opened in:

Bedrock 1.2.10

Operating System:

Windows 10

A screenshot or full text of the error from the console:

N/A

How to reproduce:

I have been trying to isolate a problem with how biome changes are persisted with Bedrock chunks (in some cases they aren't). Using the chunk.Biomes aware variant of setBiomes filter from stock-filters, a custom map with custom blocks, and quite a few test variants I think I have this problem statement:

Chunks with negative chunk coordinates don't persist edited biome information.

As an example (in x,z chunk format): (71,62) = works OK (4,-9) = does not persist biome edits.

abrightmoore avatar Mar 03 '18 21:03 abrightmoore

Can I have a copy of the chunk aware version of the setBiomes filter to debug this issue? I'm guessing the issue is with our underlying LevelDB code

Podshot avatar Mar 06 '18 05:03 Podshot

Here's a lightly hacked variant of the filter: https://github.com/abrightmoore/MCEditUnifiedFilters/blob/master/setbiome_ajb_v1.py

Usage: It outputs (log print) the chunk information read from leveldb before changing it and saving it. Reload the world and run it again to see if the change was persisted or not.

abrightmoore avatar Mar 07 '18 01:03 abrightmoore