描述
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