MobsBeGone 🐾🚫
MobsBeGone is a lightweight Fabric mod for Minecraft 1.21.1 that allows you to completely prevent certain mobs from appearing in your world.
The mod was created in response to the complexity of existing solutions — it's designed with an emphasis on simplicity and efficiency for smaller projects.
🔧 How It Works
- The mod reads the
mobsbegone-blacklist.jsonfile from the configuration folder - This file specifies entity IDs that need to be disabled (for example,
"minecraft:creeper") - During startup, the file is analyzed and the blacklist is stored in a fast O(1) access table
- Whenever any mob attempts to spawn (natural, via commands, in structures, etc.), a check is made to see if it's on the blacklist
- If the mob is in the prohibited list, it's immediately removed and never appears visually
The logic is built safely and avoids problems by marking banned entities for deletion in the next game tick.
📂 Configuration Example
Place this file in: config/mobsbegone-blacklist.json (The default configuration already includes all current Minecraft mobs)
[
"minecraft:creeper",
"minecraft:enderman",
"anothermod:somebaka"
]
And that's it! These mobs will never appear in your world again. 💣💥
You can add any entities from the base game or other mods you're using!
Please note that the last item in the list should NOT contain a trailing comma!
✨ Developers
Created with love by Okaeri Game Studio 💜
Authors: Olivia, EasyMochi
Enjoy the peace and quiet of a mob-free world! 🌸