{{Infobox block
| title = Cornflower
| image = Cornflower.png
| invimage = Cornflower
| renewable = Yes
| stackable = Yes (64)
| tool = any
| light = No
| transparent = Yes
| flammable = {{jebe|Yes (60)|Yes (30)}}
| lavasusceptible = No
}}
A '''cornflower''' is a [[flower]] that can be crafted into [[blue dye]].

== Obtaining ==
=== Breaking ===
A cornflower can be broken instantly with any item or by hand, dropping itself.

A cornflower also breaks if [[water]] or [[lava]] runs over its location, if a [[piston]] extends or pushes a block into its location, or if a block under the plant is moved or destroyed.
{{breaking row|Cornflower|horizontal=1}}

=== Natural generation ===
Cornflowers generate naturally on [[dirt]] and [[grass block]]s in {{BiomeLink|plains}}, {{BiomeLink|sunflower plains}}, {{BiomeLink|flower forest}}, and {{BiomeLink|meadow}} biomes as part of [[vegetation]] features. {{IN|java}}, they are also technically capable of growing in [[dripstone caves]] and [[deep dark]] biomes, though it is very unlikely due to lack of grass blocks in these biomes. In flower forests and meadows, cornflowers only generate as part of [[Flower#Flower gradients|gradients]]. 

Natural cornflowers are also found in plains [[villages]].

{{block distribution}}

=== Post-generation ===
{{Main|Flower#Post-generation}}

==== {{JE}} ====
When [[bone meal]] is applied to a [[grass block]] in a plains, sunflower plains, flower forest, meadow, dripstone caves, or deep dark biome, cornflowers have a chance of generating on the targeted [[block]] and adjacent grass blocks in a 15×5×15 area. In meadows and flower forests, cornflowers can generate only in specific locations depending on the flower gradient. In plains, sunflower plains, dripstone caves, and the deep dark, cornflowers cannot generate in tulip-only areas.

==== {{BE}} ====
When [[bone meal]] is applied to a [[grass block]] in a plains, sunflower plains, or flower forest biome, cornflowers have a chance of generating on the targeted [[block]] and adjacent grass blocks in a 7×5×7 area. In flower forests, cornflowers can generate only in specific locations depending on the flower gradient. In plains and sunflower plains, cornflowers cannot generate in tulip-only areas.

When bone meal is applied to a cornflower that has been placed on top of a grass block in any biome, more cornflowers appear on top of nearby grass blocks. The flowers can appear up to 3 blocks away from the original, forming a 7×7 square.

=== Mob loot ===
{{IN|Java}}, [[endermen]] can pick up cornflowers, like any other one-block-tall flower, and [[drop]] it if killed while holding it.

=== Trading ===
[[Wandering trader]]s may [[Trading#Wandering trader sales|sell]] a cornflower for a single emerald.

== Usage ==
{{Main|Flower#Usage}}

Like other flowers, cornflowers can be used as decoration and planted on [[grass block]]s, [[dirt]], [[coarse dirt]], [[rooted dirt]], [[farmland]], [[podzol]], [[mycelium]], [[moss block]]s, [[mud]], or [[muddy mangrove roots]].

Cornflowers can also be placed in [[flower pot]]s.

=== Crafting ingredient ===
{{Crafting usage}}

=== Suspicious stew ===
{{Main|Suspicious Stew}}

Using a cornflower to make suspicious stew, whether by direct crafting or by feeding a brown [[mooshroom]] and then milking it with a [[bowl]], imbues it with a {{EffectLink|Jump Boost}} effect that lasts 5 seconds.

{{Crafting
|ignoreusage=1
|Red Mushroom
|Brown Mushroom
|Bowl
|Cornflower
|Output=Suspicious Stew
|shapeless=true
|foot=1
}}

=== Bees ===
[[Bee]]s engage in a pollinating behavior with cornflowers, increasing the honey level in [[beehive]]s and [[bee nest]]s by 1.

=== Breeding ===
Cornflowers can be used to [[breed]], grow, and lead [[bee]]s.

=== Bee nests ===
[[Oak]], [[birch]], and [[cherry]] trees grown from [[sapling]]s that are within 2 blocks of a cornflower have a 5% chance to grow with a [[bee nest]] and 2-3 [[bee]]s in it.

=== Composting ===
Placing a cornflower into a [[composter]] has a 65% chance of raising the compost level by 1. A stack of cornflowers yields an average of 5.94 [[bone meal]].

== Sounds ==
{{Sound table/Block/Grass}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cornflower
|spritetype=block
|nameid=cornflower
|blocktags=flowers, small_flowers
|itemtags=flowers, small_flowers
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cornflower
|spritetype=block
|nameid=cornflower
|aliasid=red_flower / 9
|id=-838
|translationkey=tile.red_flower.cornflower.name
|foot=1}}

== History ==
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Cornflower JE1 BE1.png|32px]] Added cornflowers.
|When updating to 1.14, the flower gradient is updated for all flower forests. This means that it is possible to find cornflowers in flower forests that were generated prior to 1.14 by applying bone meal on grass blocks.}}
|{{HistoryLine|||dev=18w48a|Cornflowers now generate in the updated [[plains]] [[village]]s.}}
|{{HistoryLine|||dev=19w03a|Placing a cornflower into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
|{{HistoryLine|||dev=19w05a|Cornflowers now have a 65% chance of increasing the compost level in a composter by 1.
|Added [[wandering trader]]s, which sell cornflowers.}}
|{{HistoryLine||1.15|dev=19w34a|Cornflowers can now be used to breed [[bee]]s.
|Bees can now pollinate cornflowers.}}

|{{HistoryLine|bedrock}}
|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|[[File:Cornflower JE1 BE1.png|32px]]Added cornflowers.}}
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|Cornflowers now generate in the updated plains villages.
|Cornflowers can now be sold by the [[wandering trader]].}}
|{{HistoryLine||1.11.0|dev=beta 1.11.0.1|Cornflowers can be used to fill a [[composter]].}}
|{{HistoryLine||1.13.0|dev=beta 1.13.0.1|Applying bone meal to a cornflower now creates other cornflowers instead of dandelions and poppies.}}
|{{HistoryLine|||dev=beta 1.13.0.9|Cornflowers can now be used to make [[suspicious stew]], giving it the [[Jump Boost]] effect.}}
|{{HistoryLine||1.14.0|dev=beta 1.14.0.1|Cornflowers can now be used to breed [[bee]]s.
|Bees can now pollinate cornflowers.}}
|{{HistoryLine||1.16.220|exp=Caves and Cliffs|dev=beta 1.16.220.50|Added [[meadow]]s, in which cornflowers can generate in.}}
|{{HistoryLine||1.20.80|dev=Preview 1.20.80.23|The different [[block states]] for the <code>red_flower</code> ID have now been split up into their own IDs.}}

|{{HistoryLine|ps4}}
|{{HistoryLine||1.88|[[File:Cornflower JE1 BE1.png|32px]] Added cornflowers.}}
}}

== Issues ==
{{issue list}}

== Trivia ==
* In real life, cornflowers got their name because they used to be a common weed on crop fields.<ref>
{{cite
|url=https://www.minecraft.net/en-us/article/taking-inventory--cornflower
|title=Taking Inventory: Cornflower
|website=Minecraft.net
|date=November 24, 2022}}</ref>

== Gallery ==
=== Screenshots ===
<gallery>
Cornflowers.jpg|Cornflowers in a plains biome.
</gallery>

== References ==
{{reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--cornflower Taking Inventory: Cornflower] – Minecraft.net on Novermber 24, 2022

== Navigation ==
{{Navbox flower}}
{{Navbox blocks|vegetation}}

[[Category:Plants]]
[[Category:Non-solid blocks]]
[[Category:Flammable blocks]]

[[fr:Bleuet]]
[[pt:Centáurea]]
