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

131 downloads
3 followers
Follow Save

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)


Project members

AndrewGaming587

Member

Details

Licensed WTFPL
Published 5 months ago
Updated 5 months ago