Mushroom

A mushroom is a variety of fungus that grows and spreads in dark areas. Mushrooms generate as red or brown in color, and small or huge in size.

Breaking
Mushrooms can be instantly mined with anything. Mining a huge mushroom block drops up to 2 mushrooms of the same color. Fortune does not affect the drop rate of mushrooms in any form.

A mushroom also breaks instantly and drops as an item if:
 * the block below it is moved or destroyed;
 * A fluid flows over it;
 * The mushroom is not on podzol, mycelium, or nylium, the light level is 13 or higher, and a block updates next to it.

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, in the form of random patches.

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

They are commonly found in patches on the bedrock ceiling of the Nether, and are the only blocks that can generate there. 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 them.

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

Trading
Mushrooms 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, including be planted and remain under light from sky above. Both brown and red mushrooms grow at the same rate regardless of the light level.

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