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)

kbroman/miner documentation built on Jan. 26, 2021, 8:14 p.m.