Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local blockmovementcount=0
- local torchcounter=0
- while turtle.getItemCount(16)==0 do
- while turtle.detect()==true do
- turtle.dig()
- end
- turtle.forward()
- blockmovementcount=blockmovementcount+1
- while turtle.detectUp()==true do
- turtle.digUp()
- end
- turtle.suck()
- turtle.suckDown()
- turtle.suckUp()
- if torchcounter=blockmovementcount+8 then
- turtle.turnRight()
- if turtle.detect()==true then
- turtle.select(3)
- turtle.place()
- end
- turtle.turnLeft()
- torchcounter=torchcounter+8
- end
- end
- turtle.turnRight()
- turtle.turnRight()
- for j=1,blockmovementcount,1 do
- turtle.forward()
- end
- if turtle.detect()==true then
- turtle.dig()
- end
- turtle.select(2)
- turtle.place()
- for z=1,16,1 do
- turtle.select(z)
- turtle.drop()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement