for a=1,7 do
for e=1,31 do
turtle.forward()
turtle.dig()
end
turtle.turnLeft()
turtle.forward()
turtle.turnLeft()
for i=1,31 do
turtle.forward()
turtle.dig()
end
turtle.turnRight()
turtle.forward()
turtle.forward()
turtle.turnRight()
end
turtle.turnRight()
for o=1,21 do
turtle.forward()
end
turtle.turnLeft()
turtle.back()
for u=1,6 do
turtle.select((u))
turtle.drop()
end
That's the code for the turtles, the farm in this instance is 20 x 30.
The farm is laid out like so:
x = sugarcane
o=water
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
xxoxxoxxoxxoxxoxxoxxo
Simply add a loop and to keep it continually harvesting.
Also, the great thing about this farm is that while the automation requires some knowledge of how to code in lua, and 3 diamonds, if you are ok with manual harvesting, then this farm can be one of the first things set up in your world.