Fungus

Fungi are mushroom-like blocks that generate in the Nether. There are two types of fungus: crimson fungus and warped fungus.

Natural generation
Fungus naturally generate in the crimson forest and warped forest biomes. Crimson fungus most commonly generate in the crimson forest biome and warped fungus most commonly generate in the warped forest biome.

Obtaining
Fungi can be mined instantly with any tool or with no tool.

Bartering
Piglins may barter 1–2 warped fungi or 1–4 crimson fungi when given a gold ingot.

Growth
When bone meal is on fungi that is planted on matching nylium, it grows into its tall equivalent. Although it can be planted on soul soil, bone meal used on it is wasted unless it is planted on nylium. Crimson and warped fungi grow into crimson and warped huge fungi, respectively. It can grow only in the Overworld where there is a low light level. If it is placed on nylium, It can grow regardless of where it is placed.

Breeding
Crimson fungi can be used to breed hoglins and lead them around. Hoglins do not attack players holding crimson fungi.

Hoglins
Adult hoglins avoid and run up to 7 blocks away from warped fungi when it is placed on the ground. Baby hoglins are also affected by this.