Prevents unwanted mobs from spawning in your Minecraft world. Configure via JSON files.
OP needed for commands.
disableAllMobs, onlyVillagers, disableVillagers, disableBossesminecraft:*, modid:*)| 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 |
Two JSON files in config/:
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.
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.
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.
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.
This project is licensed under the MIT License.