Fungus

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

Natural generation
Fungi naturally generate in the crimson forest and warped forest biomes. Crimson fungi most commonly generate in the crimson forest biome and warped fungi 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 nylium, it will grow into its tall equivalent. Although it can be planted on soul soil, bone meal used on it will be wasted unless it is planted on nylium. Crimson and warped fungi will grow into crimson and warped huge fungi, respectively. It can only grow 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 will not attack players holding crimson fungi.

Hoglins
Adult hoglins will 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.