Advertisement
Jeyjey0

Untitled

Nov 2nd, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. if turtle.detectDown() == false then
  2. drop = 0
  3. for i=1,16 do
  4. drop = drop + 1
  5. turtle.select(drop)
  6. icount = turtle.getItemCount()
  7. if icount >= 1 == true then
  8. local item = turtle.getItemDetail()
  9. if item.name == "minecraft:dirt" == true then
  10. turtle.placeDown()
  11. turtle.select(1)
  12. break
  13. else
  14. end
  15. else
  16. end
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement