跳到正文

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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)

常见问题

Disable Click Event Warning 支持哪些 Minecraft 版本?

Disable Click Event Warning 支持 Minecraft Java 版 1.21.6–1.21.11,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Disable Click Event Warning 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

AndrewGaming587 的其他作品

查看全部 →