Hotbar-guard

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 nothing
    • LISTED — 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 Team

profile avatar
  • 4
    Projects
  • 1.3K
    Downloads

More from Chandi371

  • VOID PVP project image

    VOID PVP

    VoidPvP — A lightweight PvP modpack built for smooth combat, fast building, clear visuals, and high performance.

    • 562
    • October 4, 2026
  • Smart warnings project image

    Smart warnings

    Smart Warnings is a lightweight utility mod that provides intelligent survival alerts without cluttering gameplay. Get notified when night falls or when your inventory is almost full, helping you stay focused on exploration and survival.

    • 83
    • May 13, 2026
  • AFTERVEIL - Tactical Zombie Apocalypse project image

    AFTERVEIL - Tactical Zombie Apocalypse

    Survive the collapse in a dark tactical zombie apocalypse where ruined cities, relentless infected, and immersive survival horror push every decision to its limit.

    • 702
    • May 11, 2026
  • VOID PVP project image

    VOID PVP

    VoidPvP — A lightweight PvP modpack built for smooth combat, fast building, clear visuals, and high performance.

    • 562
    • October 4, 2026
  • Smart warnings project image

    Smart warnings

    Smart Warnings is a lightweight utility mod that provides intelligent survival alerts without cluttering gameplay. Get notified when night falls or when your inventory is almost full, helping you stay focused on exploration and survival.

    • 83
    • May 13, 2026
  • AFTERVEIL - Tactical Zombie Apocalypse project image

    AFTERVEIL - Tactical Zombie Apocalypse

    Survive the collapse in a dark tactical zombie apocalypse where ruined cities, relentless infected, and immersive survival horror push every decision to its limit.

    • 702
    • May 11, 2026