Advertisement
Guest User

infiniteloop.lua

a guest
Nov 20th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. function rowOne()
  2.  turtle.up()
  3.  turtle.forward()
  4.   for i = 1, 9 do
  5.    turtle.digDown()
  6.    turtle.suckDown()
  7.    turtle.placeDown()
  8.    turtle.forward()
  9.  end
  10.    for i = 1, 9 do
  11.    turtle.back()
  12.    turtle.suckDown()
  13.  end
  14.    turtle.down()
  15.  end
  16.  
  17.  -- end
  18. -- end
  19.  
  20. while true do
  21.  local success, data = turtle.inspect()
  22.   if success then
  23.    print(data.metadata)
  24.    if data.metadata == 7 then
  25.    
  26.    rowOne()
  27.    
  28.     end
  29.   end
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement