Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turtle.select(16)
- turtle.dig()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.place()
- turtle.select(1)
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- function farm()
- for i=1,4 do
- if i ~= 1 then
- turtle.forward()
- end
- success,data = turtle.inspectDown()
- if data.name == "minecraft:potatoes" and data.metadata == 7 then
- turtle.digDown()
- turtle.placeDown()
- end
- end
- end
- farm()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- --turtle.back()
- farm()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- --turtle.back()
- farm()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- --turtle.back()
- farm()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.select(16)
- turtle.dig()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- turtle.place()
- turtle.select(1)
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- for i=1,16 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.turnRight()
- turtle.back()
- turtle.back()
- turtle.turnLeft()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement