MINERUSTCRAFT / AUTO FARMS
Automatic Pumpkin and Melon Farm for Minecraft Java
One design for pumpkins and melons: an observer, piston and hopper minecart. Step-by-step construction, exact coordinates and automatic chest delivery.

I will show how this version is arranged and what I suggest checking before using it in your world. Pumpkins and melons grow beside their stems, so a single harvesting mechanism can handle either crop. An observer watches the stem, a piston breaks the new fruit, and a hopper minecart collects the drops through the dirt block. Two stationary hoppers then deliver the harvest into a chest. The stem stays planted for the next cycle.
This guide builds one compact module. Start with pumpkin seeds, check the observer direction and collection system, then switch to melon seeds or build a second module alongside it. You do not need a different redstone design for each crop.
Farm features
| Edition | Minecraft Java Edition 1.20.1 |
|---|---|
| Output | Regular pumpkins or melon slices, depending on the seeds |
| Schematic dimensions | 6 × 5 × 6 blocks: X × Y × Z, including empty margins |
| Plants | One stem and one fruit space |
| Automation | Fruit detection, breaking, collection and chest delivery |
| Consumables | No bone meal or fuel needed during operation |
| Player tasks | Initial planting, minecart placement and emptying the chest |
A piston does not provide Silk Touch. Melons break into slices; crafting nine slices into a whole melon is a separate step. Pumpkins arrive as ordinary blocks, without carved faces. This module does not produce pies, jack o’lanterns or emeralds by itself.
One module provides a modest supply. Fruit production depends on random ticks and growing conditions, so the time between harvests varies. Stay close enough for plant growth to be processed: loading a chunk alone does not guarantee crop growth. Production also stops while a single-player world is paused.
Materials for one module
| Material | Quantity | Purpose |
|---|---|---|
| Chest | 1 | Output storage |
| Hopper | 2 | Minecart unloading and chest delivery |
| Hopper minecart | 1 | Collecting drops through dirt |
| Ordinary rail | 1 | Stationary minecart position |
| Dirt | 2 | Till one block; leave the other for fruit |
| Pumpkin or melon seeds | 1 | Initial planting |
| Observer | 1 | Detecting stem changes |
| Regular piston | 1 | Breaking the fruit |
| Redstone dust | 3 | Signal path |
| Stone | 4 | Water basin base and circuit supports |
| Full glass blocks | 19 | Enclosure, supports and growth boundaries |
| Sea lantern | 1 | Plant lighting |
| Water bucket | 1 | Farmland hydration; you keep the empty bucket |
Bring a hoe and temporary blocks for placing dirt above the minecart. The hopper minecart is a separate item: the two ordinary hoppers in the table do not include its crafting ingredients. A sticky piston is unnecessary. Keep glass in the specified positions rather than replacing the whole enclosure with stone; conductive blocks near the circuit can change how it behaves.
Coordinate reference
The origin is the northwest corner of the bottom layer. X increases east, Z increases south and Y increases upward. Coordinates use (X, Y, Z). The chest faces north at (3, 0, 1); the stem occupies (2, 3, 3). Fruit grows in the adjacent space (3, 3, 3).
You can bury the lower section, but leave access to the chest and minecart compartment. For your first build, keep the module above ground so you can inspect the item path. Do not fill the fruit space with decoration.

Build the module step by step
1. Connect the output chest
Place the chest at (3, 0, 1), facing north. Behind it, place hoppers at (3, 0, 2) and (3, 0, 3), both pointing north. The rear hopper feeds the front hopper, which feeds the chest. Sneak while placing the connections.
Put an expendable item into the rear hopper and check the chest. Correct any misplaced hopper before continuing. Leave the space above the chest lid clear.
2. Position the rail and hopper minecart
Place one ordinary rail at (3, 1, 3) on top of the rear hopper, aligned north–south. Put a hopper minecart on it. Do not substitute an activator rail: collection must remain enabled.
Enclose the lower compartment with glass at (2,1,2), (2,1,3), (2,1,4), (3,1,2), (3,1,4), (4,1,2), (4,1,3) and (4,1,4). Keep the minecart centered on the rail. This module uses a stationary collector, without powered track or turnaround sections.

3. Add the growing blocks and water
Place dirt at (2,2,3) and till it with the hoe. Place the second dirt block at (3,2,3), directly above the minecart, and leave it untilled. Use a temporary support to place it without breaking the rail. This is the fruit support block.
Place stone at (1,1,3) for the basin floor. Add glass at (0,2,3), (1,2,2) and (1,2,4), then put a water source at (1,2,3). The farmland forms the fourth side of the basin. Leave its top open.
Add glass at (2,2,2), (2,2,4), (3,2,2), (3,2,4) and (4,2,3). Together with the water, these blocks leave the stem with just one suitable fruit location: the dirt to its east.

