Grass

Grass is a non-solid plant block that has wheat seeds as a drop. Its color is biome-dependent, and matches the color of grass blocks. Tall grass is a two-block high variety of grass. Ferns are variants of grass found only in certain biomes and have the same characteristics as grass. Large ferns are a two-block high variety of fern. Shrubs are variants of grass that don't generate naturally and are only found in the Legacy Console Edition. It has the same characteristics as grass and ferns and has the same texture as dead bushes, albeit with a green biome-dependent hue.

Obtaining
When broken normally, all variants will drop 0 or 1 wheat seeds. See here 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.

Trading
Wandering traders can sell large ferns for one emerald.

Wandering traders can sell ferns for one emerald.

Grass
Grass generates on grass blocks in most biomes with a grassy soil, like plains or forests. Tall grass generates in plains and savannas.

Ferns
Ferns occur naturally only in jungle, taiga, snowy taiga and giant tree taiga biomes. Large ferns generate in the same biomes, excluding jungles. Large ferns can be found in some taiga and snowy taiga village houses.

Shrubs
Shrubs, though identical in appearance to the dead bushes found in deserts and badlands, do not naturally generate and can only be found in the creative inventory.

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

Wheat seeds
All variants of grass have a $$ chance of dropping wheat seeds when broken without using shears.

Flower pots
Ferns can be placed in flower pots.

Composting
Placing grass into a composter will have a 30% chance of raising the compost level by 1.

Placing tall grass into a composter has a 50% chance of raising the compost level by 1.

Placing a fern into a composter has a 65% chance of raising the compost level by 1.

$$, placing a shrub into a composter has chances of raising the compost level by 1.

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 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 grass and flowers.
 * Placing any block on grass will overwrite the grass, and will not drop seeds.