Piston cocoa farm
A row of 8 jungle logs with cocoa on both sides. When the pods are ripe, press a button: 16 pistons knock them all off together and the hoppers carry them into the chests. Cocoa is needed for cookies and for brown dye.
| 1.21.11 | 45 | cocoa beans per harvest |
|---|---|---|
| 1.21.1 | 45 | cocoa beans per harvest |
| 1.20.6 | 45 | cocoa beans per harvest |
| 1.19.4 | 45 | cocoa beans per harvest |
| 1.18.2 | 45 | cocoa beans per harvest |
| 1.17.1 | 46 | cocoa beans per harvest |
| 1.16.5 | 45 | cocoa beans per harvest |
| 1.15.2 | 44 | cocoa beans per harvest |
| 1.14.4 | 42 | cocoa beans per harvest |
| 26.3 | 44 | cocoa beans per harvest |
Same test repeated on every version, in a new flat world: the numbers are for comparing versions with each other.

This farm produces
- Cocoa Beans
Materials
Materials list: 8 tipi, 146 in total
Cocoa beans are found on jungle trees, or from the wandering trader.
Build
You can build the farm turned however you like: it only counts how the blocks sit relative to each other. On pieces that need to be oriented (hoppers, pistons, observers, repeaters and the like) the model draws a red arrow: it shows which way they point.

Drag to rotate, even from below. Right-click or two fingers to move, mouse wheel to zoom.
What you need
8 Jungle Logs, 16 cocoa beans, 16 regular Pistons, 16 Hoppers, 2 Chests, 64 Bricks, 23 Redstone Dust and 1 Stone Button.
Cocoa is found on jungle trees.
Good to know
- How we tested it: we built it on our 1.21.1 test server following these steps, with a test player next to us. To avoid waiting, we made the cocoa grow 10 times faster and then put the timing back to normal speed. In the 4 harvests, the chests got 42, 48, 45 and 45 seeds: a few seeds squirt out of the hoppers.
- It only grows when you are close: plants only grow in the chunks around a player.
- In the first test the button was at the top, above two bricks: the player couldn't press it. Now it's at man height.
How we test
- We build the farm from scratch on a local server, in the stated version, with a test player nearby.
- We count the harvest in 1 game hour(s), speeding up time.
- We restart the server and check that it picks up again on its own.
- We publish the measured number even when it is lower than the claimed one.