Find a safe spawn Y coordinate above the terrain at the given X/Z position.
World X coordinate
World Z coordinate
The Y coordinate just above the highest solid block
Find a safe spawn Y coordinate above the terrain at the given X/Z position.