Mobs can no longer spawn in blocks containing rails, powered rails, detector rails, or activator rails.