A big automatic sugar cane field: a slime-block flying machine sweeps over 460 sugar cane plants, and 20 hopper minecarts under the soil collect everything. Shulkercraft gives about 1,300 sugar cane per hour; our tests measured about 1,500.
This design works in Minecraft Java 1.16+.
You need 21 kinds of materials (3,037 items, about 81 inventory slots) — see the shopping list.
Before this layer
The farm is built into flat ground. Dig out an area 20 blocks wide and 40 blocks long, 2 blocks deep. The grey and green blocks in the 3D view are the natural ground around it – you do not place them.
Blocks on this layer tap a name to find it in the plan
What to do here in the guide's order
At the south end, place a row of 20 hoppers one block below the rail level: the 9 on the west side point east, the 9 on the east side point west, and the two in the middle point down. Below the middle two, add two more hoppers pointing down and two hoppers pointing south into two double chests.
The farm is built into flat ground. Dig out an area 20 blocks wide and 40 blocks long, 2 blocks deep. The grey and green blocks in the 3D view are the natural ground around it – you do not place them.
At the south end, place a row of 20 hoppers one block below the rail level: the 9 on the west side point east, the 9 on the east side point west, and the two in the middle point down. Below the middle two, add two more hoppers pointing down and two hoppers pointing south into two double chests.
On 3 layers: Y 0, Y +1, Y +2
Powered rails need power. In three rows across all lanes – at the north end, in the middle and at the south end – dig two blocks down, place a redstone torch and put the ground block back on top. Each torch powers the block above it and with it the powered rails on that block.
Lay 20 straight rail lanes from north to south, side by side. Use powered rails on the first 3 blocks, the 4 blocks above the middle torch row and the last 3 blocks (above the hoppers); the rest are normal rails.
Put one hopper minecart on the north end of every lane. On the powered rail next to the wall it starts moving by itself and then rides up and down its lane forever, unloading into the hoppers at the south end.
Place: 20× Hopper Minecart
Replace dirt with waterlogged slabs in a diagonal pattern so every dirt block touches one: place a bottom slab and pour a water bucket into it. The water stays inside the slab and keeps the surface flat for the flying machine.
Plant sugar cane on every dirt block next to a water slab – that is all dirt blocks of the field.
Build glass walls four blocks high around the whole field so no sugar cane is lost. Leave the inside open – the flying machine runs one block above the dirt.
On 4 layers: Y +5, Y +6, Y +7, Y +8
At the south end, one block above the dirt, build the flying machine as shown: a row of 9 slime blocks ending in a sticky piston facing south, and next to it, one block further south, a sticky piston facing north followed by 9 slime blocks. Together they span all 20 lanes and break the sugar cane above the bottom block as they move.
Add the two observers that drive the machine: one north of the first sticky piston facing north, one south of the slime row facing south. Obsidian (which pistons cannot move) stops the machine at both ends: one block at the south end and two at the north end, plus the observer at the north end that sends it back.
On 2 layers: Y +5, Y +6
At the north end, add the repeater, the redstone wall torch and the lever as shown. With the lever on (as in the 3D view) the machine runs; flip it to pause the farm.
On 2 layers: Y +5, Y +6
Outside the south wall, on the ground, build the hopper clock: two hoppers pointing into each other, a comparator on each side reading them (comparators need a solid block below them), and two sticky pistons that push a redstone block back and forth. Put 320 items (5 stacks of any item, e.g. dirt) into the hoppers. Every time the redstone block moves, it flips the trapdoor in front of the observer and the flying machine starts a new round.
On 2 layers: Y +5, Y +6
Stay within simulation distance (about 100 blocks): flying machines can break if their chunks unload while they move. Sugar cane only grows near a player (or, since 1.21.5, in any loaded chunk). Collect the sugar cane from the two double chests.
Your progress is saved in this browser. Log in to keep it on every device and earn 25 points for completing the farm.
Tick what you have gathered — it is remembered together with your build progress. A stack is 64 items (signs 16; buckets, beds and boats do not stack); a shulker box holds 27 stacks.
The flying machine works because slime blocks pull their neighbours along: an observer sees the sticky piston move and fires it again, step by step, until the machine hits obsidian, which pistons cannot move. At the north end an observer sends it back.
The hopper clock is two hoppers passing 320 items to each other (one item every 0.4 seconds). Each time one hopper runs empty, a comparator moves the redstone block, the trapdoor flips and the observer next to it starts the machine – about every two minutes.
Hopper minecarts collect items through a full block above them. Sugar cane grows only near a player (since 1.21.5 in any loaded chunk); stay close while it runs, because a flying machine that unloads mid-flight can break.
In our tests it made about 1,500 sugar cane per hour on 1.17.1, 1.21.11 and 26.3. In one of four hour-long runs (1.21.11) the machine stopped early and the farm made only 52 per hour – if the harvest stops, check that the machine is back at the south end in one piece.
~1,512 Sugar Cane/h — Measured on 26.3 (Oct 15, 2026). Measured with our automated test on a local Minecraft server (fake player at the AFK spot); your rate depends on render distance, difficulty and surroundings.
Download the original The schematic / world is offered by the creator or the tutorial author — we link to the original download.
Instead of one piston per plant, this farm harvests the whole 20 × 35 field with one flying machine: two rows of slime blocks moved by sticky pistons and observers. Every couple of minutes a hopper clock sends the machine across the field; it breaks every sugar cane above its bottom block and flies back.
The drops land on the dirt. Under the dirt, 20 hopper minecarts ride up and down their own rail lanes and pick the items up through the block, then unload them into hoppers and two double chests at the south end.