Peaceful Nights
by qendolin
With Peaceful Nights installed, mobs stop spawning on the surface during night thunderstorms, and the change is controlled by a game rule.
What it does
A new game rule, doSurfaceSpawning, is set to false by default, so surface mob spawning is switched off during night thunderstorms until an operator turns it back on. While the rule is off, the day cycle behaves as if it were always day for spawning purposes. The change applies only in dimensions with a sky light level: the overworld, the nether and the end. Slime spawning in swamps is also affected. Fabric API is required, and the mod is published for Fabric, Forge and NeoForge across seven release versions, 1.20.1 – 1.21.5.
Only the server needs the mod, since it runs on the server side alone and players join without installing it. The source code is open source under the Mozilla Public License 2.0.
Key features
Surface spawning rule
The doSurfaceSpawning game rule, set to false by default, stops mobs from spawning on the surface during night thunderstorms.
Always-day spawning
With spawning disabled, the day cycle counts as day for spawn decisions, so the surface stays quiet at night.
Sky-lit dimensions
The change applies only to dimensions that have sky light, covering the overworld, the nether and the end.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Questions
Does Peaceful Nights need Fabric API?
In the catalog
Peaceful Nights is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 15,307 mods support Minecraft 1.21.5.
More from qendolin
Similar mods
What the author says
Adds the game rule "doSurfaceSpawning" which is false by default. When disabled mob spawning behaves as if it was always day. No mobs will spawn on the surface at night and during thunderstorms.
Official listing
- Modrinth page
- modrinth.com/mod/peaceful-nights
- Owner
- qendolin
- Published
- 2025-03-03
- Updated on Modrinth
- 2025-04-22
- Facts verified
- 2026-10-15
