Melon Stem

Melon stems are a block that generates melon blocks.

Natural generation
Melon stems generate naturally in stem farm inside woodland mansions.

Melon stems can generate in savanna and desert village farms.

Drops
Melon stems, when destroyed, will drop 0–3 melon 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.

Farming
Over time, planted melon seeds grow into a full 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 and produce melons. Melon seeds are affected by bone meal only with respect to stem growth—bone meal does not help produce the actual melons.

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.

Melon stems are technical blocks that cannot be obtained as items. But they can be obtained via inventory editing or add-ons in Bedrock Edition.

ID
Java Edition: {| class=wikitable ! Name ! Namespaced ID ! Item form
 * Melon Stem
 * ID have now been split up into their own IDs.
 * Prior to The Flattening, this block's numeral ID was 105.}}
 * Prior to The Flattening, this block's numeral ID was 105.}}