
?️ Durability Alerts
Durability Alerts 是一款轻量级的客户端模组,会在工具、武器或护甲损坏前发出警告——支持自定义消息、自定义音效,以及一个紧凑的 HUD,让你一目了然地掌握当前状态。
专为 生存模式、极限模式和 PvP 玩家打造,避免你因听到镐子断裂的声音才发觉它已消失。
该模组 完全在客户端运行,因此适用于 任何服务器,包括原版服务器。无需在服务端安装任何东西。
? 我该下载哪个文件?
| 你的 Minecraft |
文件 |
| 1.21.6 – 1.21.8 |
durability-warning-1.5.3.jar |
| 1.21.9 – 1.21.11 |
durability-warning-1.21.11-1.5.3.jar |
同一个模组,功能相同。它们被分开构建是因为 Minecraft 在 1.21.9 中更改了按键绑定 API。
✨ 功能
- ? 在你设定的确切耐久次数时触发自定义警报
- ? 监控你的 护甲和副手,而不仅仅是主手中的工具
- ?️ 角落 HUD 显示即将损坏的物品,并附带耐久条
- ? 屏幕大尺寸警报,可配置 大小、位置、持续时间 及深色背景
- ? 从列表中选择任意 Minecraft 音效,并提供即时预览
- ? 通过菜单设置颜色和格式——无需记忆代码
- ⚙️ AutoSwitch(自动切换):在当前工具即将损坏前切换到完好的工具
- ? 支持英语和西班牙语
- ? 自动保存,且在有备份的情况下绝不会覆盖损坏的配置
- ⚡ 仅客户端运行,除 Fabric API 外无其他依赖
⚙️ 工作原理
该模组监控六个槽位:主手、副手 和 四件护甲。
当其中任何一件物品的耐久度跨越你设定的阈值时:
- 大警报 会出现,显示你的消息和物品名称
- 播放你设置的 音效
- 角落 HUD 会持续显示该物品,直到你修复或替换它
无需初始设置即可开始使用。模组自带三个警报,所有内容均可通过菜单修改。
?️ 角落 HUD
最多显示三个耐久度较低的物品,按情况最差者优先排序,每个物品都有一个从绿色 → 琥珀色 → 红色变化的耐久条。
仅当物品 低于你的最高阈值且剩余寿命不足一半 时才会显示,因此刚合成的木铲不会整天占据你的屏幕。
位置可配置:可选四个角中的任意一个,或关闭。
? 警报
由模组绘制,而非原版标题系统,这意味着你可以真正调整它:
- 大小:2× 到 6×
- 位置:顶部、上部、居中或下部
- 持续时间:2、3、5 或 8 秒
- 背景:文字后的深色面板,确保即使在正午的草地上也能清晰可读
设置中有一个 测试警报 按钮,让你在不损坏工具的情况下直观预览效果。
? AutoSwitch(自动切换)
当你的工具耐久度降至 最后 5 次使用(可配置)时,模组会将其切换到其他物品,优先级如下:
- 同种工具,且状态良好
- 任何其他完好的工具
- 无法损坏的物品(方块、食物)
- 空槽位,仅作为最后手段
如果你的快捷栏中所有物品都几乎损坏,则不会切换——因为将你换到更差的工具并无帮助。
默认关闭。可在设置中开启,或使用命令 /durability autoswitch on。
?️ 菜单
按 K 键打开菜单。在此你可以:
- 创建、编辑 和删除警报
- 从命名列表中选择音效,并在确认前试听
- 通过菜单应用颜色和格式,并实时预览消息效果
- 切换各项功能:HUD、警报、护甲、副手、AutoSwitch
- 设置 HUD 角落位置、警报大小、位置和持续时间
- 如果自动检测语言出错,可强制指定语言
? 命令
命令为 /durability。旧版 /golpes 仍可作为别名使用。
? 列出你的警报
/durability list
➕ 创建警报
/durability create <hits> <sound> <message>
示例:
/durability create 75 anvil &c⚠ {item} has {hits} hits left ⚠
❌ 删除警报
/durability destroy <hits>
? 切换开关
/durability autoswitch on|off
/durability hud on|off
/durability titles on|off
/durability armor on|off
/durability offhand on|off
? 颜色和格式
/durability colors
❓ 帮助和状态
/durability help
/durability status
? 消息占位符
| 占位符 |
变为 |
{hits} |
剩余耐久次数 |
{item} |
物品名称 |
颜色和格式使用 & 符号:
&c 红色 &a 绿色 &e 黄色 &b 浅蓝色
&l 加粗 &o 斜体 &n 下划线 &r 重置
? 音效
四个经典音效的快捷方式:
orb anvil levelup beacon
……此外,任意 Minecraft 音效 ID 也可使用:
minecraft:block.bell.use
minecraft:entity.villager.no
minecraft:block.note_block.pling
菜单中包含 26 种音效,带有易读名称和预览按钮,无需手动查找 ID。
? 配置
所有设置均保存至 .minecraft/config/durability-alerts.json,可直接手动编辑。如果该文件变得无法读取,模组会在回退到默认值之前将其备份为 durability-alerts.json.broken-<date> —— 你的警报永远不会无声丢失。
?? 开发者
iRojas
Discord: 0800rojas

