ShiftClickFix
by NoYavy
ShiftClickFix stops the offhand from replacing a block interaction when a player is sneaking with an empty offhand, so the block the player targets is the one that gets used.
What it does
Sneaking with an empty offhand normally made block interactions fall through to the offhand, which could stop a block from being used. The mod corrects that order so the block interaction runs as expected. Both the server and every player need it, since the interaction is handled on both sides. Files are published for NeoForge only, across 16 release versions, 1.21 – 26.2, with 1.0.0 for 26.2 as the latest file, under the MIT License and open source.
The fix applies to the item-use path that runs before an item is placed, which covers the case of holding a block in the main hand while the offhand is empty.
Key features
Block interaction priority
A sneaking player with an empty offhand interacts with the targeted block instead of triggering an offhand action.
Main-hand placement
Blocks held in the main hand can be placed while the offhand is empty and the player is sneaking.
Targeted fix
The change covers only the sneak and empty-offhand case, leaving other interaction behavior as it was.
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x12 of 12 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
In the catalog
ShiftClickFix is one of 29,952 Game mechanics mods on ModsFinder, and one of 12,140 Game mechanics mods for NeoForge. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
Do you know that problem when a mod asks you to shift-right-click a block and it just does not work, because you have something in your offhand? This mod fixes that problem and prevents use of your offhand when interacting with a block, so you always use the block before the item.
Official listing
- Modrinth page
- modrinth.com/mod/shiftclickfix
- Owner
- NoYavy
- Published
- 2026-03-18
- Updated on Modrinth
- 2026-06-17
- Facts verified
- 2026-10-15