Grass

Grass or tall grass is a non-solid plant block that has seeds as a drop. Its color is biome-dependent, and matches the color of grass blocks. Fern is a variant of grass found only in certain biomes and has the same characteristics as grass. Shrub is a variant of grass that doesn’t generate naturally and is only found in the Bedrock Edition and Legacy Console Edition. It has the same characteristics as grass and ferns and has the same texture as dead bushes and grass.

Obtaining
When broken normally, all variants will drop 0 or 1 seeds. See Grass for more information. They can be obtained as an item using shears.

The double tall grass and large ferns will drop two of the respective single block when broken using shears.

It can also be obtained from the Creative inventory.

Natural generation
Grass and tall grass generate on grass blocks in most biomes that generate grass, like the plains biome for example.

Ferns and large ferns occur naturally only in jungle, taiga, snowy taiga and giant tree taiga biomes.

Shrubs, though identical in appearance to the dead bushes found in deserts and badlands, do not naturally generate.

Bone meal
Bone meal can be used on a grass block to grow grass and occasionally flowers on it and in its vicinity. It can also be used on either tall grass or a fern to create a double tall grass or large fern, respectively.

Legacy Console Edition
In Legacy Console Edition, shrubs use the same texture as dead bushes, except that they will occasionally drop wheat seeds instead of sticks, and is randomly offset from the center of its block like grass. In this version, shrubs are available in the Creative inventory and have a green biome-dependent hue.

Bedrock Edition
In Bedrock Edition, shrubs can only be obtained via the command. They are named 'Fern' instead of 'Shrub' and share the same texture as grass unlike in Legacy Console Edition, where they share the same texture as dead bushes.

Seeds
All variants of grass have a 1/8 chance of dropping seeds when broken without using shears.

Flower pots
Ferns can be placed in flower pots.

Data values
Grass is defined by its ID and block data. Grass also has a block state which is expected to replace the functionality of block data in a future version.

Block data
In Bedrock Edition, grass uses the following data values:


 * grass


 * double plant

Trivia

 * Grass cannot be directly set on fire from lightning. However, fire from nearby blocks can spread to it. Oddly enough, the top of grass can be lit but it will not burn this way. When any kind of tall grass is set on fire, the fire seems to hover just over the grass, as if it were a full block.
 * Even though ferns do not produce seeds in real life, as they emit spores instead, they can drop seeds if broken.
 * Grass is slightly offset from the block it is sitting on (as seen in the second screenshot). This causes fields of grass appear more contiguous and not like dotted patches of hair atop blocks.
 * This can sometimes cause grass to clip horizontally or vertically through block corners.
 * Grass can appear in caves on dirt near lava, and rarely, within a few blocks of bedrock. It can also generate in a village house.
 * Using bone meal on grass in a spawn-protected area on a server will still produce tall grass and flowers.
 * Placing any block on grass will overwrite the grass, and will not drop seeds.
 * When being chased by mobs, hiding in double tallgrass will often cause them to lose sight of players, even if they are a few blocks away. Sugar cane also has this property.