jschuldes

tpearls

Feb 25th, 2021 (edited)
788
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- turtle harvests and replants ender pearls
  2. -- pastebin get GRRfSSZ0 tpearls
  3.  
  4. -- functions
  5. local function MoveLeft()
  6.   turtle.turnLeft()
  7.   turtle.forward()
  8.   turtle.turnRight()
  9. end
  10.  
  11. local function PnP()
  12.     turtle.digDown()
  13.     turtle.select(1)
  14.     turtle.placeDown()
  15. end
  16.  
  17. -- main
  18.  
  19. turtle.up()
  20. turtle.forward()
  21. PnP()
  22. turtle.forward()
  23. PnP()
  24. turtle.forward()
  25. PnP()
  26. turtle.forward()
  27. PnP()
  28. turtle.forward()
  29. PnP()
  30. turtle.forward()
  31. PnP()
  32. turtle.forward()
  33. PnP()
  34. turtle.forward()
  35. PnP()
  36. turtle.forward()
  37. PnP()
  38. turtle.forward()
  39. PnP()
  40. turtle.forward()
  41. PnP()
  42. turtle.forward()
  43. PnP()
  44. turtle.turnRight()
  45. turtle.forward()
  46. turtle.turnRight()
  47.  
  48. -- row 2
  49. PnP()
  50. turtle.forward()
  51. PnP()
  52. turtle.forward()
  53. PnP()
  54. turtle.forward()
  55. PnP()
  56. turtle.forward()
  57. PnP()
  58. turtle.forward()
  59. PnP()
  60. turtle.forward()
  61. PnP()
  62. turtle.forward()
  63. PnP()
  64. turtle.forward()
  65. PnP()
  66. turtle.forward()
  67. PnP()
  68. turtle.forward()
  69. PnP()
  70. turtle.forward()
  71. PnP()
  72.  
  73. turtle.forward()
  74. turtle.turnRight()
  75. turtle.forward()
  76. turtle.turnRight()
  77. turtle.down()
  78.  
  79. -- eof
  80.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×