Melon

Melons are fruit blocks that grow from fully grown melon seeds.

Obtaining
A melon drops 3–7 melon slices when broken by hand, using tools, or by the movement of a piston. Silk Touch causes the block itself to drop. Fortune increases the maximum number of melon slices dropped (the actual amount is capped at 9, so Fortune III simply increases the chance of getting 9 slices).

Farming
Melon seeds can be planted, placing a small stem that grows over time. Once the stem reaches maturity, it attempts to generate a melon block in one of the four immediately adjacent blocks; however, this attempt may fail if the chosen adjacent block is not empty or the block beneath is not dirt, grass block, farmland, podzol or coarse dirt. Melons take 10 to 30 minutes to grow, which is equal to 0.5 or 1.5 of a Daylight cycle. Once a stem has produced to a melon, that stem does not produce any further melons until the existing melon is harvested. Melon stems connect only to the melons they produce. For example, if stem A generates a melon adjacent to stem B, stem B does not connect and can still produce another melon. Similarly, if a melon is placed adjacent to stem B, stem B would still be able to produce another melon. The same principle applies for pumpkins. Melons require a light level of 9 or higher to grow.

Natural generation
Melons are naturally generated in jungle biomes, in savanna villages and inside tillage rooms of woodland mansions.

Endermen
Endermen can pick up melon blocks and drop them upon death without breaking them into melon slices.

Trading
Villagers who are journeymen (level 3) farmers buy 4 melons for an emerald.

Composting
Placing a melon into a composter has a 65% chance of raising the compost level by 1.

ID




Trivia

 * $$ any stem adjacent to a melon block appears connected to it, even if the melon was not grown from that stem. Due to this, if a melon block generates between two stems, it connects to both of them. Pumpkins also do this, although they do not connect to plants of different species.


 * A melon may drop fewer melon slices than is required to craft a melon block.