Minecraft.How
Loading...
Skip to content

Modern KeyBinding

by TachibanaSherry

A Fabric library that backports modern key modifier and conflict context APIs to older Minecraft versions, letting mods register keybindings like Ctrl+G or Alt+S without clashes.

Our summary

What this project does

What it doesModern KeyBinding is a client-side library mod for Fabric. It backports the newer KeyModifier and KeyConflictContext systems from recent Minecraft versions to older releases. That means other mods can register keybindings that require modifier keys - think Ctrl+G, Alt+S, or Shift+F - and they can declare when those bindings should be active, such as only while a GUI is open or only during gameplay. Without this library, those features simply don't exist on the supported versions.## Who it's forIf you play on Fabric and use mods that want to add complex keybindings, you need this installed. It isn't a standalone feature mod; it does nothing visible on its own. Mod developers depend on it so they can offer richer controls without writing their own input handling from scratch. Players install it because a mod they want requires it as a dependency.## Verified capabilities- Lets mods define keybindings with modifier keys (Ctrl, Alt, Shift) combined with a primary key.- Provides KeyConflictContext so bindings with the same key but different contexts (GUI, in-game, etc.) don't conflict.- Includes an optional non-conflict mode where multiple bindings on the same key all trigger together (disabled by default).- Exposes a Gradle dependency for both Fabric and Forge environments, though the Modrinth project only lists Fabric support.## Compatibility and caveatsSupported Minecraft versions are 1.16.5, 1.18.2, 1.19.2, 1.19.4, 1.20, 1.20.1, and 1.20.4. The project lists Fabric as the only supported loader on Modrinth. The repository shows Gradle coordinates for both Fabric and Forge artifacts, but the Modrinth metadata doesn't declare Forge support, so treat Forge availability as unconfirmed here.The mod is client-side required and server-side unsupported. It'll crash if used alongside the original NEI (Not Enough Items). The author recommends NEI Unofficial by GTNH (which depends on CodeChickenCore and CodeChickenLib) as a replacement if you need NEI functionality.No configuration screen or commands are mentioned in the official sources. The library simply loads and makes its API available to other mods.

Reactions

Log in to react.

Compatibility

Versions and loaders

8 releases on record

Gallery

Modern KeyBinding icon

We use cookies to improve your experience. By continuing to use this site, you agree to our use of cookies. Read our Privacy Policy