Minecraft Pi - get type of block at coords

mc_get_block  x (number), y (number), z (number)

Returns the type of the block at the coords x, y, z as a symbol.

Introduced in v2.5

Example

# Example 1

puts mc_get_block 40, 50, 60



#=> :air