InvAlert
A one-shot sound and on-screen warning when your inventory is almost full so you don't keep mining and silently lose drops.
截图
介绍
InvAlert watches your inventory and warns you the moment free space runs out. No more strip-mining a vein only to realize half the cobble fell on the floor — the moment your bag drops to a few free slots, you hear it and see it.
What it does
- Tracks the 36 main inventory slots (hotbar + backpack). Armor and the off-hand are excluded because picked-up items never go there anyway.
- When free slots drop to less than or equal to 3, it fires a one-shot warning:
- An action-bar message above the hotbar: “Inventory almost full: N free”.
- A short pling sound, so you notice even when you’re not looking at the corner.
- A persistent badge in the top-left of the HUD: “Bag: N free” (turns red and reads “Inventory FULL” when you hit zero).
- The warning re-fires only when free space drops further (3 -> 1 -> 0), so it doesn’t spam you while you’re managing items. The badge disappears the moment you free up a slot.
Controls
- V — toggle the alert on/off. Action-bar confirmation tells you the current state.
Why
You’re deep in a cave, mining a vein. Your bag fills up. The next ten ores drop on the floor and despawn. By the time you check the inventory you’ve lost half the haul. InvAlert is the smallest possible fix: one badge, one sound, one alert, no config screens, no dependencies.
Notes
- Pure client-side — install on your client only. Works on any Fabric server, fully vanilla compatible.
- Sound and action bar are suppressed while an inventory or other screen is open, so the alert isn’t noisy while you’re already sorting.
- The HUD badge respects F1 (hide HUD).
- ~140 lines of code, no config files, no dependencies beyond Fabric API.
Compatibility
Minecraft 1.21.8, 1.21.9, 1.21.10, 1.21.11 — Fabric Loader 0.16+. One JAR covers all four. Drop into your mods/ folder alongside Fabric API.
常见问题
InvAlert 支持哪些 Minecraft 版本?
InvAlert 支持 Minecraft Java 版 1.21.8–1.21.11,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
InvAlert 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
kvapilvaclav0 的其他作品
查看全部 →
Verity dog
This mod turns your dog into Verity.
TargetLock
Press J to instantly aim your camera at the nearest living entity within 10 blocks. If no entity is in range, a message will appear on your screen letting you know.
TargetLock
Press J to instantly aim your camera at the nearest living entity within 10 blocks. If no entity is in range, a message will appear on your screen letting you know.
HorseStats
Ride any horse, donkey, mule or llama and a small top-left HUD shows the mount's health, top speed (m/s) and jump height (blocks) live - no need to open its inventory. Toggle with H.
评论
登录后评论和评分