Disable Click Event Warning
Disable Click Event Warning removes the pop-up that appears when a dialog button runs an operator or otherwise invalid command in newer snapshots.
What it does
Starting with snapshot 25w20a, Minecraft shows a warning when a dialog button's click event tries to run an operator command or an invalid command. This Fabric mod turns that warning off, so the command runs without a confirmation step. The mod's entire purpose is to remove that warning, and it does nothing else to dialog behavior.
The mod overrides the runClickEventCommand method of ClientPlayNetworkHandler, using yarn mappings, which is why it can change how click events are handled. Because it skips the check, a dialog can run commands that the warning would normally flag. The mod is client-side only, so players install it and servers do not need it. Files are published for Fabric across six release versions, 1.21.6 – 1.21.11, with 1.1.0 for 1.21.11 as the latest.
Authors of datapacks that rely heavily on click events may want to recommend the mod to their players. Since it changes click event handling, it can also cause issues with other mods that alter the same behavior. The mod is released under a custom license and is not open source, although its source code is publicly available.
Key features
Suppresses click event warnings
The pop-up that warns before a dialog button runs an operator or invalid command no longer appears.
Runs commands without checking
Click events that change the command method run the command without the usual validation step.
Overrides click event handling
The runClickEventCommand method of the client network handler is replaced, which removes the warning path.
Dialog operator commands
Dialogs can run operator commands directly from a button once the warning is removed.
Compatibility
Latest build for each game version and loader.
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
How it compares
Warn on run_command is client-side only, released under the Creative Commons Attribution 4.0 license, and is not open source; it targets 1.21.5 only. Command on Interval is server-side only, open source under the Mozilla Public License 2.0, and covers 1.21 – 1.21.1, so it works on a different side and range. Default commands is server required with client optional, open source under the MIT License, and is published for 1.21.11 alone.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Disable Click Event Warning | Fabric | 1.21.6 – 1.21.11 | Client-side only | 2026-01-21 |
| Warn on run_command | Fabric | 1.21.5 | Client-side only | 2025-06-16 |
| Command on Interval | Fabric | 1.21 – 1.21.1 | Server-side only | 2026-01-01 |
| Default commands | Fabric | 1.21.11 | Server required, client optional | 2026-05-31 |
Questions
Does Disable Click Event Warning need Fabric API?
Does the server need Disable Click Event Warning?
Which game versions does the mod cover?
Does the mod conflict with other click event mods?
In the catalog
Disable Click Event Warning is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from AndrewGaming587
Similar mods
What the author says
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…
Official listing
- Modrinth page
- modrinth.com/mod/disable-click-event-warning
- Owner
- AndrewGaming587
- Published
- 2025-06-02
- Updated on Modrinth
- 2026-01-21
- Facts verified
- 2026-10-15