This mod introduces 2 new gamerules:
If you want mobs to exist in peaceful but not spawn use the vanilla gamerule doMobSpawning