nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)

Disable Click Event Warning

Mod

Disables the annoying pop-up added in 25w20a when you just want to click a button that runs an operator/invalid command

Client Game MechanicsLibraryManagementOptimizationUtility

8 downloads
0 followers

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)

External resources


Project members

AndrewGaming587

Member


Technical information

License
Client side
required
Server side
unsupported
Project ID