powered by
Get height of the world at a given position, where the world's height is defined as the height of the highest non-air point at that location.
getHeight(x, z)
A numeric string with north/south position
A numeric string with east/west position
Integer with height of block just above the last bit of non-air at the specified x / z position.
# NOT RUN { mc_connect() getHeight(0,0) # } # NOT RUN { # }
Run the code above in your browser using DataLab