SHOW:
|
|
- or go back to the newest paste.
| 1 | scanner = peripheral.wrap("back")
| |
| 2 | ||
| 3 | blocks = scanner.scan(15) | |
| 4 | if blocks ~= nil then | |
| 5 | for _, block in pairs(blocks) do | |
| 6 | if block.name == "allthemodium:allthemodium_ore" or block.name == "allthemodium:allthemodium_slate_ore" then | |
| 7 | print(block.x .. " " .. block.y .. " " .. block.z) | |
| 8 | end | |
| 9 | end | |
| 10 | else | |
| 11 | print("Couldnt Scan")
| |
| 12 | end | |
| 13 |