BreakWarn
A one-shot sound + on-screen banner the moment a tool or armor piece you're carrying drops below 10% durability - so you don't snap your good pickaxe deep in a cave without noticing.
截图
介绍
BreakWarn quietly watches every damageable item you’re carrying and warns you the moment one is about to snap. No HUD clutter when nothing’s wrong, no spam when something is — just one alert per item, exactly when you need it.
What it does
- Monitors the 9 hotbar slots, the off-hand, and all 4 armor slots every tick.
- When the remaining durability of any monitored item drops to <= 10%, it fires a one-shot warning:
- Sound — a sharp anvil-land thud, so you notice even when you’re not looking at the corner.
- Action-bar message above the hotbar: “Tool almost broken: (%)”.
- HUD banner in the top-left for ~3.5 s: “About to break: (%)”.
- Each item gets exactly one warning per damage cycle. Repair it (anvil, grindstone, Mending) and BreakWarn will warn you again if the same item dips back below the threshold. Swap to a different item and the new item starts fresh.
- Built-in hysteresis: the warning resets at 20% remaining, so a hovering 9-11% item won’t spam you.
Controls
- B — toggle BreakWarn on/off. Action-bar confirmation tells you the current state.
Why
Caving with one good pickaxe, you find the ore vein — but eight blocks in, the pickaxe snaps and the diamonds vanish into the void. BreakWarn is the smallest possible fix: one banner, one sound, one alert per item, no config screens, no setup.
Notes
- Pure client-side — install on your client only. Works on any Fabric server, fully vanilla compatible.
- Sound and action-bar messages are suppressed while you’re in an inventory/menu, so opening your chest doesn’t spam alerts.
- The HUD banner respects F1 (hide HUD) and disappears on its own after a few seconds.
- ~180 lines of code, no config files, only Fabric API as a dependency.
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.
常见问题
BreakWarn 支持哪些 Minecraft 版本?
BreakWarn 支持 Minecraft Java 版 1.21.8–1.21.11,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
BreakWarn 怎么安装?
先用 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.
评论
登录后评论和评分