Guest User

Untitled

a guest
Mar 29th, 2020
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.     Author
  3.         Rasmus Sommer aka. TheSommer
  4.         youtube.com/thesommersmc
  5.         twitch.tv/thesommer
  6.    
  7.     How to use:
  8.         Slot 1 - Seeds/Potatos/Carrots etc.
  9.         Slot 2 - Bonemeal
  10.    
  11.         wheat
  12. --]]
  13.  
  14. while true do
  15.     turtle.select(1)
  16.     turtle.place()
  17.     turtle.place()
  18.     turtle.place()
  19.     turtle.place()
  20.     turtle.select(2)
  21.     turtle.place()
  22.     if turtle.getItemCount(2) == 0 then
  23.         turtle.turnRight()
  24.         if turtle.suck() == false then
  25.             print("No Bonemeal available!")
  26.             turtle.turnLeft()
  27.             return
  28.         end
  29.         turtle.turnLeft()
  30.     end
  31.     turtle.select(1)
  32.     turtle.dig()
  33.     turtle.select(3)
  34.     turtle.dropDown()
  35.     turtle.select(4)
  36.     turtle.dropDown()
  37. end
RAW Paste Data