Melon Seeds

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

Natural generation
Melon seeds can be found in minecart with chests of abandoned mine shafts in stacks of 2 to 4. Melon seeds may also be obtained by finding a melon block in a jungle biome and crafting the melon slices obtained by breaking it.

Melon stems
Melon stems, when destroyed, may drop 0-3 melon seeds.

Nether reactor
In Pocket Edition, melon seeds are only obtainable through the Nether Reactor.

Farming
Melon seeds can be planted 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.