Melon Seeds

Melon seeds are an item that can be used to grow melon plants.

Melon stems
Melon stems, when destroyed, will drop 0–3 seeds. The odds of dropping 0, 1, 2 and 3 seeds are $100/125$, $20/125$, $4/125$ and $1/125$, respectively. In the long run, this comes to 0.248 seeds dropped per melon stem.

Melon stems generate naturally in stem farm inside woodland mansions.

Melon stems can generate in savanna and desert village farms.

Trading
Wandering traders sell melon seeds for 1 emerald.

Farming
Melon seeds can be planted only on farmland. Over time, they grow into a stem and produce a melon on any adjacent dirt, grass, or farmland block. If a melon is already occupying an adjacent dirt/grass or farmland spot, the stem will not grow any more melons until the melon is removed. A single stem can grow an unlimited number of melons. Like other seeds, they need a certain amount of light to grow. Melon seeds are affected by bone meal only with respect to stem growth—bone meal does not help produce the actual melons.

Breeding
Melon seeds can be used to breed chickens, lead chickens around, and make baby chickens grow up faster by 10% of the remaining time.

Taming
Like other seeds, melon seeds can be used to tame parrots.

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

Melon Stem
A melon stem is the block that is planted on farmland when melon seeds are used on it. It starts underground, and rises up as the plant grows. The stem is colored green when young, and then brown once fully grown.

The stem will curve once a melon has grown off of it. A fully-grown single stem will connect to any melon in an adjacent square, thus there are 5 possible appearances to a stem. If there are multiple melons it can connect to, it will favor the east, then west, north, and south. When the melon is removed, the stem will return to its straight shape.

Block data
In Bedrock Edition, melon stems use the following data values: