Datapack Codex

Sunflower

Minecraft Wiki article. Categories: Renewable_resources, Stackable_resources, Pages_using_calculator, Pages_with_sound_tables, Pages_with_Java_sound_tables, Pages_with_Bedrock_sound_tables, Unknown_Bedrock_version_history, Blocks…

📌 Mirrored from Minecraft Wiki

This article is reproduced from Sunflower on the Minecraft Wiki. Mirrored from revision 3702896. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

Sunflower

A sunflower is a tall flower that generates exclusively in sunflower plains biomes. It can be crafted into two yellow dye.

Obtaining

Breaking

A sunflower can be broken instantly with any item or by hand, dropping itself.

A sunflower 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.

Block Sunflower
Hardness 0
Breaking time (secs)
Default 0.05
Legend
  • incorrect tool, drops nothing
  • correct tool, drops nothing or something other than the block itself
  • correct tool, drops the block itself
  • italicized can be instant mined

Natural generation

Sunflowers generate naturally on dirt and grass blocks in sunflower plains as part of vegetation features.

Post-generation

When bone meal is applied to a sunflower, the flower drops a copy of itself.

Usage

Like other flowers, sunflowers can be used as decoration and planted on grass blocks, dirt, coarse dirt, rooted dirt, farmland, podzol, mycelium, moss blocks, pale moss blocks, mud, or muddy mangrove roots.

Like other tall flowers, sunflowers cannot be placed inside flower pots.

Crafting ingredient

Name Ingredients Crafting recipe
Yellow Dye Sunflower

Sunflowers always face east, making them useful for navigation if the sun is not visible. This also works in the Nether and the End.

Bees

Bees engage in a pollinating behavior with sunflowers, increasing the honey level in beehives and bee nests by 1.

Breeding

Like most flowers, sunflowers can be used to breed, grow, and lead bees.

Bee nests

Oak, birch, and cherry trees grown from saplings that are within 2 blocks of a sunflower have a 5% chance to grow with a bee nest and 2-3 bees in it.

Composting

Placing a sunflower into a composter has a 65% chance of raising the compost level by 1. A stack of sunflowers yields an average of 5.94 bone meal.

Sounds

Java Edition:

BlockSprite short-grass.png: Sprite image for short-grass in Minecraft grass sound type
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitchAttenuation
distance
​Block brokenBlocksOnce the block has brokenblock.grass.breaksubtitles.block.generic.break​1.00.816
​Block placedBlocksWhen the block is placedblock.grass.placesubtitles.block.generic.place​1.00.816
​Block breakingBlocksWhile the block is in the process of being brokenblock.grass.hitsubtitles.block.generic.hit​0.250.516
​Something falls on a blockEntity-DependentFalling on the block with fall damageblock.grass.fallsubtitles.block.generic.fall​0.50.7516
​FootstepsEntity-DependentWalking on the blockblock.grass.stepsubtitles.block.generic.footsteps​0.151.016

Bedrock Edition:

BlockSprite short-grass.png: Sprite image for short-grass in Minecraft grass sound type
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitch
​Block brokenBlocksOnce the block has brokendig.grasssubtitles.block.generic.break​0.70.8–1.0
​Block placedBlocksWhen the block is placedplace.grasssubtitles.block.generic.place​0.80.8–1.0
​Block breakingBlocksWhile the block is in the process of being brokenhit.grasssubtitles.block.generic.hit​0.30.5
​FootstepsPlayersFalling on the block with fall damagefall.grasssubtitles.block.generic.footsteps​0.41.0
​FootstepsPlayersWalking on the blockstep.grasssubtitles.block.generic.footsteps​0.31.0
​Shovel flattensBlocksWhen a shovel creates a dirt pathuse.grasssubtitles.item.shovel.flatten​1.00.8
​FootstepsBlocksJumping from the blockjump.grasssubtitles.block.generic.footsteps​0.111.0
​FootstepsBlocksFalling on the block without fall damageland.grasssubtitles.block.generic.footsteps​0.211.0

Data values

ID

Java Edition:

NameIdentifierFormBlock tagsItem tags Translation key
BlockSprite sunflower.png: Sprite image for sunflower in Minecraft SunflowersunflowerBlock & Itemflowersflowers block.minecraft.sunflower

Bedrock Edition:

NameIdentifierAlias ID Numeric ID FormItem ID[i 1] Translation key
BlockSprite sunflower.png: Sprite image for sunflower in Minecraft Sunflowersunflowerdouble_plant / 0175Block & Giveable Item[i 2]Identical[i 3] tile.double_plant.sunflower.name
  1. ↑ ID of block's direct item form, which is used in savegame files and addons.
  2. ↑ Available with /give command.
  3. ↑ The block's direct item form has the same ID as the block.

Block states

Java Edition

