这是一个非常简单的小模组,是我为了修复自己遇到的问题而编写的,我想其他人可能也会觉得有用。
在 Minecraft 中,默认情况下,当你为一个按键绑定分配修饰键(Ctrl、Shift 或 Alt)时,它仍然会触发基础按键。例如:

这种情况在实际控制中永远不会发生,但这很好地展示了问题所在。在这里,如果我按下 D,我会像往常一样向右横移。但是,如果我按下 Ctrl+D,游戏会同时解释为向左横移和向右横移,并同时执行两者,因此我完全无法移动。此模组覆盖了该行为;如果按下了所需的修饰键,它将忽略未修饰时的行为。现在你可以使用 Ctrl+D 向左横移,同时使用 D 向右横移了!如果按下了修饰键且没有有效的按键绑定与之对应,则所有内容都会被忽略并正常工作。
请注意,按键在按键菜单中仍会显示为冲突。修复这个问题会稍微复杂一些,而且也不是什么大问题,建议使用如 Keyboard Wizard 这样的按键管理模组来帮助解决这个问题。
This is a super simple mod I whipped up to fix a problem I've been having, and figured others might find useful.
By default in Minecraft, when you assign a modifier (ctrl, shift or alt) to a keybind, it will still call the base key. For example:

This would never happen in real controls but it's a good way to show the problem. Here, if I were to press D, I'd strafe right as normal. However, if I press Ctrl+D, the game interprets both strafe left AND strafe right, does them both at the same time, and therefore I don't move at all. This mod overrides that behaviour; if a modifier key is being pressed and is required, it'll ignore the unmodified behaviour. You can now strafe left with ctrl+D while strafing right with D! If a modifier is being pressed and there is no valid keybind for it, then everything is ignored and works as normal.
Please note, the keys will still show as a clash in the key menu. This would be a bit more difficult to fix and isn't a huge problem, I recommend using a key management mod like Keyboard Wizard to help with that.
下载 Modifier Key Fix
下载 Modifier Key Fix
下载 Modifier Key Fix
下载 Modifier Key Fix
下载 Modifier Key Fix
下载 Modifier Key Fix
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