MobsBeGone ??
MobsBeGone 是一款适用于 Minecraft 1.21.1 的轻量级 Fabric 模组,允许你完全禁止特定生物生成。
由于现有解决方案对于小型项目来说过于复杂,因此本模组的设计初衷是兼顾简洁性与高效性。
? 内部工作原理
- 模组会从你的配置文件夹中读取
mobsbegone-blacklist.json文件。 - 在该文件中,列出你想要完全禁用的实体 ID(例如
"minecraft:creeper")。 - 模组在启动时解析该文件,并将黑名单存储在快速 O(1) 查找表中。
- 当任何生物尝试生成时(无论是自然生成、命令生成还是结构生成等),模组都会检查其是否在黑名单中。
- 如果该生物在黑名单中,它将被立即丢弃,且不会视觉上生成。
逻辑设计旨在确保安全,并通过在下一次服务器刻中标记待移除的黑名单实体来避免问题。
? 配置示例
将此文件放入:config/mobsbegone-blacklist.json(默认配置已包含当前 Minecraft 的所有生物)
[
"minecraft:creeper",
"minecraft:enderman",
"anothermod:somebaka"
]
就是这样!这些生物将永远不会再出现在你的世界中。??
你可以添加原版游戏或任何其他模组的任意实体!
请注意,列表中的最后一项不应包含尾随逗号!
⚠️ 免责声明
本模组按原样提供。
你可以自由使用、修改、分叉它,或者充满爱意地吐槽它。
不提供任何保证——仅凭氛围感。✨
✨ 致谢
由 Okaeri Game Studio ? 用心制作
作者: Olivia, EasyMochi
享受没有生物打扰的宁静世界吧!?
MobsBeGone ??
MobsBeGone is a lightweight Fabric mod for Minecraft 1.21.1 that lets you blacklist mobs from spawning entirely.
It was made because existing solutions were too complicated for smaller projects — so this one is designed with simplicity and efficiency in mind.
? How It Works Internally
- The mod reads a
mobsbegone-blacklist.jsonfile from your config folder. - Inside it, you list entity IDs you want to completely disable (e.g.
"minecraft:creeper"). - It parses the file at startup and stores the blacklist in a fast O(1) lookup table.
- When any mob tries to spawn (natural, command, structure, etc.), it checks if it's blacklisted.
- If the mob is on the blacklist, it gets instantly discarded and never visually spawned.
The logic is designed to be safe and avoids issues by marking blacklisted entities for removal on the next server tick.
? Config Example
Put this file in: config/mobsbegone-blacklist.json (The default config already contains all of the current Minecraft mobs)
[
"minecraft:creeper",
"minecraft:enderman",
"anothermod:somebaka"
]
And that's it! Those mobs will never appear in your world again. ??
You can add any entity from either the base game, or any other mod you might be using!
Please keep in mind that the last entry of the list should NOT contain a trailing comma!
⚠️ Disclaimer
This mod is provided as-is.
You're free to use it, modify it, fork it, or yell at it lovingly.
No guarantees, no warranties — just vibes. ✨
✨ Credits
Made with love by Okaeri Game Studio ?
Authors: Olivia, EasyMochi
Enjoy the peace and quiet of a mob-free world! ?
下载 MobsBeGone
下载 MobsBeGone
下载 MobsBeGone
下载 MobsBeGone
下载 MobsBeGone
下载 MobsBeGone
下载 MobsBeGone
下载 MobsBeGone
修复了与 Cobblemon 蜂群蜂巢行为的兼容性问题。 版本号更新至 0.0.9 ⑨
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
评论 0
登录后参与评分
还没有评论,来抢沙发吧