powered by
Check the block type (if any) ahead of the player. Look in the direction of the player heading at the specified distance.
lookForward(player_id, distance = 1)
An integer with the player id
The distance to look
# NOT RUN { lookForward(myid) # } # NOT RUN { # }
Run the code above in your browser using DataLab