Reads the block ID and metadata at the given block coordinates.
| Name | Type | Description |
|---|---|---|
x, y, z | number | Block coordinates. |
Two numbers: the block ID and the metadata value.
local id, meta = world.get(0, 64, 0)
log('Block at 0,64,0 is ' .. id .. ':' .. meta)
if id == 0 then
log('That is air')
end