lookForward: Check the block type (if any) ahead of the player

Description Usage Arguments Examples

View source: R/move.R

Description

Check the block type (if any) ahead of the player. Look in the direction of the player heading at the specified distance.

Usage

1
lookForward(player_id, distance = 1)

Arguments

player_id

An integer with the player id

distance

The distance to look

Examples

1
2
3
4
## Not run: 
lookForward(myid)

## End(Not run)

ropenscilabs/miner.extra documentation built on Dec. 20, 2020, 1:25 p.m.