Question: can mobs spawn on rails?
Answer: Mobs. ... Mobs can no longer spawn in blocks containing rails, powered rails, detector rails, or activator rails.