Diamssword

[CC] MultiCraftMagicalCrops

Jan 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("right")
  2. turtle.drop()
  3. while true do
  4. if(turtle.getItemCount(1)==9) then
  5. i = 11
  6. while(i > 1) do
  7. if(i == 4) then
  8. i=3
  9. end
  10. if(i == 8) then
  11. i=7
  12. end
  13. turtle.transferTo(i,1)
  14. i = i-1
  15. end
  16. if(turtle.craft())then
  17. rednet.broadcast("crafted!")
  18. end
  19. while(turtle.getItemCount(1)>0) do
  20. turtle.dropDown()
  21. rs.setRedstoneOutput("top",true)
  22. end
  23. rs.setRedstoneOutput("top",false)
  24. end
  25. end
  26. sleep(0.1)
  27. end
Add Comment
Please, Sign In to add comment