The bug
Upon /locating structures like villages, witch huts and mineshafts, the y-axis is said to be 0, while some give an actual y-axis.
Related issues
is duplicated by
Attachments
Comments


easy fix with /spreadplayers in place of /tp ==> you will always spawn on top

That does not fix the actual issue, it is just a work around. This is also an issue with the teleport link that /locate gives you. Clicking on a link that returned a y value of 0 will teleport you into the ground at y=0, not to the structure.

If they can't get the actual y value, they should put it to 100 so you don't spawn under the world.

Currently, /locate cannot determine the exact y value of the structure's location. This was obvious in 1.11~1.12.2, when the y value was stated as y❓ instead of an exact number. The clickable link was added without specifying the y value and it chose an arbitrary number. I