Learn R Programming

miner (version 0.1.2)

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

Description

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

Usage

lookForward(player_id, distance = 1)

Arguments

player_id

An integer with the player id

distance

The distance to look

Examples

Run this code
# NOT RUN {
lookForward(myid)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab