Newon GoogleMake CraftRank a preferred source in Google SearchAdd on Google ›
CraftRank SitesA free website and store for your server Make yours ›AshlarFree server software built on Paper, with DDoS and backdoor protection See Ashlar ›Security RadarA free check of your server's login, anti-bot and proxy settings, only with your OK See how it works ›CommunityAsk questions, share builds and find people to play with Join the forum ›
Resources / Mods / Offhand Guard

Offhand Guard

Protect your offhand from accidental item swaps. Configurable allowed items, inventory protection, optional sound and a hold-to-bypass key.

ModsFree1.21 – 26.x
by Invisiblezappie · listed from Modrinth
Download ›

Direct download from Modrinth · 6 downloads

Offhand Guard screenshot 1

What it does

Offhand Guard is a mod made by Invisiblezappie. Protect your offhand from accidental item swaps. Configurable allowed items, inventory protection, optional sound and a hold-to-bypass key.

It supports Minecraft 1.21 – 26.x. It has been downloaded 6 times on Modrinth. The last update came out on Oct 16, 2026.

Supported versions

26.x1.21

Release history

Offhand Guard has had 6 releases on Modrinth since Oct 15, 2026. 6 of them came out in the past year. The newest is 1.2.0+mc1.21.11, released on Oct 16, 2026. It is made for Minecraft 1.21.11. It runs on Fabric. The download is 92 KB.

VersionReleasedMinecraftType
1.2.0+mc1.21.11Oct 16, 20261.21.11Release
1.2.0+mc26.1.2Oct 16, 202626.1.2Release
1.2.0+mc26.1.1Oct 16, 202626.1.1Release
1.2.0+mc26.1Oct 15, 202626.1Release
1.2.0+mc26.2Oct 15, 202626.2Release
Description from the author on Modrinth

Offhand Guard

Keep unwanted items out of your offhand. Offhand Guard is a client-side Fabric mod that allows shields and totems of undying by default, while letting you choose your own allowed items.

Features

  • Protects vanilla swap-hands actions in the world and item transfers in inventory screens, including chests and the creative catalog.
  • Uses your configured Minecraft Swap Item With Offhand key binding.
  • Searchable allowed-items list with item icons.
  • Compact English settings through Mod Menu, with red OFF states.
  • Optional blocked-action sound, disabled by default.
  • Optional Hold to bypass binding, unbound by default. Supports keyboard and mouse bindings.
  • Emptying your offhand remains allowed.

Settings

Install the matching Fabric API. Install Mod Menu to open Mods > Offhand Guard > Configure. The settings order is Protection, Allowed items, Blocked sound, Hold to bypass, then Done.

Settings are saved in config/offhand-guard.json. Minecraft stores the bypass binding in options.txt.

Scope

Offhand Guard prevents accidental client input. It does not remove existing items or override inventory changes forced by a server, commands, or other mods. Compatibility with every third-party inventory mod or server plugin is not guaranteed.

License

All Rights Reserved.

Icon: Font Awesome Free 5.15.4 by Fonticons, Inc., licensed under CC BY 4.0. Original shield-alt icon, converted to PNG with white padding.

Written by Invisiblezappie. Read it with pictures on Modrinth.

How to install Offhand Guard

  1. This mod runs only on your own game. Servers do not need it, so you can use it on any server.

  2. Install Fabric for Minecraft 1.21 – 26.x.

  3. Add the mods it needs: Fabric API.

  4. Download the .jar file from Modrinth and put it in the mods folder of your .minecraft directory.

  5. Start Minecraft with the Fabric profile.

  6. Easier: in Prism Launcher or the Modrinth App, search for Offhand Guard in your instance's mods and click Install. It adds the loader and the mods it needs for you.

Full guide: How to install Minecraft mods

Compatibility

Minecraft versions
26.x, 1.21
Runs on
Fabric
Where it runs
Client only (your game)
Edition
Java
Needs
Fabric API, Mod Menu
License
Free to use
Price
Free
Upkeep
Actively updated (Nov 15, 2026)

Offhand Guard compared with similar ones Compare all alternatives

ResourceDownloadsVersionsLast updatePrice
Offhand Guardthe one you looked at61.21 – 26.xOct 16, 2026Free
Inventory Profiles Nextblackd42.4M1.16 – 26.xSep 27, 2026Free
Eclipse Toolsnobub21126.x4 days agoFree
Guard Villagersseymourimadeit13.9M1.16 – 26.xOct 5, 2026Free

Questions

Does Offhand Guard work on Minecraft 26.x?

Yes. Offhand Guard supports Minecraft 26.x. All supported versions: 26.x, 1.21.

Is Offhand Guard free?

Yes. Offhand Guard is free to download from Modrinth.

Is Offhand Guard client-side or server-side?

Client-side. Offhand Guard goes in your own mods folder and works on any server, including servers without mods.

Does Offhand Guard need anything else?

Yes: Fabric API, Mod Menu. Install it before Offhand Guard.

Is Offhand Guard still updated?

Yes. The last update came out in the past day.

What are the best alternatives to Offhand Guard?

The closest ones are Inventory Profiles Next, Eclipse Tools and Guard Villagers. Compare all alternatives

Alternatives to Offhand Guard

Eclipse ToolsMods · 26.x

Zoom, freecam, fullbright, inventory sort, item lock, chest finder, better chat, auto tool and an automatic librarian reroller.

Free211 downloads
Compare all alternatives ›

Reviews

–★★★★★
0 reviews
50
40
30
20
10

Log in to leave a review.