mc_ground_height x (number), z (number)
Returns the height of the ground at the specified x and z coords.
x
z
Introduced in v2.5
puts mc_ground_height 40, 50
#=> 43 (height of world at x=40, z=50)