Hotkey Profiles 是一款面向 Minecraft Java 的 客户端 Fabric 模组,允许你将当前的按键绑定设置保存为命名配置文件,并在它们之间即时切换。如果你经常为了不同的活动(如 PvP、建造、红石、鞘翅飞行或创造模式工作)而更改控制方式,这款模组非常实用。
功能特性
- 随时保存按键配置文件:基于当前的按键绑定设置进行保存
- 即时应用配置:按键绑定立即更新,且选项文件会自动保存
- 可滚动的配置列表:即使拥有大量配置文件,列表依然易于使用
- 复制配置文件:快速创建变体版本
- 重命名配置文件:安全处理名称冲突问题
- 删除配置文件:默认(Default) 配置文件受到保护,不可删除
- 覆盖确认:如果尝试保存一个已存在的配置文件名称,模组会先询问是否覆盖
- 使用稳定的按键绑定标识符(只要使用标准的
KeyBinding,即可兼容 原版和模组化的按键绑定)
工作原理
该模组会捕获所有已注册按键绑定的快照,并将其存储在配置文件中:
- KeyBinding ID → 绑定的按键翻译
当你应用某个配置文件时,模组会恢复这些绑定关系,重新映射按键,并写入更新后的选项文件。
使用方法
- 安装 Fabric Loader + Fabric API,并将 Hotkey Profiles 放入你的
mods 文件夹中。
- 打开 Mod Menu → Hotkey Profiles。
- 输入配置文件名称并点击 Save(保存)。
- 在列表中选中任意配置文件,然后点击 Apply(应用)以进行切换。
配置 / 存储
配置文件以 JSON 格式存储在以下位置:
config/hotkeyprofiles.json
这使得备份你的配置文件或在不同实例间复制变得轻而易举。
兼容性
- Minecraft Java (Fabric)
- 仅限客户端(无需安装服务端)
- 与大多数正常注册按键绑定的模组兼容
注意事项
- 默认(Default) 配置文件会自动创建(如果缺失),且无法被删除或重命名。
- 如果某个按键绑定不再存在(例如某模组已被移除),在应用配置文件时会安全地忽略它。
如果你遇到问题,请提供你的 Minecraft 版本、Fabric Loader/Fabric API 版本以及崩溃日志(如有)。
Hotkey Profiles is a client-side Fabric mod for Minecraft Java that lets you save your current keybind setup as named profiles and switch between them instantly. It’s ideal if you regularly change your controls for different activities such as PvP, building, redstone, Elytra flight, or creative work.
Features
- Save keybind profiles from your current controls at any time
- Apply profiles instantly (keybinds update immediately and your options are saved)
- Scrollable profile list that stays usable even with many profiles
- Duplicate profiles to create variants quickly
- Rename profiles (with safe handling of name collisions)
- Delete profiles (the Default profile is protected)
- Overwrite confirmation: if you try to save a profile name that already exists, the mod asks before overwriting
- Uses stable keybind identifiers (works with vanilla and modded keybinds as long as they use normal
KeyBindings)
How it works
The mod captures a snapshot of all registered keybindings and stores them in a profile:
- KeyBinding ID → bound key translation
When you apply a profile, the mod restores those bindings, remaps keys, and writes the updated options file.
Usage
- Install Fabric Loader + Fabric API and add Hotkey Profiles to your
mods folder.
- Open Mod Menu → Hotkey Profiles.
- Enter a profile name and click Save.
- If the name already exists, you’ll be prompted to confirm overwriting it.
- Select any profile in the list and click Apply to switch.
Configuration / Storage
Profiles are stored as JSON in:
config/hotkeyprofiles.json
This makes it easy to back up your profiles or copy them between instances.
Compatibility
- Minecraft Java (Fabric)
- Client-side only (no server installation required)
- Compatible with most mods that register keybinds normally
Notes
- The Default profile is created automatically (if missing) and cannot be deleted or renamed.
- If a keybind no longer exists (e.g., a mod was removed), it is safely ignored when applying a profile.
If you encounter issues, please include your Minecraft version, Fabric Loader/Fabric API versions, and a crash log (if applicable).
评论 0
登录后参与评分
还没有评论,来抢沙发吧