Advertisement
jBlume

1x2 tunel

Apr 8th, 2022
1,245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. while true do
  2.  
  3.     if turtle.detectUp() == true then
  4.         turtle.digUp()
  5.     else
  6.     if  turtle.detectDown() == false then
  7.         turtle.placeDown()
  8.  
  9.     else
  10.    
  11.     if turtle.detect() == true then
  12.         turtle.dig()
  13.     else
  14.         turtle.forward()
  15.    end
  16.         end
  17.     end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement