TOTEM LOCK
by Knightiix
Totem Lock keeps a Totem of Undying in the off-hand slot so a stray key press cannot pull it out mid-fight.
What it does
The mod blocks the F key, which normally swaps the main-hand and off-hand items, while combat is underway. The Totem of Undying stays in the off-hand slot, so a player fighting another player or a mob cannot move it out by accident. The swap-hands key still works inside the inventory screen, and the Q drop key and the hotbar keys 1 to 9 keep their default behavior when the off-hand slot is not involved.
The Totem Lock author built the mod for PvP and crystal or anchor fights, where one unintended keypress could remove the totem at the wrong moment. Totem death protection itself is unchanged, so a totem still saves the player when it is in the off-hand. Only manual removal through the keyboard is blocked, and deliberate inventory management still works as before. The mod is a client-side Fabric mod with no server component.
Installation requires Fabric API. Builds target Minecraft 1.21.11 and 26.2, and the mod uses only vanilla classes through Mixin. Fabric Loader 0.19 or newer and Java 21 are needed to run it.
Key features
Locked off-hand totem
The Totem of Undying in the off-hand slot is kept there during combat, so it cannot be swapped out with F.
Keyboard removal blocked
Only the keyboard path for taking the totem out of the off-hand is cancelled, and the mouse stays free for inventory work.
Inventory management kept
Moving items through the inventory screen and dropping items with Q work as they do in vanilla.
Death protection unchanged
A totem in the off-hand still triggers its normal effect when the player would otherwise die.
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
PvP and crystal fights
Players in close combat can keep the totem ready without spending attention on the swap key.
Anchor fights
A totem kept in the off-hand is available for the whole fight, even under rapid keypresses.
Who it’s for: Players who fight other players or mobs often, and who want the off-hand totem to stay put during combat.
How it compares
Hotbar Totems is a server-side only Fabric mod, open source under the MIT License, with files for 1.20 – 26.2. TotemSwapper is a client-side only Fabric mod under the MIT License, but its files cover only 1.21.1. Totem Lock is a client-side only Fabric mod under the MIT License, with files for 1.21.11 and 26.2 and no server component.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| TOTEM LOCK | Fabric | 1.21.11 – 26.2 | Client-side only | 2026-09-11 |
| Hotbar Totems | Fabric | 1.20 – 26.2 | Server-side only | 2026-08-14 |
| TotemSwapper | Fabric | 1.21.1 | Client-side only | 2026-06-26 |
Questions
Does Totem Lock need Fabric API?
Does the server need Totem Lock?
Does the mod stop a totem from saving the player?
In the catalog
TOTEM LOCK is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
Keep your Totem of Undying locked in your off-hand — no more fumbling it out mid-fight. Overview Totem Lock is a lightweight, client-side Fabric mod for Minecraft 1.21.11. It stops you from accidentally pulling a Totem of Undying out of your off-hand with the keyboard, while leaving your mouse fully free for…
Official listing
- Modrinth page
- modrinth.com/mod/totem-lock
- Owner
- Knightiix
- Published
- 2026-06-28
- Updated on Modrinth
- 2026-09-11
- Facts verified
- 2026-10-15
