When using a custom datapack with noise settings that changes the noise min_y value to one greater than the one defined in the dimension, the game crashes when a canyon generates.
Steps to reproduce
Download attached datapack (modifies data/minecraft/worldgen/noise_settings/overworld.json, by setting min_y to 0)
Generate a new world using the datapack
Fly around
Game should crash with an index out of bounds error when generating a canyon
Thank you for helping us improve Minecraft! We saved your files: