Learn R Programming

miner (version 0.2.2)

getHeight: Get height of the world at a given position

Description

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.

Usage

getHeight(x, z)

Arguments

x

A numeric string with north/south position

z

A numeric string with east/west position

Value

Integer with height of block just above the last bit of non-air at the specified x / z position.

Examples

Run this code
# NOT RUN {
mc_connect()
getHeight(0,0)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab