Skip to content

Modern KeyBinding Mod for Minecraft 1.20.1, 1.16.5

Port KeyModifier && KeyConflictContext back to Fabric & Early Forge

downloads
3 downloads
views
20 views
Updated
Updated 04.10.2026

Modern KeyBinding

The mod ported the newer version's KeyModifier && KeyConflictContext back to Fabric & Early Forge.

Features

You can now define a keybinding's activation key with key modifiers. Like "Ctrl + G" or "Alt + S";

The keybindings with the same activation key but different key conflict contexts no longer conflict.

"Non-conflict keys" (disabled by default): The keybindings with the same key will all be activated if the key is pressed.

Attention:

The mod will crash with NEI. Use NEI Unofficial(Dependencies: CodeChickenCore | CodeChickenLib) by GTNH instead.

Import as a Gradle dependency

repositories { //... maven { url "https://maven.nova-committee.cn/releases" } }

dependencies { //... // Forge implementation "committee.nova.mkb.forge:mkb-${mc_version}:${mod_version}" // Fabric modImplementation "committee.nova.mkb.fabric:mkb-${mc_version}:${mod_version}" }

Register a keybinding

Register a keybinding that:

  • Activates when Alt and C are pressed;
  • Only available in GUI.

ClientProxy.java

public class ClientProxy { public void init(final FMLInitializationEvent event) { //... yourKeyBinding = KeyBindingRegistry.INSTANCE.registerKeyBinding("key.exampleKey", KeyConflictContext.GUI, KeyModifier.ALT, Keyboard.KEY_C, "key.categories.example"); } }

Change the properties of an existing keybinding

ClientProxy.java

public class ClientProxy { //... public void postInit(final FMLPostInitializationEvent event) { final IKeyBinding extended = (IKeyBinding) yourKeyBinding; // Change the key's keyCode and modifier, as their default values. extended.setInitialKeyModifierAndCode(KeyModifier.ALT, Keyboard.KEY_E); // Change the key's keyCode and modifier. extended.setKeyModifierAndCode(KeyModifier.ALT, Keyboard.KEY_E); // Change the key's conflict context. extended.setKeyConflictContext(KeyConflictContext.IN_GAME); } }

How to install Modern KeyBinding

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.16.5–1.20.4 on Fabric automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric

    The loader must match the game version of the mod file, for example Minecraft 1.20.4. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file ModernKeyBinding-Fabric-1.20.4-1.3.0.jar (52 KB) for your game version.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: Modern KeyBinding should be in the list.

Modern KeyBinding works on the player’s side only: there is no need to install it on a server.

Minecraft 1.20.4 runs on Java 17: with a different Java version the game may close right after launch.

Versions

With dependencies

MinecraftLoaderFileDateActions
1.20.4Fabric1.20.452.4 KB
1.20.1Fabric1.20.156.5 KB 1
1.20Fabric1.2054.7 KB
1.19.4Fabric1.19.454.7 KB
1.19.2Fabric1.19.255.3 KB
1.18.2Fabric1.18.255.9 KB
1.16.5Fabric1.16.556.1 KB 2
1.19.4Fabric1.19.454.7 KB

Reviews

Be the first to rate Modern KeyBinding

Comments 0

Sign in to commentSign in

Similar mods

All mods

More on this

Author: TachibanaSherryLicense: LicenseRef-All-Rights-Reserved

Are you the author? Contact us — we will take it down within 48 hours.