In 1.18, hostile mobs are supossed to spawn only at light level 0, however, it seems like Pillagers can still spawn at light level 7.Β
I ve found It in both pillager outpost spawning, and in Pillager patrol spawning.
A very easy way to reproduce is to light up around a pillager outpost with redstone torches, since they emit 7 light levels.
Thank you for your report!
We're tracking this issue in MC-154090, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki