ModsFinder

Safe Offhand

by mrkoszos

Safe Offhand lets players lock individual hotbar slots so that an accidental offhand swap cannot move the item in them.

FabricClient-side onlyMIT LicenseOpen source1.21.8 – 26.3

What it does

Each hotbar slot can be locked or left free on its own. When a locked slot is selected and the offhand swap key is pressed, the swap is cancelled and an actionbar message reports that it was blocked. Free slots keep the normal offhand behavior, and swaps made from the inventory screen are not affected.

The mod changes only the offhand swap key on the client, so opening the inventory with that key and interacting with hovered items still works as it does in vanilla. Settings such as whether the mod is enabled are adjusted through Mod Menu. Safe Offhand is a lightweight Fabric mod that runs on the client alone, so servers need nothing installed and players join without it.

The code is open source under the MIT License. Files are published for Fabric only, across nine release versions 1.21.8 – 26.3, and the latest build, 1.1.0, targets 26.3.

Key features

  1. Lockable hotbar slots

    Any hotbar slot can be marked as locked, so the item in it stays put when the offhand swap key is pressed.

  2. Blocked swap message

    A locked slot that is selected and swapped shows an actionbar message, making it clear the swap was stopped.

  3. Selective protection

    Only the slots a player chooses are protected, while free slots keep working as usual.

  4. Mod Menu configuration

    Enabling the mod and setting up locked slots are handled in Mod Menu, with no config file editing.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.31.1.0
26.21.1.0
26.1.21.1.0
26.1.11.1.0
26.11.1.0
1.21.x4 of 4 versions with builds
1.21.111.1.0
1.21.101.1.0
1.21.91.1.0
1.21.81.1.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Protecting tools and totems

A player can lock the hotbar slot that holds a totem or a tool, so the offhand key cannot move it out of place during a fight.

Quick swaps elsewhere

Free slots still allow offhand swaps, so a player can keep using the key for shields or torches in other slots.

Who it’s for: Players who often press the offhand key by mistake and want certain hotbar items to stay in their slots. The mod is useful in combat-heavy play and on any client that runs Fabric.

How it compares

Full comparison

Hover Totem is a Fabric mod for 1.21.11 under a custom license, and it is client-side only. Auto Totem Swaper is released under the MIT License, but it runs on client and server and covers 1.21 – 1.21.11, so it changes swap behavior on both sides. Swap Helper is client-side only and reaches 1.21 – 26.1.2, but it is released under All rights reserved.

ModLoadersGame versionsEnvironmentUpdated
Safe OffhandFabric1.21.8 – 26.3Client-side only2026-10-06
Hover TotemFabric1.21.11Client-side only2026-07-30
Auto Totem SwaperFabric1.21 – 1.21.11Client and server2026-03-18
Swap HelperFabric1.21 – 26.1.2Client-side only2026-10-11

Questions

Does Safe Offhand need to be installed on the server?

No. Servers do not need it; each player installs it for their own game.

Which game versions does Safe Offhand support?

Files cover 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2 and 26.3. The latest Fabric file is 1.1.0 for 26.3.

Can the locked slots be changed in game?

Yes. Locked and free slots and the enabled state are configured through Mod Menu.

In the catalog

Safe Offhand is one of 17,631 Equipment mods on ModsFinder, and one of 8,894 Equipment mods for Fabric. 8,071 mods support Minecraft 26.3.

More from mrkoszos

All projects

Similar mods

What the author says

Safe Offhand is a lightweight client-side Fabric mod that prevents accidental swaps to the offhand. The mod adds lockable hotbar slots. When a locked hotbar slot is selected, pressing the offhand swap key will be blocked. Unlocked slots still work normally, and inventory-based offhand swaps are left untouched.
mrkoszos, on the Modrinth page

Official listing

Owner
mrkoszos
Published
2026-06-29
Updated on Modrinth
2026-10-06
Facts verified
2026-10-15

Tags