Hotbar-guard
作者:Chandi371
A lightweight PvP utility that prevents accidental item drops and Shift-click transfers.
介绍
中文介绍正在准备中,下面暂时显示原文。
Losing a netherite sword to a misclick mid-fight is infuriating, and it happens more than you’d like to admit — Q sits right under your ring finger while your hands are busy fighting.
Hotbar Guard blocks accidental item drops and makes you confirm them.
- Press Q → the drop is cancelled. Nothing is thrown.
- Press Q again within 3 seconds → it drops.
- Don’t press again → it stays in your inventory. That’s it.
A countdown and draining bar show exactly how long you’ve got, so you know when the window is closing.
What it protects
| Action | Result |
|---|---|
| Q — drop one item | ⛔ Confirmed |
| Ctrl+Q — drop whole stack | ⛔ Confirmed |
| Shift-click — quick-move in chests/furnaces | ⛔ Confirmed |
Covers the accidental stack dump too, not just single items.
Clean, unobtrusive UI
The prompt sits in the bottom-right corner — out of your crosshair, away from the hotbar. Full dark panel with the item name, a live countdown, and a progress bar that drains as the window closes. It never covers what you’re aiming at.
It also appears correctly inside container screens, so shift-click protection shows its countdown where it happens.
Configurable
Everything is tunable in
config/hotbar-guard.json — no code editing needed:- Enable/disable the guard entirely
- Confirmation window — any length from 0.5s to 10s
- What gets protected:
ALL— guard everything (default)NONE— guard nothingLISTED— guard only the items you name, so you can throw dirt freely but your sword still asks first
- Toggle the overlay on or off
- Toggle shift-click protection separately, if it ever gets in the way
Your existing config file is never overwritten — it just fills in any new settings.
Requirements
- Minecraft 26.3
- Fabric Loader 0.19.5+
- Fabric API
常见问题
Hotbar-guard 支持哪些 Minecraft 版本?
Hotbar-guard 支持 Minecraft Java 版 26.3,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Hotbar-guard 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Chandi371 的其他作品
查看全部 →VOID PVP
by Chandi371
VoidPvP — A lightweight PvP modpack built for smooth combat, fast building, clear visuals, and high performance.
875
1 个月前
CurseForge
AFTERVEIL – Tactical Zombie Apocalypse
by Chandi371
Survive the collapse in a dark tactical zombie apocalypse where ruined cities, relentless infected, and immersive survival horror push every decision to its limit.
804
5 个月前
CurseForge
评论
登录后评论和评分