SHARE
TWEET

Untitled

a guest Jul 21st, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.     for i=1,16 do
  3.         local data = turtle.getItemDetail(i)
  4.  
  5.         if data.name ~= nil then --if there is an item here...
  6.             while data.name == "minecraft:bucket" do
  7.                 turtle.select(i)
  8.                 turtle.place()
  9.                 data = turtle.getItemDetail(i)
  10.             end -- end of while
  11.  
  12.         end -- end of if
  13.     end --end of for
  14. end --end of while
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top