Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b, Minecraft 19w05a
I use this command to place a spawner of pillager in a enclosure (space caves, houses, dungeons and more).
But the spawner can not spawn pillager, they can only spawn from spawner in surface.
It won't happened to the other illagers (vindicator, evoker, ravager, illusioner and witch); they can spawn from spawner normally. Only pillager can't spawn from their spawner.