Pillager will not spawn near the Pillager Outpost in forge 1.18 and forge 1.18.1.
The forge version used is 1.18-38.0.17 and 1.18.1-39.0.7.
No other modules are used.
After using the command to delete the monster
Stay away from Pillager Outpost and come back
Pillager will not be generated
Use the official version
Same as above steps
Pillager will be generated