Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function checkSurrounding()
- checkFront()
- turtle.turnLeft()
- checkFront()
- turtle.turnLeft()
- checkFront()
- turtle.turnLeft()
- checkFront()
- turtle.turnLeft()
- end
- local function checkFront()
- local success, blockData = turtle.inspect()
- print(blockData)
- if success then
- if checkForOre(blockData) then
- turtle.dig()
- end
- end
- end
- local function checkForOre(blockData)
- return false
- end
- checkSurrounding()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement