Advertisement
Guest User

Untitled

a guest
Feb 12th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. turtle.forward()
  2. count = 1
  3. success, data = turtle.inspectDown()
  4.  
  5. while (true) do
  6. if (data.name == 'minecraft:planks') then
  7. break
  8. end
  9.  
  10. turtle.forward()
  11. count = count + 1
  12. end
  13.  
  14. for c = count, 0, -1 do
  15. turtle.back()
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement