Peaceful Nights
This modification introduces a unique game rule called "doSurfaceSpawning", which is disabled by default (value false).
When this rule is deactivated, the behavior of mob spawning on the surface changes as if it were perpetual daytime. During nighttime and thunderstorm events, hostile creatures cease to appear in open areas.
It is important to note that this effect applies exclusively to dimensions with natural lighting - primarily the ordinary world. The dungeons of the Nether and the End are not subject to this modification.
Particular attention should be paid to the fact that the unique swamp slime spawning mechanism continues to function normally and is not affected by this mod.