Minecraft Pi - get location of current tile/block

mc_get_tile  

Returns the coordinates of the nearest block that the player is next to. This is more course grained than mc_location as it only returns whole number coordinates.

Introduced in v2.5

Example

# Example 1

puts mc_get_tile



#=> [10, 20, 101]