Offhand In Containers
by BattryLeaf
Offhand In Containers puts an interactive offhand slot inside chests, barrels, shulker boxes and other container screens, so players can swap items without closing the window.
What it does
The offhand slot is drawn beside the player inventory section in container screens, using vanilla container and slot sprites. It supports hover tint, real item tooltips and full mouse interaction, and it blends in with the rest of the interface because it looks like the screens Mojang built. Left and right clicks are handled automatically, and the slot placement follows the main-hand preference, so left-handed players see it on the matching side. The hitbox is slightly expanded to make clicking easier.
Each click is validated on the server through a dedicated packet system, so multiplayer play stays consistent. The client applies changes optimistically for instant response, and server confirmations resynchronize the slot automatically. Vanilla containers are supported, along with modded containers that extend AbstractContainerScreen. The mod runs on Fabric, requires Fabric API, and is client-side only, so servers do not need it.
The mod is released under the MIT License and is not open source. Files are published for 1.21.9 – 26.1.2 across six release versions, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1 and 26.1.2, with 1.21.9-1.0.0 for 1.21.10 as the latest Fabric file.
Key features
Offhand slot in containers
An offhand slot appears beside the player inventory in chests, barrels, shulker boxes and similar screens.
Vanilla-styled slot
The slot uses vanilla container and slot sprites, with proper hover tint and real item tooltips.
Server-validated clicks
Slot interactions are checked on the server through a dedicated packet system, with automatic resyncing.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Players who manage items in containers during survival or adventure play, and multiplayer groups where each player needs quick access to the offhand.
How it compares
More Offhand is a Fabric, client-side only mod under the MIT License that is not open source, published for 1.21 – 1.21.11. Safe Offhand is also client-side only under the MIT License and open source, with Fabric files for 1.21.8 – 26.3. GearSwap is a Fabric client-side mod under the MIT License, not open source, for 1.21.11 – 26.1.2, and it covers gear swapping outside containers.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Offhand In Containers | Fabric | 1.21.9 – 26.1.2 | Client-side only | 2026-05-22 |
| More Offhand | Fabric | 1.21 – 1.21.11 | Client-side only | 2025-12-31 |
| Safe Offhand | Fabric | 1.21.8 – 26.3 | Client-side only | 2026-10-06 |
| GearSwap | Fabric | 1.21.11 – 26.1.2 | Client-side only | 2026-04-25 |
Questions
Does Offhand In Containers need Fabric API?
Does the server need Offhand In Containers?
Which game versions does Offhand In Containers support?
In the catalog
Offhand In Containers is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from BattryLeaf
Similar mods
What the author says
🖐️ Offhand In HUD --- Bring your offhand slot everywhere. No more opening your inventory just to swap a torch, Totem, food, shield, or end crystal ⚡ Offhand In HUD adds a fully interactive offhand slot directly into container GUIs — chests, barrels, shulker boxes, modded inventories, and basically any screen…
Official listing
- Modrinth page
- modrinth.com/mod/offhand-in-containers
- Owner
- BattryLeaf
- Published
- 2026-05-17
- Updated on Modrinth
- 2026-05-22
- Facts verified
- 2026-10-15
