Carpet both does not prevent and does not facilitate
mob spawning, but it does help in a way.
Carpet is a non-solid block, so, in terms of algorithm,
mobs do not
spawn on carpets, but rather in. Basically, you
can replace all
carpets with signs for the same, but more obvious, situation.
read more >>