Fungus

A fungus is a mushroom-like block that generates in the Nether. There are two types of fungi: crimson and warped.

Breaking
A fungus can be mined instantly with any tool or with no tool, and always drops itself. Mining a flower pot containing a fungus drops the flower pot along with the fungus.

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. Warped fungi can generate in crimson forests and crimson fungi in warped forests but this is not common.

Post-generation
Applying bone meal to nylium causes fungi to appear nearby, similar to flowers on grass blocks. While fungi of both types and other Nether vegetation do generate this way, they are more likely to be the same type as the nylium.

Placement
Fungi may be placed on grass blocks, dirt, coarse dirt, podzol, farmland, rooted dirt, moss blocks, nylium, mycelium, and soul soil. Attempting to place it on any other block fails. Fungi requires a solid block underneath it, and pops off and drops itself if it is no longer supported.

Fungi can also be placed in flower pots.

Growth
When bone meal is on a fungus that is planted on matching nylium, it grows into its tall equivalent (similar to saplings and mushrooms). Crimson and warped fungi grow into crimson and warped huge fungi, respectively. The stem, shroomlight, or nether wart block may replace certain blocks including slabs and torches.

Breeding
Crimson fungus can be used to breed hoglins and keep them from despawning, but it does not stop the hoglin from attacking the player. Warped fungus can be used to breed striders and lead them around if crafted as a warped fungus on a stick.

Hoglins
All hoglins, regardless of age, avoid and run up to 7 blocks away from warped fungus when it is placed on a block or inside of a flower pot. Held warped fungi and warped fungi on sticks do not have this effect.

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

ID