Tutorials/Pumpkin and melon farming
For other types of farming see Farming (disambiguation)
Melons and Pumpkins use essentially the same mechanics for growth, and can be easily farmed with the same techniques. Once the plants are mature, they will provide a steady supply of fruit for your needs.
- Pumpkin and melon seeds are both found in Abandoned Mine Shaft chests, and while in the nether reactor but pumpkins can also be found growing "wild" in several biomes, while Melons can sometimes be bought from Villagers.
- Planting a seed into Farmland produces a small stem that grows slowly over time, taking 10-30 minutes to reach maturity. Like regular seeds, melon and pumpkin stems grow faster if their block is "hydrated" (has a block of water within 4 blocks of it). However, hydration doesn't affect melon spawning speed once the stem has fully grown. Bone Meal will force a stem to maturity, but will not immediately produce a fruit.
- Once the stem is mature it will begin spawning fruit (Melon Blocks or Pumpkins). Each stem's fruit will appear in one of the four adjacent Dirt, Grass, or Farmland blocks, every 1–30 minutes real time (0.05-1.5 Minecraft days) and the stalk will visually connect to it. Note that if a fruit forms next to another plant's stem, the other stems may connect to it instead of spawning.
- Once a fruit has grown (or the stem has attached to an existing fruit), the stem will not produce any further fruit until the existing one is harvested. Also, if the block directly above a stem is occupied by a solid (and non-transparent) block, the stem will not bear fruit.
- Both sorts of fruit will revert farmland below them to dirt when they grow. Pumpkins can most easily be harvested with an axe, and will drop whole as items. Melons do not currently have a preferred tool, so you might as well use bare hands. However, they will break faster using a sword, at the cost of double durability. While melons grow as blocks, the melons are broken into slices by harvesting. In both cases, the harvested fruit can be crafted back into seeds. Harvesting mature stems will also produce seed, (average 2 per stem) which can be used to multiply your plantings even before fruit appears.
 Farm layouts
Here are some suitable layouts. The percentages given are efficiencies. Parenthesized values are theoretical maximums, which assume that there are free blocks surrounding the farm for the border plants to place melons. The maximum possible efficiency for any melon or pumpkin farm is 50% (one fruit per stem). Spaces where a fruit can occupy two or more stems will reduce the efficiency and yield. Question-mark blocks indicate that anything could be put in that spot -- perhaps lighting, or other crops such as wheat, carrots, or potatos. You will probably want to cover the water with a slab or a lily pad.
If you just want a quick, compact farm, use design C below -- it has slightly lower efficiency, but will keep most of that if you surround it with, say, fencing instead of farmland. You can even slip in a couple of extra plants in the "open" spaces.
 Basic farms
The top-left method (A) has an efficiency of 48.88% -- in larger farms, this can be maintained by vertically flipping alternate rows of plots (see below). The efficiency of the bottom row (E, F) designs vary widely, and they may be obsolete.
 Multi-level farms
While the above designs all use one layer, the most efficient (49.38%) 9×9 farm can be created by using two layers. Design is based on design D, and cobblestone indicates spaces that will be covered (with dirt) by the layer above.
When replicated over a larger area, design G has spots where you will need to jump. Design H avoids that but keeps the same efficiency. For design H, the water source must be placed with care so that it won't spread into the "corridors". However, if there is the usual pit in the bottom layer (and matching hole above), the source block can be placed against one of the upper blocks, or 2 blocks above that layer. The position of the melon stems and dirt/grass/farmland blocks in the two farming layers can be swapped without losing efficiency.
 Rapid-harvest farms
The above layouts are optimized for high efficiency, at the cost of speed. They work best for infrequent harvests, with plenty of time for the field to regrow in between. For frequent harvests, the first following layout may be better suited; if harvested once per day-and-night cycle, it yields about 17 fruits per harvest (as opposed to about 13 fruits for the above designs). The second layout goes even further in that direction -- it does not use space efficiently, but instead gives each stem 2–4 potential places to spawn a pumpkin or melon, encouraging quicker initial growth at the cost of a clumsier design and reduced long-term yield.
 Semi-automatic farms
Melons and pumpkins are both "dropped" when a Piston of any kind pushes them, leading the possibility for auto-harvesting Melon farms. A simple Auto-Harvester would be made by placing an upward-facing sticky piston under each farmland block reserved for melons. When the sticky pistons are powered, they destroy all of the melons for pickup by the player. Using this technique, one can make a fully automatic farm as shown here, but it will take up extra space for the mechanisms.
 Design 1
 Design 2
 Design 3
Below is an expensive redstone wiring pumpkin/melon farm. It is 5 blocks tall and is stack-able. You may want to have one or more buttons for each layer of the farm so you can collect all pumpkins/melons. Every 15 blocks in the farm there is a need for a repeater so along that cord of the repeater there is a non-farming space to divide the farm into sections. It is advised to set the repeater to full delay for each section so you have slightly more time to pick up your pumpkins/melons.
 Design 4
