Maps don't work properly in old terrain when caves and cliffs data pack is enabled
Maps don't work correctly anymore after enabling the Caves & Cliffs preview data pack, in chunks that were generated without the data pack.
To reproduce
- Create a singleplayer world in latest release 1.16.5 in creative mode.
- Give yourself two empty maps and use them.
- Lock one of the maps using a cartography table and a glass pane
- Save the world
- Add the Caves and Cliffs preview data pack to the world
- Open the world in the latest 1.17 snapshot
→
The unlocked map will look stone-like - Create a new map in newly generated chunks
→
The map looks correct
Screenshots


Notes
- The altered map seems to fill data from lower chunks of the overworld.
- It is possible to see lava flowing at such lower levels.
- Reason of this bug could be how map drawing code handles fields logical_height, height, min_y, has_ceiling inside dimension_type/overworld.
2021-06-03, 02:30 PM
2021-06-12, 03:49 PM
2021-06-04, 10:04 AM
2
3
-