Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Modifier Key Fix

Modifier Key Fix

Fixes a bug in vanilla where keybinds with modifiers still call the base key

1,824
5
Game Mechanics
Utility
AboutChangelogVersions

This is a super simple mod I whipped up to fix a problem I've been having, and figured others might find useful.

By default in Minecraft, when you assign a modifier (ctrl, shift or alt) to a keybind, it will still call the base key. For example:

This would never happen in real controls but it's a good way to show the problem. Here, if I were to press D, I'd strafe right as normal. However, if I press Ctrl+D, the game interprets both strafe left AND strafe right, does them both at the same time, and therefore I don't move at all. This mod overrides that behaviour; if a modifier key is being pressed and is required, it'll ignore the unmodified behaviour. You can now strafe left with ctrl+D while strafing right with D! If a modifier is being pressed and there is no valid keybind for it, then everything is ignored and works as normal.

Please note, the keys will still show as a clash in the key menu. This would be a bit more difficult to fix and isn't a huge problem, I recommend using a key management mod like Keyboard Wizard to help with that.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.20.1
1.19.4
1.18.2
1.17.1
1.16.5
1.12.2

Platforms

Forge

Supported environments

Client-side

Creators

fureniku
fureniku Member

Details

Licensed ARR
Published 7 months ago
Updated 7 months ago

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.