The following stack-able design sacrifices space efficiency in order to fully automate harvesting. The total area of the farm is 13 blocks by 7 blocks, with alternating piston and farm layers. Farmland is hydrated by water flowing down from above. A pressure plate at the end of the collection area on the bottom activates a redstone torch tower, which in turn activates each piston layer. Melons fall down the empty middle area into flowing water at the bottom layer. (To speed up collection, place ice blocks underneath.) The farm can be lit from within by glowstone or jack-o-lanterns. If using jack-o-lanterns for lighting, temporarily put dirt blocks in place of the pistons, put jack-o-lanterns on top, and then replace the dirt blocks with pistons.
The bottom layer (a customized version of the farm layer):
[b][b][b][b][b][b][b] [b] = generic block [b] [f][w][f] [b] [d] = dirt block [b][j][d] [d][j][b] [f] = farmland block (plant melon here) [b][j][d] [d][j][b] [j] = jack-o-lantern or glowstone [b] [f] [f] [b] [P] = pressure plate [b] [f] [f] [b] [r] = redstone dust [b][j][d] [d][j][b] [b<-R] = redstone torch attached to [b][j][d] [d][j][b] generic block [b] [f] [f] [b] [w] = water source block [b][b][b][P][b][b][b] [b<-R][b][r][b][R->b] [r] [r] [r] [r][r][r][r][r][r][r]
The piston layer:
[b][b][b][b][b][b][b] <p] = piston ("<" indicates direction) [b] [b] [b][p> <p][b] [b][p> <p][b] [b] [b] [b] [b] [b][p> <p][b] [b][p> <p][b] [b] [b] [b][b][b] [b][b][b] [R->b][b] [b][b<-R]
The farm layer:
[b][b][b][b][b][b][b] [b] [f] [f] [b] [r][j][d] [d][j][r] [r][j][d] [d][j][r] [r] [f] [f] [r] [r] [f] [f] [r] [r][j][d] [d][j][r] [r][j][d] [d][j][r] [r] [f] [f] [r] [r][b][b] [b][b][r] [b<-R][b] [b][R->b]
Alternate piston and farm layers until reaching the top of the farm. After the last piston layer, build the following instead of another farm layer:
[b][b][b][b][b][b][b] [B] = place blocks here temporarily, [b][B] [B][b] remove after filling water trough [r][j] [j][r] in the top-most layer [r][j] [j][r] [r][B] [B][r] [r][B] [B][r] [r][j] [j][r] [r][j] [j][r] [r][B] [B][r] [r][b][b] [b][b][r] [b<-R][b] [b][R->b]
The top-most layer:
[b][b][b][b][b][b][b] [w] = place 1st and 3rd water source [b][w][b] [b][w][b] blocks, refill bucket from 2nd [b][w][b] [b][w][b] block, place 5th water source [b][w][b] [b][w][b] block, refill from 4th, etc. [b][w][b] [b][w][b] [b][w][b] [b][w][b] [b][w][b] [b][w][b] [b][w][b] [b][w][b] [b][w][b] [b][w][b] [b][b][b] [b][b][b]
This is based on the following video
|Design by Panda4994 Video (view on YouTube)|
 Design 5
To make the Auto slicing Melon and Pumpkin farm, you need to first find a small, flat area to build in. Start by placing a water source with a bucket, and tilling the grass nearby it.
Then, block all but one sides with any block, where the stone bricks are in the image to the right. After that is done, place a sticky piston two blocks below the area you did not cover. Place any solid block where the grass block is shown, and connect it to a redstone torch, make sure it is facing the same direction as the picture is.
After that, place a redstone repeater facing away from the redstone torch and pointing towards where your melon/pumpkin will grow. Make a loop around the perimeter with redstone, and the occasional repeater may be necessary, depending how large you are making the structure. The note block seen in the bottom right of the image is optional, it just makes sound so you notice the plant being harvested.
An additional feature for ease of collecting is to push the pumpkin item or melon slices into a canal. To do this, wire the underground piston's power to power another sticky piston one block above the plant and a block away opposite the water and put a block on its arm (using just the piston arm to push could cause the item(s) to not be pushed). A delay may be necessary for this piston to avoid bugs involving pushed blocks becoming unstuck. Make sure to put a longer delay on the repeator going into the pumpkin or melon. Additionally, several blocks must be placed to ensure each item has nowhere to go but into the water.
After you finish, plant the melon or pumpkin seeds (If you already haven't), and wait for your first harvest.
 Design 6
A compact fully automatic pumpkin and/or melon slice generator:
This design uses 2 stems with 2 spawn places and a notification note block for each. Wooden planks in layer 1 define note block's tone and can be replaced with other blocks according to your preferences. Any opaque block can be used instead of cobblestone. Jack-o-lantern can be replaced with glowstone. Maximum delay is recommended for the redstone repeaters.
Or, you could just put a sticky piston over the block next to where you planted the seeds with an iron bar attached to the piston. Connect by redstone, wait for a melon/pumpkin to grow, push a button, and the iron bar will be pushed into the pumpkin/melon, slice it, and leave the drops for collection.
 Design 7
|Automated pumpkin farm Video (view on YouTube)|
 Design 8
|Automated melon farm Video (view on YouTube)|
 Design 9
 Design 10
The following melon/pumpkin farm uses a pressure plate to rapidly pulse a sticky piston.
|Pressure plate activated farm Video (view on YouTube)|
 Very large farms
Most of the above farms can be tiled to make larger farms, though in some cases, alternate rows or columns of the plots should be flipped for best results. This farm represents an expansion of design A (turned sideways), with the left column of plots reversed. (It also shows the farmland border for the whole farm.) The basic plots could be repeated further, expanding the farm in units of 9×9. Note that this design aims to make sure that each fruit only occupies one stem - as it increases in size, the efficiency approaches 49%