描述
一款通过控制敌对生物生成来让夜晚更加宁静的模组。
由你决定:
- 哪些生物受到生成限制
- 它们生成的频率
- 它们在世界中存在的最大数量
- 是否仅在夜间生成,还是随时可以生成
主要特性
可自定义的生物列表 – 添加或移除生物,并微调它们的相对生成概率。
基于时间的控制 – 将生成限制在夜间,或允许随时生成。
动态种群控制 – 自动防止生物过度拥挤。
简单的配置文件 – 无需编写代码。
默认配置
["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 – 允许同时存在于世界中的列表中生物的最大数量。
spawn_cooldown – 生物生成尝试之间的延迟(秒)。
spawns_per_window – 冷却期之间可以生成的最大生物数量。
debug_mode – 切换聊天栏中的调试消息。
mobs – 具有自定义生成规则的生物列表,格式为:namespace:entity,spawn_chance,night_only
namespace:entity – 生物的 ID(例如 minecraft:zombie)。支持模组添加的生物。
spawn_chance – 相对生成概率(例如 0.1 表示相对于列表中其他生物有 10% 的生成几率)
night_only – 如果为 true,则生成限制仅适用于夜间。这意味着列表中的生物只会在夜间生成,而不会在白天在地表或洞穴中生成。如果为 false,则始终生效。
使用 /calmernights reload 重新加载模组和配置文件
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
评论 0
登录后参与评分
还没有评论,来抢沙发吧