getHeight: Get height of the world at a given position

Description Usage Arguments Value Examples

View source: R/getHeight.R

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

1
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

1
2
3
4
5
## Not run: 
mc_connect()
getHeight(0,0)

## End(Not run)

ropenscilabs/miner documentation built on March 20, 2018, 8:52 p.m.