剧透
Boooo!
将不死图腾锁定在副手——战斗中再也不用手忙脚乱地把它掏出来。
概述
Totem Lock 是一款轻量级的 Minecraft 1.21.11 Fabric 客户端模组。它防止你因误触键盘而从副手中取出不死图腾,同时让你完全自由地使用鼠标进行有意的物品栏管理。该模组专为 PvP(水晶/锚战斗)设计,因为在这些场景中,一次随意的按键失误就可能导致你失去图腾。
功能说明
当副手持有不死图腾时,该模组会取消所有通过键盘将其取出的方式:
? 战斗中的交换手按键(默认为 F)
? 打开物品栏时的交换手按键
? 用于副手栏的热键(1–9)
?️ 用于副手栏的丢弃键(默认为 Q)
其他操作保持正常:
?️ 你的鼠标不受影响——左键/右键点击、Shift+点击以及拖拽仍然有效,因此当你真正想要取出图腾时,可以手动操作。
➕ 将图腾放入副手的操作仍然有效——锁定仅针对移除已经存在的图腾。
支持任意键位绑定
无论你绑定了哪些按键都无关紧要。该模组拦截的是底层动作(swap-offhand、hotbar-swap、drop),而非特定的物理按键——因此无论你的交换手是绑定在 F、G 还是侧边鼠标按键上,你的图腾都会保持在原位。无需任何配置。
要求
Minecraft 1.21.11
Fabric Loader 0.19+
Java 21
不需要 Fabric API —— 该模组仅通过 Mixin 使用原版类。
注意事项
仅限客户端,因此即使在你无法控制的服务器上也能正常工作(它保护的是你自己)。
死亡保护不受影响——图腾仍会像往常一样救你于危难;只有手动键盘移除被阻止。
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