Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local geo = peripheral.find("geo_scanner")
- -- Find all ores within 8 blocks
- local ores = geo.findOres(8)
- for i, ore in ipairs(ores) do
- print(ore.name .. " at " ..
- ore.x .. "," .. ore.y .. "," .. ore.z)
- end
- -- Scan specific block
- local block = geo.scanAt(0, -1, 0)
- print("Below: " .. block.name)
Advertisement
Add Comment
Please, Sign In to add comment