Melon

Melons are blocks that grow from planted melon seeds, which grow over time until they reach maturity, randomly spawning melon blocks on adjacent farmland (or dirt/grass as of Minecraft 1.1). Destroying a melon yields 3-7 melon slices. A melon slice can be consumed for, or be crafted into a melon seed to be planted as a new stem.

Crafting
Melon blocks can be crafted out of 9 melon slices. You cannot reverse this to craft melon slices from a melon block. You must place the melon block and then destroy it to get melon slices back again. Melon slices are wasted in this process.

Farming
To start a Melon farm, one must first find Melon Seeds, which only spawn in an Abandoned Mine Shaft Chest. Planting a Melon Seed places a small stem that will grow over time. Like regular seeds, Melon stems grow faster if there is one block of water within 4 blocks of it. Once the stem reaches maturity (which can be instantly forced by the use of Bone Meal), the stem will spawn a Melon Block in one of the adjacent Dirt or Grass blocks (only Farmland in 1.0 and below) every 10–30 minutes real-life time (0.5-1.5 Minecraft days) and visually connect to it. Once a Melon has grown, the stem will not produce any further Melons until the existing Melon is destroyed. Melons will revert farmland below them to dirt when they grow, so before 1.1, the soil would have to be re-tilled after harvesting Melons. Once a connected Melon is harvested, the stem will be able to generate a new Melon block.

For maximum melon per block yield, the following methods can be used: . . . . . . . . .           . . . . . . . . .             . % . . % . . % . % % % % % % % % %            % % % % % % % % %             % = % % = % % = % % % % % % % % % %            % % % % % % % % %             . % . . % . . % . . . . . . . . . .            . . . . . . . . .             . % . . % . . % . . . . . = . . . .     OR     ? ? ? ? = ? ? ? ?    OR      % = % % = % % = % % % % % ? % % % %           . . . . . . . . .             . % . . % . . % . % % % % % % % % %            % % % % % % % % %             . % . . % . . % . . . . . . . . . .            % % % % % % % % %             % = % % = % % = %                              . . . . . . . . .             . % . . % . . % .    9x8 @ 48.61%                 9x9 @ 44.44%                 9x9 @ 44.44% % . % . % . % . %           % . . % % % . . % . . . . . . . . .            . % % . . . % % . . % . % . % . % .            . % % . . . % % . . . . . ? . . . .            % . . % % % . . % % . % . = . % . %     OR     %. . % = % . . % . . . . ? . . . .           % . . % % % . . % . % . % . % . % .            . % % . . . % % . . . . . . . . . .            . % % . . . % % . % . % . % . % . %            % . . % % % . . %    9x9 @ 27.16%                 9x9 @ 29.6% % melon seeds. farmland, dirt or grass   = water    ? any block

With all these, both farm blocks and seed blocks will be hydrated.

The left method has an efficiency of 48.61%, the middle is efficient at 44.44%. The efficiency of the last two designs varies (see below about designs that use the '?' spaces).

Depending on circumstance (i.e. if you plan on making only 1 farm with no adjacent other melon farms) the latter 2 setups will be more efficient.

Wheat could be grown in the spaces marked '?' to avoid wasting potential hydrated farmland blocks.

Designs that, instead, use these '?' spaces for more melons introduce ambiguity. There would be seeds with two spaces to grow into. Such a design would sometimes be more efficient than the others, and sometimes only equally as efficient.

The fourth design is the most time-efficient one (one seed can grow 4 melons) and requires the least activity (less need to hoe the dirt often).

The above layouts are optimized for infrequent harvests, with plenty of time for the field to regrow in between. For frequent harvests, the following layout may be better suited; if harvested once per day-and-night cycle, it yields about 17 melons per harvest (as opposed to about 13 melons for the above designs):

. . . . . . . . . % % % % % % % % % . . . . . . . . . . . . . ? . . . . % % % % = % % % % . . . . ? . . . . . . . . . . . . . % % % % % % % % % . . . . . . . ..

Melons are destroyed and drop Melon Slices when a Piston of any kind pushes it, leading the possibility for auto-harvesting Melon farms. A simple Auto-Harvester would be by placing an up-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, but it uses up some space, shown here.

History
Melons were first revealed in an IGN interview with Notch.

Melons were introduced in Minecraft Beta 1.8, the Adventure Update.

In Beta 1.9 pre4, Melons had a bug that made them only yield 1 Melon Slice.

Trivia

 * The Beta 1.8 Changelog had stated "Added Melons" twice.
 * Any stem adjacent to a melon block will appear to connect to it, even if the melon was not grown from that stem.
 * On the Getsatisfaction.com complete ideas for the Ideas section, it was stated that Watermelons were to be implemented.
 * Despite the fact that the block and the items are called "Melon", "Melon Slice" and "Glistering Melon", they have the appearance of Watermelons and Watermelon Slices, like they were originally supposed to be named.
 * When a melon block is pushed by a piston, it will break into melon slices.
 * The block form is square, yet the slices are round.