keybind presets banner
keybind presets icon

keybind presets

Create a Minecraft mod that allows players to save, load, and manage multiple keybind presets. The mod should let users name presets (for example: “PvP,”...

00
fabricBoth1.21.1mod

keybind presets lets you save and swap full control layouts in-game.

  • A new controls entry Open Keybind Presets (unbound by default) opens the management screen. Bind it in Settings → Controls.
  • The screen lists saved presets, shows the active one, and provides Save, Load, Rename (using the text field), and Delete actions.
  • Saving captures every current key binding (including modded bindings) and writes them to config/keybindpresets.json. Loading applies the selected preset immediately and updates Minecraft’s options.
  • Preset names are stored as entered; existing names are reused/overwritten on save, and rename blocks duplicates.

Known limitations / notes:

  • The mod is client-focused; it loads harmlessly on servers but only the client UI does anything.
  • Preset data is keyed by each binding’s translation key; if another mod removes or renames a binding, that entry will be ignored when loading.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.