A Fabric mod providing an item that repels hostile mobs and an optional global mob filter (similar to Bad Mobs for Forge).
I built this because one of my best friends has arachnophobia! I wanted to play with hostile mobs and they didn't, and they especially didn't want to see any spiders. Tested on 1.18 but likely works on older versions as well.
Baddie-B-Gon™ Spray
Install on both client and server.
Use Mod Menu.
Create a baddiebgon.json5
file containing the following:
{
"effectiveDistanceSpray": 50,
"banHostileMobRegex": ""
}
effectiveDistanceSpray
determines for how far the Baddie-B-Gon™ spray item is effective.
banHostileMobRegex
must be a Java-compatible regular expression based on Minecraft entity IDs. To ban all spiders and creepers, for example, use .*(spider|creeper).*
.