Starting a server where the min_y = -64 and height = 4064 set via Datapack crashes the server and it does not start.
What I expected to happen was...:
The server should load the datapack succesfully and run.
What actually happened was...:
The server loads the datapack and states following: "min_y + height cannot be higher than: 2032"
Steps to Reproduce:
1. Make a Datapack and create data/minecraft/dimension_type/overworld.json
2. Set the height from 384 to 4064
3. Put the datapack into the world folder and start the server.
This is a user error; while height can indeed be 4064, the MAX Y coordinate may not be higher than 2032 (max y = min y + height); your setup has it at -64 + 4064 = 4000, which is greater than 2032. You need min y to be 4064-2032=-2032 in order to have a height of 4064.