跳到正文

No Mobs Thank You

作者:3CTeam

Prevents unwanted mobs from spawning via JSON presets and override lists.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

NoMobsThankYou

Prevents unwanted mobs from spawning in your Minecraft world. Configure via JSON files.

OP needed for commands.


⚡ Features

  • 4 presets: disableAllMobs, onlyVillagers, disableVillagers, disableBosses
  • Override lists: add or keep specific mobs with wildcard support (minecraft:*, modid:*)
  • Runtime reload: change config without restarting the server

📁 Commands

| Command | Description |
|—|—|
| /nomobsthankyou reload | Reload config from disk |
| /nomobsthankyou status | Show current config status |
| /nomobsthankyou clean presets | Reset presets to defaults (auto-reload) |
| /nomobsthankyou clean list | Clear override remove and keep lists (auto-reload) |
| /nomobsthankyou open presets | Open presets config file |
| /nomobsthankyou open list | Open override lists config file |


⚙️ Configuration

Two JSON files in config/:

Presets file: nomobsthankyou-presets.json

Enable exactly one preset at a time. If more than one is true, none will be applied.

{
  "disableAllMobs": false,
  "onlyVillagers": false,
  "disableVillagers": false,
  "disableBosses": false
}

| Preset | Blocks |
|—|————————————————————————————–|
| disableAllMobs | All mobs (hostile, passive, ambient, water) + villagers and iron/snow/copper golems. |
| onlyVillagers | Same as disableAllMobs, but villagers and wandering traders are preserved. |
| disableVillagers | Villagers and wandering traders only. |
| disableBosses | Wither, Ender Dragon, and Elder Guardian. |

Note: Invalid JSON or values will reset to defaults and show a warning in chat.

Overrides file: nomobsthankyou-overrides.json

Add or keep specific entities. Supports wildcards (minecraft:*, modid:*):

{
  "remove": ["minecraft:creeper", "minecraft:zombie"],
  "keep": ["minecraft:villager", "minecraft:wandering_trader"]
}

Overrides are applied on top of the active preset.

Note: Invalid JSON or values will reset to defaults and show a warning in chat.


📦 Requirements

Fabric

  • Fabric API
  • Mod Menu (optional)
  • (+26.X) Java 25 or newer

NeoForge

  • (+26.X) Java 25 or newer

💬 Suggestions & Issues

If you have an idea, a suggestion, or found a bug, feel free to leave a comment on the CurseForge page or open an issue on the GitHub repository.


❓ FAQ

Can I use this mod in a public modpack?

Yes! You’re free to include it in any public or private modpack, no permission needed.


📜 License

This project is licensed under the MIT License.

常见问题

No Mobs Thank You 支持哪些 Minecraft 版本?

No Mobs Thank You 支持 Minecraft Java 版 1.21.1–26.3,共 5 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

No Mobs Thank You 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

3CTeam 的其他作品

查看全部 →