The fact that pillagers spawns at 8 light level (instead of 7 like other hostile mobs) makes it really difficult to light some buildings, they tend to spawn close and sometimes even inside (specially in desert buildings that usually have sand floor) close to windows and near players.
They also like to spawn in some farms (like sheep corrals that need grass)
Lower down the max light spawn to 7 could help avoid this.
Attachments
Comments 7
Illager patrol
Spawning
Conditions
Java Edition
Illager patrols spawn around 200 blocks away from villages in plains, taiga, desert, savana and snowy tundra biomes, as well as their variants on sand and grass block, or in snow with a block light level of 0–8 and a sky light level of 10–15...
The wiki content is not endorsed by Mojang. Moreover the pillager's spawning condition has changed over the versions. Also once you have villagers and a point of interest, technically you have a new village, which makes them spawn pretty anywhere around players' bases.
I dont have any villagers, but the pillagers are spawning inside my house regardless of the fact that is full of torches, and they appear from nowhere to kill you in your own house, I don't think that's normal.
Spawning mechanism has been changed in the latest 1.14.3 pre-release. Please check if that's still an issue for you.
Illagers can spawn no matter the lightning is.