mojira.dev
MCPE-18156

Multiple biomes appear in worlds made before 0.17.0.1

When opening a world I have created prior to the 0.17.0 beta, it changes the biomes of the whole world to random so ice and snow appear randomly while in other places snow melts and it looks like a checker board.

Linked issues

Attachments

Comments 4

Confirmed on Samsung J7 2016.

I wrote mcpe_viz. While working on updating it to support the cubic chunks in 0.17, I discovered what looks like a nasty problem with respect to saving per-chunk biome and grass color. I believe this problem is the reason for this and related bugs.

The new LevelDB record 0x2d appears to store the following data for each column in each chunk:

  • The height of the top block as a 2-byte integer

  • The Biome (1-byte) and Grass Color (3-byte)

The 0x2d record currently has a length of 768 bytes. The "height" data consumes (16x16x2) 512 bytes. The Biome + Grass Color should consume (16x16x4) 1024 bytes. However, it appears that the 0x2f record currently only stores the first 4 rows of Biome + Grass Color (256 bytes).

Confirmed on tab pro.

new chunks visited after 0.17 do not seem affected. just chunks generated before 0.17. Or so i have found.

Appears to be fixxed in 17.0.2. I had to reload a backup of my world for it to work. Backup opened with out the checker board biomes.

AMAN4700

(Unassigned)

Confirmed

Phone - Android - Samsung Galaxy Note

6.0.1

0.17.0.1

0.17.0.2

Retrieved