Create Toolbox 输入修复
一个用于 Fabric 1.20.1 版 Create 的轻量级客户端修复模组。
此模组解决了工具箱(Toolbox)中令人困扰的 Bug:在单次按键期间,工具箱 GUI 会打开两次:
该问题出现的原因是 Create 同时接收到了按下和释放的输入事件,并错误地打开了两次工具箱菜单。
此模组的作用
此模组修补了 Create 的工具箱输入处理器,使工具箱 GUI 仅在每次按键时打开一次。
已修复的行为
- 按下按键时正常打开工具箱
- 释放按键不再重新打开 GUI
- 不再有卡住不动的工具箱菜单
- 无需按 ESC 键来关闭它
功能特点
- 仅客户端
- 轻量级
- 无需配置
- 不改变游戏玩法
- 对现有世界安全
- 兼容 Fabric 1.20.1 上的 Create 6.0.8.1
兼容性
- Minecraft 1.20.1
- Fabric Loader
- Create Fabric 6.0.8.1
- Fabric API
技术细节
模组注入点为:
ToolboxHandlerClient.onKeyInput
它在保留正常按键行为的同时,过滤掉由释放触发重复打开的事件。
注意事项
此模组仅影响工具箱输入处理。
它不会修改以下内容:
致谢
Create 原版模组由 Create 团队开发。
本项目仅是一个小型的兼容性/输入修复。
有趣的背景故事
我根本不是模组开发者。
实际上,我是在 ChatGPT 和 Cursor 的帮助下完成这个修复的,因为我的完美主义绝对无法容忍每次工具箱都打开两次的情况。
在花费了大量时间测试配置、移除模组、更改键位、重新安装 Create 以及搜索并不存在的修复方案后,我决定自己动手制作一个微小的修复模组,以恢复我的理智。
所以,如果这个 Bug 也让你抓狂——不客气。
Create Toolbox Input Fix
A tiny client-side fix mod for Create on Fabric 1.20.1.
This mod fixes the annoying Toolbox bug where the Toolbox GUI opens twice during a single key press:
- once when pressing the key
- again when releasing it
The issue happens because Create receives both press and release input events and incorrectly opens the Toolbox menu twice.
What this mod does
This mod patches Create's Toolbox input handler and allows the Toolbox GUI to open only once per key press.
Fixed behavior
- Toolbox opens normally on key press
- Releasing the key no longer reopens the GUI
- No more stuck Toolbox menu
- No need to press ESC to close it
Features
- Client-side only
- Lightweight
- No config required
- No gameplay changes
- Safe for existing worlds
- Compatible with Create 6.0.8.1 on Fabric 1.20.1
Compatibility
- Minecraft 1.20.1
- Fabric Loader
- Create Fabric 6.0.8.1
- Fabric API
Technical details
The mod injects into:
ToolboxHandlerClient.onKeyInput
It filters duplicate release-triggered open events while preserving normal key behavior.
Notes
This mod only affects Toolbox input handling.
It does NOT modify:
- inventory behavior
- chat
- other GUI screens
- gameplay mechanics
Credits
Original Create mod by the Create team.
This project is only a small compatibility/input fix.
Funny backstory
I am not a mod developer at all.
I actually made this fix with the help of ChatGPT and Cursor because my perfectionism absolutely could NOT tolerate the Toolbox opening twice every single time.
After spending way too many hours testing configs, removing mods, changing keybinds, reinstalling Create, and searching for fixes that did not exist, I ended up making a tiny fix mod myself just to restore my sanity.
So if this bug was driving you crazy too — you're welcome.
评论 0
登录后参与评分
还没有评论,来抢沙发吧