Mushroom

Mushrooms are fungi that grow and spread in dark areas.

Breaking
Mushrooms can be instantly mined with anything. Mining a huge mushroom block drops up to 2 mushrooms of the same color.

Natural generation
Mushrooms naturally generate in poorly lit areas (light level of 12 or less). If this condition is met, each chunk has $1/8$ (12.5%) chance to generate red mushroom and $1/4$ (25.0%) chance to generate brown mushroom.

They are commonly found in patches on the bedrock roof of the nether.

Mushrooms can also generate in extremely bright conditions, namely on top of glowstone; this has been strongly considered by non-Mojang sources to be an intentionally programmed feature.

Mushrooms also generate on surface in swamp, giant tree taiga, mushroom fields biomes and anywhere in the Nether.

Mushrooms can generate on the leaves of trees.

Witch huts have a flower pot with a red mushroom inside. Mushrooms also generate inside "mushroom farm" rooms in woodland mansions.

Fallen trees
$$, fallen oak, birch, spruce, and jungle trees have 0–2 mushroom generated on horizontal logs.

Mob loot
Shearing a red or brown mooshroom drops 5 mushrooms of the corresponding color and turns it into a normal cow.

Trading
Mushroom can be bought from wandering trader for an emerald.

Usage
Mushrooms can be planted and grown on blocks in light levels below 13 and not directly underneath the sky. If planted on mycelium, podzol or nylium, they can stay planted in any light level. Both brown and red mushrooms grow at the same rate regardless of the light level.

Besides being mined directly, mushrooms are dropped as items if:
 * the block below them falls, is moved, or destroyed;
 * a fluid flows over them;
 * it is above light level 12 and a block updates next to it and it is not on podzol, mycelium or nylium.

Huge mushrooms
When bone meal is applied to a mushroom, the mushroom has a chance to grow into a huge mushroom of the same color, provided that it is on a proper block (grass, dirt or coarse dirt at a light level of 12 or below or on podzol, mycelium or nylium at any light level) and has enough space (7x7x9).

Spread
When receiving a random tick, a mushroom has a chance of spreading to a nearby block (including even above and below diagonally) if there are fewer than five mushrooms of the same type in a 9×9×3 volume around the original mushroom.

Light source
Brown mushrooms emit a barely visible light level of 1.

Decoration
Either type of mushroom can be planted in a flower pot.

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

ID