Minecraft wiki entry for Mushroom_farming, associated text: the block at the new location is empty
the block below the new location is opaque
the light level at the new location must be < 13 (unless the block below is mycelium, podzol, or nylium)