Advertisement
MigasRocha

Concrete

Jan 3rd, 2024 (edited)
847
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.  
  3. if turtle.getItemCount(1) ~= 0 then
  4.     turtle.place()
  5.     turtle.select(2)
  6.     turtle.dig()
  7.     turtle.select(1)
  8. else
  9.     sleep(0.1)
  10. end
  11.  
  12. if turtle.getItemCount(2) == 2 then
  13.     turtle.select(2)
  14.     turtle.dropUp(1)
  15.     turtle.select(1)
  16.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement