Minecraft wiki entry for Spawner_traps, associated text: Lava generates light, which can lower the spawn rate in the dungeon unless placed far away; however the increased turnover of mobs may compensate for this.