daily pastebin goal
41%
SHARE
TWEET

place

a guest Jan 29th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. function findSomething()
  3.   foundAnything = false
  4.   for i = 1, 16 do
  5.     Data = turtle.getItemDetail()
  6.     if Data ~= nil then
  7.       turtle.select(i)
  8.       foundAnything = true
  9.       break
  10.     end
  11.   end
  12.   return foundAnything
  13. end
  14.  
  15. findSomething()
  16. turtle.placeDown()
  17. while turtle.forward() and findSomething() do
  18.   turtle.placeDown()
  19. end
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top