Originally developed by Yan, further improved by me with his permission

Original mod: https://www.nexusmods.com/minecraft/mods/1039?tab=description
Original reddit post with this mod: https://www.reddit.com/r/Minecraft/comments/1r1ll9r/is_there_a_mod_that_stops_pillager_spawns_after/
Pillager Redux Extended does the same thing as it's nexus version - prevents pillagers from spawning in pillager outpost if it was burnt, except for my version adds configuration and option to prevent pillagers from spawning if certain amount of them were killed (see pillager_redux-common.toml in your config folder)
Mod has 2 options:
Disable raiders spawn when outpost is burnt (you can use whatever you want: flint and steel, lava, custom projectiles etc, once fire is started raiders will stop from spawning)
Disable raiders spawn when enough of them were killed (by default the value is set to 10)
Both options can be enabled/disabled or run alongside each other
All data related to burnt outposts is saved inside saves/world/data/burnt_outposts.dat
If you have any bugs encountered with this mod report me on my discord server
You can use this mod in your public modpack if you want so
Have fun!!