Offhand Guard Mod (26.3, 1.21.11) – Stop Accidental Shield and Totem Swaps
Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.
⬇ DownloadOffhand Guard Mod guards your offhand slot against accidental item swaps. By default, this client-side Fabric mod only lets you place shields and totems of undying into your offhand. You can edit the list of allowed items, turn on sound alerts for blocked moves, or hold a bypass key whenever you want to break the rules. It stops unwanted client inputs both in the world and inside menus like chests or the creative catalog, while leaving server commands alone.
![]()
Features:
- Offhand Slot Protection: Blocks accidental vanilla swap-hands actions during regular gameplay and stops unwanted item transfers inside inventory screens, including chests and the creative catalog.
- Custom Allowed Items List: Lets shields and totems of undying into the offhand by default, and gives you a searchable list with item icons to pick which items are allowed.
- Hold-to-Bypass Keybind: Includes an optional hold-to-bypass key that is unbound by default and works with both keyboard keys and mouse buttons.
- Reads and uses your current Minecraft “Swap Item With Offhand” key binding automatically.
- Lets you empty your offhand slot at any time without blocking the action.
- Plays an optional sound effect whenever an offhand action gets blocked (turned off by default).
- Provides a compact English settings screen through Mod Menu with clear red OFF states.
- Only stops accidental client input without deleting existing items or blocking inventory changes forced by servers, commands, or other mods.
Configuration:
config/offhand-guard.json: Saves all your protection toggles, allowed items, and sound settings.options.txt: Stores your custom hold-to-bypass keybind inside the standard Minecraft options file.
How to Use:
- Install Fabric API and Mod Menu so you can open the settings screen in-game.
- Go to Mods, select the mod, and click the settings button to open the menu.
- Adjust the options in order from top to bottom: Protection, Allowed items, Blocked sound, and Hold to bypass.
- Use the search bar inside the Allowed items menu to find specific items by name and icon, then add or remove them from your allowlist.
- Bind a keyboard key or mouse button to Hold to bypass if you want a quick way to put any item into your offhand while holding that key down.
- Click Done at the bottom of the screen to save your changes to
config/offhand-guard.json.
Offhand Guard Mod Download Links
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 26.3, 1.21.11
- 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: In MC Java Mods, or directly above on this page.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Downloads as 554300.mcaddon
- Download size: 91 KB
- Download link checked 22 Nov 2026 — working
- Mirrored on our own servers — the download does not depend on the original host
These come from our own check of the pack file, not from the source page.