Title says it all. If there is a block that stops mob spawning I'll delete this, or if there is a reason that this mechanic has been turned off. I was just confused when mobs were spawning where I didn't want them to, even after trying to stop them with slabs and carpets.