跳到正文

TOTEM LOCK

作者:Knightiix

this mod blocks F when holding an totem in second hand

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。
Spoiler

Boooo!

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 deliberate inventory management. Built with PvP in mind (crystal/anchor fights), where one stray key press can cost you your totem.

What it does
When a Totem of Undying is in your off-hand, the mod cancels every keyboard way of taking it out:

🔁 Swap-hands key in combat (default F)
🎒 Swap-hands key while the inventory is open
🔢 Hotbar keys (1–9) used on the off-hand slot
🗑️ Drop key (default Q) used on the off-hand slot
Everything else stays normal:

🖱️ Your mouse is untouched — left/right-click, shift-click, and drag still work, so you can take the totem out manually whenever you actually want to.
➕ Inserting a totem into the off-hand still works — the lock only applies to removing a totem that’s already there.
Works with any keybinds
It doesn’t matter which keys you’ve bound. The mod intercepts the underlying action (swap-offhand, hotbar-swap, drop), not a specific physical key — so whether your swap-hands is on F, G, or a side mouse button, your totem stays put. No configuration needed.

Requirements
Minecraft 1.21.11
Fabric Loader 0.19+
Java 21
Fabric API is not required — the mod uses only vanilla classes via Mixin.
Notes
Client-side only, so it works even on servers you don’t control (it protects you).
Death protection is unaffected — the totem still saves you as normal; only manual keyboard removal is blocked.

常见问题

TOTEM LOCK 支持哪些 Minecraft 版本?

TOTEM LOCK 支持 Minecraft Java 版 1.21.11–26.2,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

TOTEM LOCK 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Knightiix 的其他作品

查看全部 →