描述
Durability Digits 将模糊的耐久度条替换为显示在物品栏位中的精确剩余耐久数值,适用于快捷栏、背包以及所有容器。你可以确切地知道镐子在损坏前还能使用多少次。
功能
- 精确数值:显示剩余使用次数,超过一千时缩写为千(
1.5k)或百万(2.1m)以适配栏位空间。 - 百分比:以百分比形式显示剩余耐久,可以是整数(
55%)或带一位小数(55.2%),可选择是否显示%符号。 - 颜色:数字颜色跟随耐久度条的颜色变化,从绿色渐变到红色,或保持白色。
- 位置:可设置在栏位的任意角落,或居中于顶部或底部。
- 耐久度条:可选择在数字下方保留 Minecraft 原有的耐久度条,或将其隐藏。
- 快速切换:提供一个按键(默认未绑定),用于显示或隐藏数字。
- 轻量级:设置界面集成在 Minecraft 自带的选项屏幕中,模组仅需 Fabric 加载器即可运行。
配置
输入 /durabilitydigits 或通过 Mod Menu 打开设置界面。更改立即生效,并在关闭屏幕时自动保存。
| 设置项 | 可选值 |
|---|---|
| Durability Digits | On, Off |
| Durability Bar | On, Off |
| Position | Top Left, Top, Top Right, Bottom Left, Bottom, Bottom Right |
| Bar Color | On (数字跟随条形图颜色), Off (白色) |
| Percentage | On, Off (显示剩余使用次数) |
| Precision | 10%, 10.5% |
| Percent Sign | On, Off |
用于显示或隐藏数字的按键可在“选项” > “控制” > “键位绑定”下的 Durability Digits 中进行设置。所有配置均保存在 config/durability-digits.json 文件中。
兼容性
| 类别 | 支持情况 |
|---|---|
| Minecraft 版本 | 1.21-1.21.8, 26.1.x, 26.2.x, 26.3.x, 26.4.x |
| 维护状态 | 26.1.x, 26.2.x, 26.3.x, 26.4.x |
| 加载器 | Fabric (官方支持), Quilt (兼容) |
| 环境 | 客户端 (Client) |
依赖
Durability Digits 仅需要 Fabric loader;无需 Fabric API。当安装 Mod Menu 时,其设置界面会列在其中;而 OneConfig 则会在其专属页面展示相同的设置,并提供独立的控件组件。
权限与许可
整合包: 您可以自由地将 Durability Digits 包含在任何整合包中,无需征得同意。
Durability Digits 是免费软件,仅在 GNU Affero General Public License v3.0 下发布。
Description
Durability Digits replaces the vague durability bar with the exact durability left, written on the item's slot: in the hotbar, the inventory and every container. You know exactly how many uses your pickaxe has before it breaks.
Features
- Exact numbers: the uses left, shortened above a thousand (
1.5k,2.1m) to fit in the slot. - Percentages: the durability left as a percentage instead, whole (
55%) or with one decimal (55.2%), with or without the%sign. - Colors: the number takes the color of the durability bar, from green to red, or stays white.
- Position: in any corner of the slot, or centered at its top or bottom.
- Durability bar: keep Minecraft's bar under the number, or hide it.
- Quick toggle: a key, unbound by default, shows or hides the numbers.
- Lightweight: settings use Minecraft's own option screen, and the mod needs nothing but the Fabric loader.
Configuration
Open the settings with /durabilitydigits, or from Mod Menu. Changes apply
immediately and are saved when the screen closes.
| Setting | Values |
|---|---|
| Durability Digits | On, Off |
| Durability Bar | On, Off |
| Position | Top Left, Top, Top Right, Bottom Left, Bottom, Bottom Right |
| Bar Color | On (the number follows the bar's color), Off (white) |
| Percentage | On, Off (uses left) |
| Precision | 10%, 10.5% |
| Percent Sign | On, Off |
The key that shows or hides the numbers is set in Options, Controls, Key Binds, under
Durability Digits. Everything is stored in config/durability-digits.json.
Compatibility
| Category | Support |
|---|---|
| MC Versions | 1.21-1.21.8, 26.1.x, 26.2.x, 26.3.x, 26.4.x |
| Maintenance | 26.1.x, 26.2.x, 26.3.x, 26.4.x |
| Loaders | Fabric (official), Quilt (compatible) |
| Environment | Client |
Dependencies
Durability Digits only needs the Fabric loader; Fabric API is not required. Its settings screen is listed in Mod Menu when it is installed, and OneConfig shows the same settings on its own page, with its own widgets.
Permissions and License
Modpacks: you are free to include Durability Digits in any modpack, without asking.
Durability Digits is free software, released under the GNU Affero General Public License v3.0 only.
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Durability Digits
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Durability Digits
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
新增
- Minecraft 26.4:同一个 jar 包适用于 26.1 至 26.4(已在 26.4-pre-2 上测试)。
- Mod Menu 会以英文或法语显示模组的摘要和描述,OneConfig 的页面也会跟随游戏的语言设置。
更改
- 使用 Fabric Loom 1.19.6 和 Gradle 9.9.3 构建。
新增
- OneConfig 支持:安装 OneConfig 后,设置将显示在其独立页面中,并附带相应的控件。模组的设置文件保持不变,原版界面仍可通过 Mod Menu 和模组命令访问。
保留了来自 2.x 的设置和切换键绑定。
新增
- 适用于 Minecraft 26.1、26.1.1、26.1.2、26.2 和 26.3 的单个 jar 包。
/durabilitydigits命令可打开设置界面。该命令在客户端运行,因此可在任何服务器上生效。
更改
- 设置界面使用 Minecraft 自带的选项控件,所有设置显示在同一页面上,并为每个设置提供工具提示。当“百分比”关闭时,“精度”和“百分号”将变为灰色不可用状态。
- 切换键会在物品栏上方显示“已显示”或“已隐藏”。
- 许可证由原来的 02Alexis Protective License 改为仅采用 GNU Affero General Public License v3.0。
移除
- 不再需要 Fabric API 和 Yet Another Config Lib;仅需 Fabric 加载器。
- 移除了设置键绑定,已被
/durabilitydigits命令替代。
Durability Digits 现已适用于 Minecraft Fabric 26.2!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