Name Default value Allowed values Description
halflowerlower
upper
The half of the plant contained in this block.

Bedrock Edition

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
double_plant_type0x1
0x2
0x4
sunflower sunflower0Sunflower
syringa1Lilac
grass2Double Tallgrass
fern3Large Fern
rose4Rose Bush
paeonia5Peony
upper_block_bit0x8falsefalse
true
0
1
If it is the upper half of the plant. For items, it is 0.


History

Mention

August 15, 2013 Jeb mentions that new types of flowers would be added and shows sunflower and lilac.

Java Edition

Java Edition
1.7.213w36a Added sunflowers.
1.814w04a If a sunflower is set to render as the block inside of a minecart via commands or map editing, it now appears as this (previously it would be entirely invisible).
Flowers no longer generate as a massive group at the world origin.[1]
14w17a The model of sunflowers has been changed.
14w25a Due to a bug[2], the sunflower's texture is broken when viewed from a certain angle.
14w26a The sunflower's shading is now only on its center disk.
14w30c The sunflower's model is no longer broken when viewed from a certain angle.
1.915w41a The sunflower's model has been mirrored.
1.1116w36a The sunflower's model is no longer mirrored.
1.1418w43a The texture of sunflowers has been changed.
19w03aPlacing a sunflower into the new composter has a 50% chance of raising the compost level by 1.
19w05aSunflowers now have a 65% chance of increasing the compost level in a composter by 1.
1.1519w34aSunflowers can now be used to breed bees.
Bees can now pollinate sunflowers.

Bedrock Edition

Pocket Edition Alpha
v0.9.0build 1 Added sunflowers.
build 3Added dye recipes for sunflowers.
build 5 The model of sunflowers has been changed.
v0.11.0build 14 The model of sunflowers has been changed, again.
v0.14.0build 1Using bone meal on a sunflower spawns another of that flower as an item.
Pocket Edition
1.0.0alpha 1.0.0.0 The model of sunflowers has been changed.
1.1.0 The model of sunflowers has been changed.
Bedrock Edition
1.10.0beta 1.10.0.3 The texture of sunflowers has been changed.
Sunflowers can now be sold by the wandering trader.
?Wandering traders no longer sell sunflowers.
1.11.0beta 1.11.0.1Sunflowers can be used to fill a composter.
1.14.0beta 1.14.0.1Sunflowers can now be used to breed bees.
Bees can now pollinate sunflowers.
1.20.70Preview 1.20.70.24The bottom halves of sunflowers are no longer affected by Fortune.
1.21.60Preview 1.21.60.21 The model of sunflowers has been changed.[3]
Preview 1.21.60.23 The model of sunflowers has been changed.
Sunflowers generate in more cohesive patches in sunflower plains.
release The model of sunflowers has been changed.

Legacy Console Edition

Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU31CU191.221.221.22Patch 3 Added sunflowers.
TU69 1.761.761.76Patch 38The hitbox of sunflowers is now smaller to match bedrock edition.
1.90 The texture of sunflowers has been changed.
1.91Sunflowers can now be sold by the wandering trader.

New Nintendo 3DS Edition

New Nintendo 3DS Edition
0.1.0 Added sunflowers.

Data history

Java Edition
Java Edition
1.8.1pre1Added facing state to double_plant, though without visible effect.
1.1317w47aThe different block states for the double_plant ID have now been split up into their own IDs.
Prior to The Flattening, this block's numeral ID was 175.
1.1721w19aminecraft:sunflower has been added to the newly-implemented #minecraft:mineable/axe block tag. This, however, has no effect in-game, since the block breaks instantly anyway regardless of tool used or active effects.
1.18pre5minecraft:sunflower has been removed from the #minecraft:mineable/axe block tag.
minecraft:sunflower is part of the #minecraft:replaceable_plant block tag.
1.2023w14aminecraft:sunflower is part of the #minecraft:tall_flowers, #minecraft:sword_efficient block tags. The latter, however, has no effect in-game, since the block breaks instantly anyway regardless of tool used or active effects.
minecraft:sunflower has been removed from the #minecraft:replaceable_plant block tag.
1.21.424w45aminecraft:sunflower has been moved from the block tag #tall_flowers to the block tag #flowers due to the removal of the former tag.
1.21.525w10aminecraft:sunflower has been removed from the block tag #minecraft:sword_efficient due to being already instantly breakable.
Bedrock Edition
Bedrock Edition
1.21.0Preview 1.21.0.22The different double plant type block states for the double_plant ID have now been split up into their own IDs.

Issues

Issues relating to "Sunflower" are maintained on the bug tracker. Issues should be reported and viewed there.

Trivia

Screenshots

References

  1. ↑ MC-44467
  2. ↑ MC-57992
  3. ↑ MCPE-40646 – Cross models are displayed wrongly from east and west sides – resolved as "Fixed".

Sources