/spreadplayers 0 0 0 1000 @
It will teleport you to the sky at y=319 IF THE CHUNK IS UNLOADED
Additionally, it will occasionally tp you over the ocean as it fails to detect that surface level is water.
Clearly to resolve this issue the program must load the chunk first, or find the correct y-value before tping you to that location.
/spreadplayers 0 0 0 1000 @
It will teleport you to the sky at y=319 IF THE CHUNK IS UNLOADED
Additionally, it will occasionally tp you over the ocean as it fails to detect that surface level is water.
Clearly to resolve this issue the program must load the chunk first, or find the correct y-value before tping you to that location.