Advertisement
Guest User

chop

a guest
Jul 1st, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. while true do
  2.   success, data = turtle.inspect()
  3.   if data.name == "minecraft:log" then
  4.     while turtle.detect() do
  5.       turtle.dig()
  6.       turtle.digUp()
  7.       turtle.up()
  8.     end
  9.     while not turtle.detectDown() do
  10.       turtle.down()
  11.     end
  12.   end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement