Moss Block

A moss block is a natural block that can be spread to some other blocks by using bone meal.

Natural generation
Moss generates on the floor and ceiling within the lush caves biome.

Mob loot
$$, Sniffers have a 10% chance of dropping a moss block if killed by a player or tamed wolf. Looting increases the chance by 2% per level, for a maximum of 16% with Looting III.

Trading
Moss blocks can be obtained by trading with a wandering trader, who may sell 2 moss blocks for 1 emerald.

Breaking
Moss blocks can be mined using any tool or by hand, but a hoe is the fastest way to break it.

Post–generation
$$, using bone meal on a moss block causes nearby blocks with the,   and   tags to be converted to moss blocks.

Moss spreads to any blocks with 2 air blocks above them in a corner-less 7×11×7 volume centered on the original moss block in Java Edition, and centered a few blocks below the original moss block in Bedrock Edition. Foliage can replace air on any of these blocks.

Behavior
$$, all plants can be placed on moss except for cactus. Nether fungi can also be placed on moss, but mushrooms can be placed only at light level 12 or below. $$, cactus, bamboo, dead bush, and sugar cane are the only plants that cannot be placed on moss.

Using bone meal on moss blocks causes certain types of adjacent blocks to be replaced with moss blocks. To allow moss to spread to them, blocks need to have air above.

When a moss block generates with air above it, it has a chance to have grass, an azalea, or a moss carpet growing on it.

Spreading specifics
$$, when bone meal is used on a moss block, first it is checked that the block directly above the moss block is air. If successful, maximum X and Z distances are chosen (independently from each other) with a 50% chance of being either 2 or 3. Then, in a rectangular area centered on the moss block restricted by those maximum distances, it is decided independently for each vertical column whether a block is converted to moss. This chance is 0% for the corners of the chosen area, 75% for the edges and 100% for the other columns. If this check succeeds a scan is started at a y-level one above the moss block to find a block with air above it. If the scan starts in an air block, it searches up to 6 blocks downward. If it starts in a non-air block, it searches up to up to 4 blocks upward. Both scans stop on the first block with air above it, even if it can not be converted to moss. The chosen block is converted to moss if it can be, and if it can (or already was a moss block) there is a 60% chance vegetation generates above it.

So for every bonemeal that is used, you get on average 27 moss blocks (varies widely though), which gives about 2.5 bonemeal when put through a composter.

Piston interactivity
A moss block drops as an item when a piston pushes it.

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

ID