Huge mushroom

Huge mushrooms are tree-like structures that consist of mushroom blocks. They can be found naturally in swamp, dark forest, and mushroom fields biomes, or grown from a small mushroom by applying bone meal on it - small mushrooms do not turn into huge mushrooms naturally.

Generation
Huge mushrooms naturally generate in mushroom fields, swamp and dark forest biomes.

Growth
Huge mushrooms can be grown by applying bone meal to a small red or brown mushroom that is planted on dirt, coarse dirt, grass blocks, rooted dirt or moss blocks with a sky and block light level of 12 or less, or on podzol, mycelium or nylium at any light level. The volume the huge mushroom would generate in must be free of solid blocks, and a minimum of 5 blocks above the mushroom, although 7 blocks allows most to spawn. 13 blocks are required for all huge mushrooms to generate. Extra tall huge mushrooms have a ~5% chance of growing.

A huge mushroom does not grow above the height limit.

Any small mushroom placed does not grow into a huge mushroom naturally; bone meal must be applied.

Structure
A huge mushroom's height is normally between 5 and 7 blocks inclusive, but have a $1/12$ chance to generate twice as high (minus 1 block), meaning they can be 9, 11, or 13 blocks tall.

To grow, the lowest four blocks of the stem (i.e. the three blocks above the small mushroom being grown) must be air or leaves, and a 7×7×(height−3) region above that must similarly be clear of anything except air or leaves. The block under the huge mushrooms stem must be dirt, podzol, or mycelium. Light level does not matter if placed on podzol, or mycelium, if placed on dirt, coarse dirt or grass blocks both skylight and blocklight must be 12 or less.

Huge brown mushrooms
Huge brown mushrooms consist of a single stalk in the center, with a 7×7 canopy of brown mushroom blocks at the top with the corners missing.

Due to the space requirement matching the size of the canopy at the top, it is possible for a huge brown mushroom to grow with its canopy directly touching a mushroom next to it.

Huge red mushrooms
Huge red mushrooms, like their brown counterparts, have a single stalk in the center, but a different canopy, composed of five 3×3 slabs of red mushroom blocks arranged above and around the stalk, forming a 'dome'. Note that the space requirements do not require that the area occupied by lower part of the 'dome' is clear of other blocks. Blocks that mobs can't suffocate in, such as slabs, end portal frame and end portal, are replaced; full blocks remain unchanged.

Due to the shape of the dome, the shortest huge red mushrooms can grow such that their domes touch despite the dome being smaller than the full space requirement.

Trivia

 * All huge mushrooms have exactly 45 blocks besides the stalk, so an average of 13.5 mushrooms can be obtained from each huge mushroom's cap.
 * Red mushrooms are rarer than brown mushrooms, but this is not the case for huge mushrooms.