Hydriuk

PlaceSand

Apr 5th, 2021 (edited)
743
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. for i=1, 16, 1 do
  2.     next = true
  3.     turtle.select(i)
  4.     while(next) do
  5.         if(not turtle.placeDown()) then
  6.             if(not turtle.forward()) then return end
  7.         end
  8.         if(turtle.getItemCount(i) == 0) then
  9.             next = false
  10.         end
  11.     end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment