NicoReimer

gamer

Mar 8th, 2022 (edited)
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. x = true
  2.  
  3. while (x) do
  4.     turtle.forward()
  5.     turtle.turnLeft()
  6.     x, y = turtle.inspect()
  7.     if (y.name == "minecraft:brick_block") then
  8.         turtle.dig()
  9.     end
  10.     turtle.turnRight()
  11. end
  12.  
  13. for i = 1, turtle.getItemCount(), 1 do
  14.     turtle.up()
  15.     turtle.placeDown()
  16. end
Add Comment
Please, Sign In to add comment