ProfessorShroom

hopperCheck

Sep 17th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. while true do
  2. local success, block = turtle.inspect()
  3. if success then
  4. if block.name == "minecraft:hopper" then
  5. sleep(10)
  6. else
  7. turtle.select(15)
  8. turtle.dig()
  9. turtle.select(1)
  10. turtle.place()
  11. end
  12. sleep(10)
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment