Description
A mod that makes nights more peaceful by controlling hostile mob spawning.
You decide:
-
Which mobs have spawn restrictions
-
How often they can spawn
-
Their maximum number in the world
-
Whether they spawn only at night or at any time
Key features
Customizable mob lists – add or remove mobs and fine-tune their relative spawn chances.
Time-based control – restrict spawns to nighttime or allow them anytime.
Dynamic population control – automatically prevents mob overcrowding.
Simple config file – no coding needed.
Default configuration
["General Settings"]
max_hostile_mobs = 20
spawn_cooldown = 10
spawns_per_window = 3
debug_mode = false
["Mob Spawn Settings"]
mobs = [
"minecraft:zombie,0.1,false",
"minecraft:zombie_villager,0.1,false",
"minecraft:skeleton,0.1,false",
"minecraft:creeper,0.1,false",
"minecraft:spider,0.1,false",
"minecraft:enderman,0.1,false",
"minecraft:witch,0.1,false",
"minecraft:phantom,0.1,true",
"minecraft:drowned,0.1,false",
"minecraft:husk,0.1,false",
"minecraft:stray,0.1,false",
"minecraft:slime,0.1,false"
]
max_hostile_mobs
– maximum allowed number of mobs from the list that can exist in the world simultaneously.
spawn_cooldown
– delay (in seconds) between mob spawn attempts.
spawns_per_window
– maximum number of mobs that can spawn between cooldown periods.
debug_mode
– toggles debug messages in the chat.
mobs
– list of mobs with custom spawn rules in the format: namespace:entity,spawn_chance,night_only
namespace:entity
– the mob's ID (e.g., minecraft:zombie). Supports modded mobs.spawn_chance
– relative spawn probability (e.g., 0.1 = 10% chance compared to other mobs in the list)night_only
– if true, spawn restrictions apply only at night. This means that mobs from the list will only spawn at night and will not spawn, for example, during the day on the surface or in caves. If false, always active.
Use /calmernights reload
to reload the mod and config