?️ Durability Alerts
Durability Alerts is a lightweight client-side mod that warns you before a tool,
weapon or armor piece breaks — with your own message, your own sound, and a compact
HUD that tells you how you are doing at a glance.
Built for Survival, Hardcore and PvP players who would rather not find out their
pickaxe is gone by the sound of it snapping.
It runs entirely on the client, so it works on any server, vanilla included.
Nothing to install server-side.
? Which file do I download?
| Your Minecraft |
File |
| 1.21.6 – 1.21.8 |
durability-warning-1.5.3.jar |
| 1.21.9 – 1.21.11 |
durability-warning-1.21.11-1.5.3.jar |
Same mod, same features. They are separate builds because Minecraft changed the key
binding API in 1.21.9.
✨ Features
- ? Custom alerts at the exact number of hits you choose
- ? Watches your armor and offhand, not just the tool in your hand
- ?️ Corner HUD showing what is about to break, with a durability bar
- ? Big on-screen alert with configurable size, position, duration and a dark backdrop
- ? Any Minecraft sound, picked from a list with instant preview
- ? Colors and formatting from a menu — no need to memorize codes
- ⚙️ AutoSwitch to a healthy tool before the current one snaps
- ? English and Spanish
- ? Saves itself automatically, and never overwrites a broken config without a backup
- ⚡ Client-side, no dependencies beyond Fabric API
⚙️ How it works
The mod watches six slots: your main hand, offhand and four armor pieces.
When any of them crosses one of your thresholds:
- the big alert appears with your message and the item's name
- your sound plays
- the corner HUD keeps showing it until you fix or replace it
No setup needed to start. It ships with three alerts and you can change everything
from the menu.
?️ The corner HUD
Shows up to three items that are running low, worst first, each with a bar that goes
green → amber → red.
It only appears when an item is below your highest threshold and under half its
life, so a freshly crafted wooden shovel does not sit on your screen all day.
Position is configurable: any of the four corners, or off.
? The alert
Drawn by the mod, not by the vanilla title system, which means you can actually tune it:
- Size from 2× to 6×
- Position: top, upper, center or lower
- Duration: 2, 3, 5 or 8 seconds
- Backdrop: a dark panel behind the text, so it stays readable over grass at noon
There is a Test alert button in Settings so you can get it right without breaking
a tool to see it.
? AutoSwitch
When your tool drops to its last 5 hits (configurable), the mod switches you to
something else, in this order:
- the same tool, in good shape
- any other healthy tool
- something that cannot break (blocks, food)
- an empty slot, only as a last resort
If everything in your hotbar is nearly broken, it does not switch — moving you to a
worse tool would not help.
Off by default. Turn it on in Settings or with /durability autoswitch on.
?️ The menu
Press K to open it. From there you can:
- create, edit and delete alerts
- pick a sound from a named list and hear it before choosing
- apply colors and formatting from a menu, with a live preview of your message
- toggle everything: HUD, alert, armor, offhand, AutoSwitch
- set the HUD corner, alert size, position and duration
- force the language if auto-detection gets it wrong
? Commands
The command is /durability. The old /golpes still works as an alias.
? List your alerts
/durability list
➕ Create an alert
/durability create <hits> <sound> <message>
Example:
/durability create 75 anvil &c⚠ {item} has {hits} hits left ⚠
❌ Remove an alert
/durability destroy <hits>
? Toggles
/durability autoswitch on|off
/durability hud on|off
/durability titles on|off
/durability armor on|off
/durability offhand on|off
? Colors and formatting
/durability colors
❓ Help and status
/durability help
/durability status
? Message placeholders
| Placeholder |
Becomes |
{hits} |
hits left |
{item} |
the item's name |
Colors and formatting use &:
&c red &a green &e yellow &b aqua
&l bold &o italic &n underline &r reset
? Sounds
Four shortcuts for the classics:
orb anvil levelup beacon
…and any Minecraft sound ID works too:
minecraft:block.bell.use
minecraft:entity.villager.no
minecraft:block.note_block.pling
The menu has 26 of them with readable names and a preview button, so you don't have to
go looking for IDs.
? Configuration
Everything is saved to .minecraft/config/durability-alerts.json and can be edited by
hand. If that file ever ends up unreadable, the mod backs it up as
durability-alerts.json.broken-<date> before falling back to defaults — your alerts
are never lost silently.
?? Developed by
iRojas
Discord: 0800rojas
评论 0
登录后参与评分
还没有评论,来抢沙发吧