4. Aim the observer at the stem
Plant your chosen seeds at (2,3,3). Place the observer north of the plant at (2,3,2), facing south. Its two-eye face looks at the stem; its red output dot points north.
Place a regular piston at (3,4,3), directly above the fruit space, facing down. Its head must extend into (3,3,3) without touching the stem. Stand below its intended position and look up when placing it.
Add glass walls at (2,3,4), (3,3,4) and (4,3,3). Place the sea lantern at (1,3,2) to light the plant at night. Leave air above the stem.

5. Connect the redstone path
Place three stone blocks at (2,3,1), (3,3,1) and (3,3,2). The first block sits directly behind the observer output. The last sits one block below the north side of the piston.
Put redstone dust on each of these blocks. The path at Y = 4 runs from (2,4,1) through (3,4,1) to (3,4,2). Its last piece sits next to the piston at the same height. All three pieces must connect. Keep them as a connected wire rather than switching an end piece into an isolated dot.
When the mature stem attaches to a new fruit, the observer pulses. The signal passes through its rear block and along the dust to the piston. Breaking the fruit changes the stem again, so another brief pulse can follow. That is normal; the piston should retract and leave the fruit space available.

6. Check the collection route
Drop an expendable item onto the top of the dirt at (3,2,3). The hopper minecart should collect it through the block, the hopper underneath should unload it, and the second hopper should carry it into the chest. This checks collection without waiting for fruit.
Make sure water stays in its basin, the minecart stays centered and the piston points at the fruit space. Once these checks pass, wait for the seeds to mature and produce their first harvest.
Starting and changing crops
Bone meal can mature a young stem, but it does not make a fully grown stem immediately produce fruit. Leave the stem planted after harvesting; the same plant can continue producing pumpkins or melons.
To change from pumpkins to melons, remove only the plant and sow melon seeds on the same farmland. Keep the observer, piston, minecart and circuit in place. To produce both resources, build two identical modules with different seeds.

Using the farm download
The download button provides a Java Edition schematic. Import it with a compatible tool such as WorldEdit that supports Minecraft 1.20.1 blocks. Air inside a pasted schematic can replace existing blocks, so use a clear site or back up your world before pasting over a build.
Place the hopper minecart manually. The file includes the blocks, rail and farmland, but does not include entities. After importing, check the water, hopper directions and plant. When building from a projection in survival, sow the seeds yourself. A mature stem saved in an editor does not remove the normal growing time in survival.
What I suggest checking
| Problem | Check |
|---|---|
| A mature stem produces no fruit | Keep (3,3,3) empty, retain the dirt underneath and light the stem. Stay nearby and allow time for random growth |
| Fruit appears but the piston does not move | The observer face must look at the stem and the red dot must point into stone. Check all three connected dust pieces |
| The piston breaks the plant | Move it to (3,4,3), facing down |
| Drops remain on the dirt | Use a hopper minecart, not a normal minecart, and check its position under the fruit block |
| The cart contains items but the chest stays empty | Check both hopper directions, chest capacity and any external power locking the hoppers |
| A pasted schematic does not collect items | Add the hopper minecart manually; entities are not included |
Expansion and practical limits
Repeat whole modules to increase supply, then connect their output hoppers to shared storage. Leave space between redstone paths until you understand the layout; accidentally joining neighboring circuits causes unnecessary piston activations. After expanding, check planting, harvesting and chest delivery separately.
Keep levers and redstone blocks away from the unloading hoppers, since power can stop their transfer. Retain the light source when enclosing the farm in a decorative shell. If the chest fills, the mechanism can keep firing while the hopper and minecart inventories gradually fill as well.
Does this design work in Bedrock Edition?
This layout targets Java 1.20.1. Do not treat its download as a ready-made Bedrock build; update handling and redstone behavior differ between editions. A Bedrock version needs its own adaptation.
Why do melons arrive as slices?
That is the normal result of piston harvesting. Craft nine slices into a melon block when whole melons are needed for storage or trading.
Does the stem need a large field?
This compact module works with one farmland block and one fruit location. Larger farms can use different growing layouts for efficiency; this design prioritizes an understandable circuit and access to every component.




Discussion 0
Share your experience, ask questions and help other players.
It is quiet here. Your experience could help someone.