
Safe Offhand
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.

Features
- Lock or unlock each hotbar slot individually
- Block the offhand swap key for locked hotbar slots
- Allow offhand swaps from unlocked hotbar slots
- Keep normal inventory interactions unchanged
- Show an actionbar message when a swap is blocked
- Configure everything through Mod Menu
- Client-side only
How it works
If you select a locked hotbar slot and press your offhand swap key, Safe Offhand prevents that item from being moved to your offhand.
If the selected hotbar slot is unlocked, the offhand swap works normally.
Opening your inventory and using the offhand swap key on hovered items still works like vanilla Minecraft.

Configuration
Safe Offhand can be configured through Mod Menu.
You can configure:
- Whether the mod is enabled
- Whether actionbar messages are shown
- Which hotbar slots are locked or unlocked

Slot States
Each hotbar slot can be set to one of two states:
- Locked: pressing the offhand swap key while this slot is selected will be blocked
- Unlocked: pressing the offhand swap key while this slot is selected will work normally
This makes it easy to protect important hotbar slots while still allowing offhand swaps from selected slots.

Requirements
- Fabric Loader
- Fabric API
- Cloth Config
Optional
- Mod Menu, recommended for in-game configuration
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as safeoffhand-1.0.0-mc26.2.jar — drop this file into the mods folder
- Download size: 37 KB
- Download link checked 24 Aug 2026 — working
These come from our own check of the pack file, not from the source page.