Disabler:生成、生物群系、维度、结构与物品控制
简介
一款服务端工具模组,让管理员能够通过简单的配置文件来控制实体生成、结构生成、维度访问、世界构成、物品、战利品及容器内容。
你可以控制:
阻止实体生成
- 从生物群系生成列表中移除实体
- 取消运行时的生成尝试
禁用结构
移除生物群系
- 完全排除特定生物群系的世界生成
- 干净地防止它们出现在新世界中
- 保持陆地替换在陆地上,水域替换在水域中
- 包含针对 Alex's Caves 洞穴生物群系生成路径的额外兼容性处理
禁用维度
- 在实体进入被禁用的维度之前取消维度旅行
- 当
minecraft:the_nether 被禁用时,阻止新的下界传送门形成
- 无生成点传送回退:玩家停留在原地
屏蔽物品
- 从生成的战利品中移除配置的物品
- 防止被屏蔽的物品实体留在世界中或进入玩家容器
- 清理合成、熔炼、玩家容器、末影箱、装备和打开容器中的结果
- 可选地以可配置的间隔扫描已加载的模组和原版存储
简单的 JSON 文件
- 无需命令,无需 GUI
- 仅服务端
- 无需安装客户端模组
- 可选的单玩家支持
- NeoForge、Forge 和 Fabric 上均使用相同的
config/disabler-server.json 格式
配置
配置文件位于:
.minecraft/config/disabler-server.json
{
"blocked_mobs": [],
"blocked_biomes": [],
"biome_exceptions": [
"minecraft:mushroom_fields"
],
"blocked_structures": [],
"blocked_dimensions": [],
"blocked_items": [],
"storage_scan": {
"enabled": true,
"interval_ticks": 300,
"block_entities_per_tick": 512,
"skipped_namespaces": []
}
}
参数说明
blocked_mobs:无法生成或加入服务器级别的实体类型 ID。示例:minecraft:zombie。
blocked_biomes:从新生成区块中排除的生物群系 ID。替换生物群系按气候选择并保留陆地/水域类别。示例:minecraft:plains。
biome_exceptions:不能被选为替换项的生物群系。默认排除 minecraft:mushroom_fields,因为它具有特殊的地形要求。
blocked_structures:阻止在新生成区块中开始的结构 ID。示例:minecraft:village_plains。
blocked_dimensions:实体无法进入的原版或模组维度 ID。在更改层级前取消旅行。示例:minecraft:the_end。
blocked_items:从战利品、物品实体、玩家容器、合成与熔炉结果、打开的菜单以及支持的存储中移除的原版或模组物品 ID。示例:minecraft:elytra。
storage_scan:用于定期从已加载的方块实体容器中移除屏蔽物品的设置组。
storage_scan.enabled:启用或禁用定期存储扫描。当此值为 false 时,基于事件的项目和战利品屏蔽仍会继续工作。
storage_scan.interval_ticks:完整存储扫描周期之间的延迟。默认为 300 tick,约 15 秒。
storage_scan.block_entities_per_tick:每个 tick 检查的最大排队方块实体数量。默认限制为 512。
storage_scan.skipped_namespaces:不得扫描其物理存储的模组命名空间。示例:["examplemod"]。
该模组还会创建 .minecraft/config/DisablerGuide.md,其中包含相同的参数说明。未开启的战利品表容器在战利品生成之前保持原样,以防止干扰 Lootr 转换。
如果存在旧的 .minecraft/config/disabler-server.toml 但不存在 JSON 文件,已知设置将自动迁移。TOML 文件将作为备份保留,而所有后续配置均使用 JSON。
观看 GitHub 了解它是如何工作的!
Disabler: Spawn, Biome, Dimension, Structure & Item Control
About
A server-side utility mod that gives admins control over mob spawns, structure generation, dimension access, world composition, items, loot, and inventories - powered by a simple config file.
You can control:
Block mob spawns
- Remove mobs from biome spawn lists
- Cancel runtime spawn attempts
Disable structures
- Prevent entire structure types from generating
- Remove their custom mob spawn overrides
Remove biomes
- Fully exclude specific biomes from world generation
- Cleanly prevent them from appearing in new worlds
- Keep land replacements on land and water replacements in water
- Includes extra compatibility handling for Alex's Caves cave biome generation paths
Disable dimensions
- Cancel dimension travel before entities enter blocked dimensions
- Prevent new Nether portals from forming when
minecraft:the_nether is blocked
- No spawn-teleport fallback: players stay where they are
Block items
- Remove configured items from generated loot
- Prevent blocked item entities from remaining in the world or entering player inventories
- Clean crafting, smelting, player inventory, ender chest, equipment, and open-container results
- Optionally scan loaded modded and vanilla storages at a configurable interval
Simple JSON file
- No commands, no GUI
- Server-side only
- No client install required
- Optional singleplayer support
- Same
config/disabler-server.json format on NeoForge, Forge, and Fabric
Configuration
The config file is located at:
.minecraft/config/disabler-server.json
{
"blocked_mobs": [],
"blocked_biomes": [],
"biome_exceptions": [
"minecraft:mushroom_fields"
],
"blocked_structures": [],
"blocked_dimensions": [],
"blocked_items": [],
"storage_scan": {
"enabled": true,
"interval_ticks": 300,
"block_entities_per_tick": 512,
"skipped_namespaces": []
}
}
Parameters
blocked_mobs: Entity type ids that cannot spawn or join a server level. Example: minecraft:zombie.
blocked_biomes: Biome ids excluded from newly generated chunks. Replacements are selected by climate and preserve the land/water category. Example: minecraft:plains.
biome_exceptions: Biomes that cannot be selected as replacements. minecraft:mushroom_fields is excluded by default because it has special terrain requirements.
blocked_structures: Structure ids prevented from starting in newly generated chunks. Example: minecraft:village_plains.
blocked_dimensions: Vanilla or modded dimension ids that entities cannot enter. Travel is cancelled before changing level. Example: minecraft:the_end.
blocked_items: Vanilla or modded item ids removed from loot, item entities, player inventories, crafting and furnace results, open menus, and supported storages. Example: minecraft:elytra.
storage_scan: Group of settings for periodic removal of blocked items from loaded block-entity inventories.
storage_scan.enabled: Enables or disables periodic storage scanning. Event-based item and loot blocking continues to work when this is false.
storage_scan.interval_ticks: Delay between complete storage scan cycles. The default is 300 ticks, approximately 15 seconds.
storage_scan.block_entities_per_tick: Maximum number of queued block entities checked per tick. The default limit is 512.
storage_scan.skipped_namespaces: Mod namespaces whose physical storages must not be scanned. Example: ["examplemod"].
The mod also creates .minecraft/config/DisablerGuide.md with the same parameter explanations. Unopened loot-table containers are left untouched until their loot is generated, preventing interference with Lootr conversion.
If an old .minecraft/config/disabler-server.toml exists and JSON does not, known settings are migrated automatically. The TOML file is retained as a backup, while all further configuration uses JSON.
Watch on GitHub how it works!
评论 0
登录后参与评分
还没有评论,来抢沙发吧