Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function plow()
- a,b = turtle.inspectDown()
- if a==TRUE then
- if b.name=="minecraft:wheat" then
- if b.metadata==7 then
- if turtle.getFuelLevel<10 then
- turtle.refuel(1)
- end
- turtle.digDown()
- end
- end
- end
- while true do
- for i=1,9 do
- for j=1,9 do
- plow()
- turtle.forward()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement