A simple Forge mod for 1.20.1, for players who want to quickly disable problematic mobs without looking up the id, tweaking a config file and then restarting their game.
Simply right-click any mob with the wand to blacklist it (or use commands). Blacklisted mobs are immediately removed from the game world and cannot respawn.
It works by intercepting Minecraft's mob spawn events and canceling them for blacklisted entities. All changes automatically save to a JSON config file.
You require OP level 2 to use the wand or commands.
Commands:
- /mobwand list - Shows all your blacklisted mobs
- /mobwand add <mob> - Blacklist a mob by ID (like minecraft:creeper)
- /mobwand remove <mob> - Allow a mob to spawn again
- /mobwand clear - Clears the blacklist
- /give @s mobwand:mob_wand - Give yourself the wand (or use the creative tools tab)