跳到正文

Keybind Overrides

作者:Navrelis

Applies your curated keybind defaults on the pack’s first launch, saves options, then disables itself so players keep custom binds. Supports modifiers, unbinding, and works with any mod keymapping. No restart needed.

收藏

介绍

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

Keybind Overrides is a tiny client-side utility for modpack creators. It applies a curated set of keybind defaults on the very first launch of the pack—without shipping options.txt and without forcing players to restart. On first load it reads config/keybindoverrides-client.toml, overwrites any listed keybinds (vanilla + modded), saves options.txt, then automatically flips applyOverrides to false so players keep their own tweaks afterward. Supports modifiers (Shift/Ctrl/Alt), unbinding via key.keyboard.unknown, and works alongside any mod that registers keymappings. If you need to reapply on an update, just set applyOverrides = true again.

How to use

  1. Launch once to generate config/keybindoverrides-client.toml.
  2. Set applyOverrides = true and list overrides as key_name:key_value[:MODIFIER] (copy from your options.txt).
  3. Ship the pack; first launch applies and disables itself. No restart needed.

Why use it

  • Prevents key conflicts across large modpacks.
  • Doesn’t wipe player settings on updates (unlike bundling options.txt).
  • Immediate effect; no reboot required.

常见问题

Keybind Overrides 支持哪些 Minecraft 版本?

Keybind Overrides 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Keybind Overrides 怎么安装?

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

评论

登录后评论和评分

Navrelis 的其他作品

查看全部 →