Creepers and all other mobs are now legally required to ask for permission before attacking you. Just say 'Nah' to banish them to the void.
Mob Consent
Personal space matters.
Inspired by CreeperConsent
How It Works
This is a Fabric mod for version 1.20.2.
When you deny a mob's request, the mod runs a command to teleport the mob into the void (y = -200). To keep your immersion intact, The mod also intercepts and hides the "Teleported..." chat message so you don't get spammed.
Requirements
Minecraft 1.20.2
Fabric Loader
Fabric API
Cheats Enabled (Since the mod uses a teleport command to remove mobs).
FAQ
Q: Is this client-side or server-side?
A: It is a client-side mod that executes server-side commands. You can install it on your client, but you need OP/Cheat permissions on the server (or singleplayer world) for the "No" button to actually work.
Q: Will this work on bosses?
A: If the boss is considered a hostile mob and gets close enough to you yes.
Q: Why did I make this?
A: Boredom.
Conversation