When a dimension has min_y below -192 and uses the minecraft:bandlands the game crashes during chunk generation.
Steps to reproduce:
Create a new world with the attached data pack enabled.
Wait for spawn chunks to generate and observe the crash.
Observed result:
The game crashes.
Expected result:
Negative Y coordinates below -192 should never produce a negative index into claybands to begin with.
Thank you for helping us improve Minecraft! We saved your files: