MobSpawnController
MobSpawnController 允许整合包作者和服务器管理员通过游戏内界面配置原版与模组生物(mobs)的生成方式。控制生成来源与条件、添加额外生成、调整属性,并创建装备与实体 NBT 预设。
功能
- 生成开关: 为每种生物启用或禁用单个生成类型,包括自然生成、刷怪笼生成、繁殖、生成蛋、命令以及转换生成。
- 生成条件与倍率: 配置概率、高度、光照、时间、天气、维度、生物群系、结构、周围方块、玩家距离以及种群上限。选择这些条件适用的生成类型,支持白名单和黑名单选项。原版生成倍率可调整选择权重和类别生物上限。
- 未知来源条件: 选择 Unknown origin(未知来源)可将条件应用于直接添加到世界中且没有已识别生成来源的生物。关闭所有生成开关也会阻止这些未分类的新增生成。
- 额外生成: 创建具有自身条件的额外生成。配置每秒触发概率、每次触发生成数量、放置位置、距离以及世界或附近种群上限。额外生成使用其自身的条件,但仍遵循生成开关设置。
- 属性覆盖: 调整支持的属性,如最大生命值、攻击伤害、移动速度和护甲值,可使用数值或基于百分比的控制方式。
- 装备与实体 NBT 预设: 为每种生物创建多个带有权重的预设,并设置应用概率。配置六个装备槽位、物品数据、掉落概率以及实体 NBT;按生成来源和世界天数筛选预设。可直接将当前穿戴和手持的装备导入到预设中。
图形用户界面(GUI)包含生物预览、搜索、配置过滤器,以及用于选择维度、生物群系、结构和方块的拾取器。可选的 Serene Seasons 集成可添加季节性生成条件。
入门指南
在游戏中按下 N 键打开编辑器。该按键可在 Minecraft 的控制菜单中更改。编辑操作需要 OP 权限或等效的等级 2 权限;在单人世界中配置时请开启作弊模式。
也可以通过 /mobspawncontroller 或其别名 /msc 管理生成开关:
/msc minecraft:zombie natural false
/msc minecraft:zombie all false
/msc list minecraft:zombie
/msc clear minecraft:zombie
规则会保存至 config/mobspawncontroller/rules.json,便于将其包含在整合包或服务器配置中。生成规则仅影响新生成的生物,不会移除已存在的生物。
支持版本与安装
| Minecraft |
Mod loaders |
Java |
| 1.20.1 |
Fabric, Forge |
17+ |
| 1.21.1 |
Fabric, NeoForge |
21+ |
- Fabric 构建版需要 Fabric API。Serene Seasons 为可选组件;若未安装,季节性条件将被忽略。
- 仅限服务器的安装可以使用命令和 JSON 配置文件。要在服务器上使用该 GUI,需在服务器端和管理员客户端上安装匹配版本的模组。
MobSpawnController
MobSpawnController lets modpack authors and server administrators configure how vanilla and modded mobs spawn through an in-game interface. Control spawn sources and conditions, add extra spawns, adjust attributes, and create equipment and entity NBT presets.
Features
- Spawn toggles: Enable or disable individual spawn types for each mob, including natural spawning, spawners, breeding, spawn eggs, commands, and conversions.
- Spawn conditions and multipliers: Configure chance, height, light, time, weather, dimensions, biomes, structures, surrounding blocks, player distance, and population limits. Select which spawn types the conditions apply to, with whitelist and blacklist options. Vanilla spawn multipliers adjust selection weights and category mob caps.
- Unknown-origin conditions: Select Unknown origin to apply conditions to mobs added directly to the world without a recognized spawn source. Turning off every spawn toggle also blocks these unclassified new spawns.
- Extra spawning: Create additional spawns with their own conditions. Configure the per-second trigger chance, amount per trigger, placement, distance, and world or nearby population limits. Extra spawning uses its own conditions and still follows the spawn toggles.
- Attribute overrides: Adjust supported attributes such as maximum health, attack damage, movement speed, and armor, using numeric values or percentage-based controls.
- Equipment and entity NBT presets: Create multiple weighted presets per mob with an application chance. Configure six equipment slots, item data, drop chances, and entity NBT; filter presets by spawn source and world day. Import your worn and held equipment directly into a preset.
The GUI includes mob previews, search, configuration filters, and pickers for dimensions, biomes, structures, and blocks. Optional Serene Seasons integration adds seasonal spawn conditions.
Getting started
Press N in-game to open the editor. The key can be changed in Minecraft's Controls menu. Editing requires OP or equivalent permission level 2; enable cheats when configuring a single-player world.
Spawn toggles can also be managed with /mobspawncontroller or its alias /msc:
/msc minecraft:zombie natural false
/msc minecraft:zombie all false
/msc list minecraft:zombie
/msc clear minecraft:zombie
Rules are saved to config/mobspawncontroller/rules.json, making them easy to include with a modpack or server configuration. Spawn rules govern new spawns and do not remove existing mobs.
Supported versions and installation
| Minecraft |
Mod loaders |
Java |
| 1.20.1 |
Fabric, Forge |
17+ |
| 1.21.1 |
Fabric, NeoForge |
21+ |
- Fabric builds require Fabric API. Serene Seasons is optional; seasonal conditions are ignored when it is absent.
- Server-only installations can use commands and the JSON configuration. To use the GUI on a server, install the matching mod version on the server and the administrator's client.
评论 0
登录后参与评分
还没有评论,来抢沙发吧