Disable Click Event Warning
Disables the annoying pop-up added in 25w20a when you just want to click a button that runs an operator/invalid command
About this Mod
This mod's entire purpose is to remove the warning that shows up in 25w20a and newer when you try to click text or a dialog button that has a click event that runs an operator command (or an invalid command or any other command that pops up a warning). It does this by simply changing the click event method to just run the command without checking the command. Also allows /say to be run from a click event, cool little side-effect.
I recommend you install this mod if you use and/or develop a datapack that relies heavily on click events and/or dialogs being able to run operator commands.
For Mod Developers:
If you're wondering why this mod might be causing issues with your mod if it changes click event handling in any way, it's probably because this mod @Overrides the runClickEventCommand method of ClientPlayNetworkHandler.class (yarn mappings)
Available Versions
How to Install Disable Click Event Warning on Your Client
Install the Mod Loader Locally
Install fabric for your local Minecraft version.
Download the Matching File
Choose the Disable Click Event Warning file for fabric and Minecraft 1.21.11.
Install Mod
Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+7 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Does Disable Click Event Warning need to be installed on the Minecraft server?
No. Modrinth marks Disable Click Event Warning as unsupported on the server side. Install it only in your local Minecraft mods folder. Your server can remain unchanged unless the mod page lists an additional dependency.
Which version and loader does Disable Click Event Warning require?
Use a file for fabric and your exact Minecraft version. Supported versions include 1.21.11, 1.21.10, 1.21.9. Files for different loaders are not interchangeable.
Disable Click Event Warning is not working – what should I check?
First check the Minecraft version, loader version and required dependencies. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.
Similar Mods
Minecraft Server for Your Group
Disable Click Event Warning stays on your client. Host a compatible world for your group.