# KeyConfigs
A Fabric mod for Minecraft that lets you save multiple keybind layouts — PvP, building, survival, whatever — and switch between them on the fly. It rebinds everything registered with the game's `Options`, so it covers vanilla keys and every other mod's keybinds too, not just its own.
## Features
- Save your current keybinds as a named profile
- Switch profiles instantly from an in-game menu (default key: **K**)
- Rename, duplicate-capture, or delete profiles (deleting asks for confirmation first)
- An optional "cycle to next profile" keybind (unbound by default — set it in Controls)
- Profiles are stored as plain JSON under `config/keyconfigs/profiles/`, so they're easy to back up or share
- Applying a profile writes straight to `options.txt`, so the vanilla Controls screen always reflects the active profile
## Requirements
- Minecraft 26.1.2 (Fabric)
- Fabric Loader ≥ 0.19.3
- Fabric API
- Java ≥ 25
## Usage
1. Drop the jar into your `mods` folder alongside Fabric API.
2. Launch the game and join a world.
3. Press **K** to open the Profile Manager.
4. Set up your bindings the normal way in Controls, then click "Save Current Bindings As..." to snapshot them into a named profile.
5. Click a profile's name to activate it at any time.
## Building from source
```
./gradlew build
```
The output jar is written to `build/libs/`.
## License
MIT — see [LICENSE](LICENSE).

