if turtle.detect() ~= "minecraft:air" then turtle.dig() turtle.forward() turtle.placeDown() else turtle.forward() turtle.placeDown() end X1 = false while true do if turtle.detectDown() ~= "minecraft:air" and turtle.detectDown() ~= "minecraft:stone" and X1 == false then turtle.turnRight() if turtle.detect() ~= "minecraft:air" then turtle.dig() turtle.forward() else turtle.forward() end if turtle.detect() ~= "minecraft:air" then turtle.dig() turtle.forward() turtle.placeDown() else turtle.forward() turtle.placeDown() end turtle.turnRight() X1 = true end if turtle.detect() ~= "minecraft:air" then turtle.dig() turtle.forward() else turtle.forward() end if turtle.detectDown() ~= "minecraft:air" and turtle.detectDown() ~= "minecraft:stone" and X1 == true then turtle.turnRight() turtle.turnRight() return end end
Here is an gif of what it is doing. I have realised it reacts to the stone even though I have tried telling it to ignore the stone.
Edited by BowWhalley, 17 July 2015 - 12:12 PM.












