ModsFinder

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.

FabricClient-side onlyMIT License1.21.11 – 26.2

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

  1. 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.

  2. 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.

  3. Inventory management kept

    Moving items through the inventory screen and dropping items with Q work as they do in vanilla.

  4. 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.

26.21.3.0+mc26.2
1.21.111.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
TOTEM LOCKFabric1.21.11 – 26.2Client-side only2026-09-11
Hotbar TotemsFabric1.20 – 26.2Server-side only2026-08-14
TotemSwapperFabric1.21.1Client-side only2026-06-26

Questions

Does Totem Lock need Fabric API?

Yes. Fabric API is a required dependency and must be installed next to Totem Lock.

Does the server need Totem Lock?

No. The mod is client-side only, so the server does not need it and works without it.

Does the mod stop a totem from saving the player?

No. Death protection is unaffected, and the totem still saves the player when it is in the off-hand. Only manual keyboard removal is blocked.

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…
Knightiix, on the Modrinth page

Official listing

Owner
Knightiix
Published
2026-06-28
Updated on Modrinth
2026-09-11
Facts verified
2026-10-15

Tags