Flower

Flowers are naturally occurring plants that come in a variety of shapes and colors.

Obtaining
Flowers can be instantly broken with any item (or no item). A flower will also be broken if water runs over its location, or if a piston extends or pushes a block into its location.

Natural generation
Flowers generate naturally on dirt and grass blocks. Even in a biome covered with snow, flowers will generate naturally on dirt blocks with grass, despite the adjoining dirt blocks being covered with snow. They also need light to grow if bone meal is used on a grass block.

Alliums and other flowers can also be found in Woodland mansions.

Drops
Iron golems drop 0 to 2 poppies upon death.

Bone meal
When bone meal is applied to a grass block, flowers have a chance of generating instead of tall grass on the targeted block and adjacent grass blocks up to 7 blocks away in both directions (a 15x15 square). The generated flower depends on both the biome and the X/Z coordinates (see below).

When bone meal is applied to a double flower, a second double flower will spawn as an item.

Flower biomes
This table shows the types of flowers that can naturally generate in each biome, as well as the types that can spawn from bone meal. Flowers marked with "generation" can only spawn when the world is initially generated.

Flower gradients
When flowers spawn from bone meal, the type spawned depends on the X/Z position in the world. Different biomes result in slightly different behaviors. Note that these behaviors don't necessarily match naturally generated flowers, since additional randomness is applied during terrain generation.

In a flower forest, any given coordinate can only ever spawn one type of flower, resulting in a gradient (pictured below).

In plains and sunflower plains, a similar but more nuanced effect occurs, called the tulip/non-tulip gradient (also pictured below). Each coordinate in these biomes will spawn either tulips exclusively, or non-tulips exclusively. The color of tulip or type of non-tulip is determined randomly, and can vary between subsequent bone meal uses, but a non-tulip block will never spawn a tulip, and a tulip block will never spawn anything but tulips.

No other biome has a gradient; swamps can only spawn blue orchids, while all other biomes can only spawn dandelions and poppies.

Usage
All flowers can be used as decoration or crafted into dyes, as well as planted on grass or dirt. One-block flowers can be planted in a flower pot.

Navigation
Sunflowers always face east, making them useful for navigation if the Sun is not visible.

Breeding
Dandelions can be used to breed, grow, and lead rabbits.

Block data
Non-dandelion flowers use data values to differentiate between flower types. They also have block states which will replace data values in the future.


 * Block 37


 * Block 38


 * Block 175

Trivia

 * Due to the nature of the flower generation algorithm, it is possible (but relatively rare) to find naturally-generated flowers and grass in lava, caverns or abandoned mineshafts.
 * Also, it is possible to find flowers and seeds dropped as an item on the ground naturally, due to failure to generate on an acceptable block.
 * Like other non-solid transparent blocks, flowers can break falling objects such as sand.
 * Peonies were used at Jeb's wedding.
 * Neither roses nor rose bushes apply damage when walked through, despite roses having thorns.
 * Flowers generated from bone meal in a flower forest biome depend only on horizontal position; the world seed has no effect. Flowers generated naturally with the chunk do depend on the world seed.
 * The flowers generate along a gradient: dandelion, poppy, allium, azure bluet, red tulip, orange tulip, white tulip, pink tulip, oxeye daisy.
 * Allium is a genus composed of bulb vegetables such as onions, garlic, and related vegetables, which have large, pink inflorescences resembling that of the flower item.
 * Using bone meal on any small flower in Pocket Edition will generate more flowers around it, without tall grass.