Colorful Armor Bar
我需要更好的描述系统
Colorful Armor Bar 在 HUD 中显示你穿戴的盔甲。钻石、下界合金、皮革以及支持的模组盔甲都可以拥有各自的图标。该模组仅在客户端运行,服务器无需安装。
视觉灵感来源于 Detail Armor Bar。Colorful Armor Bar 使用资源包来提供盔甲图标,因此资源包可以在不修改代码的情况下为模组盔甲材质添加图标。

功能
- 混合盔甲: 护甲条会显示你穿戴的材质,当两种材质的护甲值在同一图标处相遇时,也会合并显示。
- 皮革染色颜色: 皮革图标会使用染色后的盔甲颜色。
- 自动为模组盔甲着色: 如果某种盔甲材质没有自定义图标,模组会采样物品纹理的平均颜色,并将其应用于铁质风格的图标上,同时保留图形的阴影效果。
- 盔甲纹饰: 纹饰标记使用纹饰材料的颜色。紫水晶、钻石和绿宝石纹饰还可以带有脉冲高亮效果。
- 附魔光泽: 附魔盔甲会显示光泽。Minecraft 的无障碍设置可以控制其速度和强度。
- 动画变化: 当护甲条发生变化时,图标会以移动或擦除的方式进入位置。
- 伤害与修复反馈: 短暂的红色脉冲表示受到伤害。青色脉冲表示修复,包括经验修补(Mending)。
- 资源包支持: 资源包可以替换盔甲图标和纹饰标记,或者为模组盔甲添加图标。
- 仅客户端: 服务器不需要安装此模组。

我们预添加的一些模组盔甲图标(仍需完善 Immersive Armor 的长袍图标)

未定义图标时的平均颜色回退方案
配置
点击展开
客户端配置文件位于 config/colorful_armor_bar.json5。你也可以通过 Fabric 上的 Mod Menu 或 Forge 及 NeoForge 上的模组界面在游戏内打开它。保存更改后立即生效。
| 设置项 | 默认值 | 效果 |
|---|---|---|
group_matching_armor |
false |
将外观相同的护甲值组合在一起。最大的组排在最前面。 |
armor_icon_animation |
true |
为盔甲图标的变化添加动画。 |
damage_pulse |
true |
盔甲受到伤害时显示红色脉冲。 |
repair_pulse |
true |
盔甲被修复时显示青色脉冲。 |
trim_glow |
true |
为紫水晶、钻石和绿宝石纹饰添加脉冲高亮。 |
关闭分组后,护甲值按照穿戴槽位的顺序排列。即使相关效果关闭,皮革染色颜色和纹饰材料颜色仍然会显示。
使用 Minecraft 的无障碍设置来控制附魔光泽的速度和强度。将光泽速度设置为 0% 可停止其移动。将光泽强度设置为 0% 可隐藏它。
面向资源包创作者和模组开发者
点击展开
在以下路径添加盔甲图标:
assets/<namespace>/textures/armoricon/<material_name>.png
例如:
- 钻石:
assets/minecraft/textures/armoricon/diamond.png - 来自
flingleblob的红宝石材质:assets/flingleblob/textures/armoricon/ruby.png
盔甲图标必须为 18 × 9 像素。两个 9 像素的半部分分别用于全护甲值和半护甲值。请使用白色或灰度皮革图标,以确保染色颜色准确无误。
你不必为每套盔甲都提供自定义图标。当缺少图标时,模组会检查物品模型纹理层以获取平均颜色。如果这些纹理不可用,它会尝试使用物品纹理。然后它会为铁质风格回退图标上色。某些自定义物品模型不会暴露模组可用的纹理。
纹饰图案可以在以下路径拥有自己的标记:
assets/<namespace>/textures/armoricon/trims/<pattern>.png
例如:assets/minecraft/textures/armoricon/trims/sentry.png
如果该文件缺失,模组会检查 assets/colorful_armor_bar/textures/armoricon/trim.png,然后是 Minecraft 胸甲纹饰纹理。纹饰纹理可以是任意大小。其透明区域定义了标记;模组会应用纹饰材料的颜色。
对模组盔甲的支持取决于盔甲物品是否暴露了模组可识别的材质。
Colorful Armor Bar
I'm in dire need of a better description system
Colorful Armor Bar shows the armor you wear in your HUD. Diamond, netherite, leather, and supported modded armor can each have their own icons. The mod runs on the client; servers do not need it.
The visual idea was inspired by Detail Armor Bar. Colorful Armor Bar uses resource packs for armor icons, so a pack can add an icon for a modded armor material without a code change.

Features
- Mixed armor: The bar shows the materials you wear, including two materials in one icon when their armor points meet.
- Leather dye colors: Leather icons use the color of the dyed armor.
- Automatic colors for modded armor: If an armor material has no custom icon, the mod samples the average color of the item’s texture. It applies that color to an iron-style icon while keeping the icon’s shading.
- Armor trims: Trim marks use the trim material’s color. Amethyst, diamond, and emerald trims can also have a pulsing highlight.
- Enchantment glint: Enchanted armor shows a glint. Minecraft’s Accessibility settings control its speed and strength.
- Animated changes: Icons move or wipe into place when the armor bar changes.
- Damage and repair feedback: A brief red pulse shows damage. A cyan pulse shows repairs, including Mending.
- Resource pack support: Packs can replace armor icons and trim marks or add icons for modded armor.
- Client-side: The server does not need the mod.

Some modded armor icons we pre-added (gotta fix up the robe from immersive armor)

Average Color Fallback if there is no icon defined
Configuration
Click to expand
The client config is stored in config/colorful_armor_bar.json5. You can also open it in-game through Mod Menu on Fabric or the Mods screen on Forge and NeoForge. Saved changes apply immediately.
| Setting | Default | Effect |
|---|---|---|
group_matching_armor |
false |
Combines armor points with the same appearance. The largest group appears first. |
armor_icon_animation |
true |
Animates changes to the armor icons. |
damage_pulse |
true |
Shows a red pulse when armor takes damage. |
repair_pulse |
true |
Shows a cyan pulse when armor is repaired. |
trim_glow |
true |
Adds a pulsing highlight to amethyst, diamond, and emerald trims. |
With grouping off, armor points follow worn-slot order. Leather dye colors and trim material colors still appear when their related effects are off.
Use Minecraft’s Accessibility settings to control enchantment glint speed and strength. Set glint speed to 0% to stop its movement. Set glint strength to 0% to hide it.
For resource pack creators and mod developers
Click to expand
Add an armor icon at:
assets/<namespace>/textures/armoricon/<material_name>.png
For example:
- Diamond:
assets/minecraft/textures/armoricon/diamond.png - A ruby material from
flingleblob:assets/flingleblob/textures/armoricon/ruby.png
Armor icons must be 18 × 9 pixels. The two 9-pixel halves are used for full and half armor points. Use a white or grayscale leather icon so dye colors stay accurate.
You do not need a custom icon for every armor set. When an icon is missing, the mod checks the item’s model texture layers for an average color. If those textures are unavailable, it tries the item texture. It then colors the iron-style fallback icon. Some custom item models do not expose a texture the mod can use.
A trim pattern can have its own mark at:
assets/<namespace>/textures/armoricon/trims/<pattern>.png
For example: assets/minecraft/textures/armoricon/trims/sentry.png
If that file is missing, the mod checks assets/colorful_armor_bar/textures/armoricon/trim.png, then Minecraft’s chestplate trim texture. Trim textures can be any size. Their transparent areas define the mark; the mod applies the trim material’s color.
Support for modded armor depends on the armor item exposing a material the mod can identify.
下载 Colorful Armor Bar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Colorful Armor Bar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Colorful Armor Bar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Colorful Armor Bar
下载 Colorful Armor Bar
下载 Colorful Armor Bar
下载 Colorful Armor Bar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Colorful Armor Bar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Colorful Armor Bar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Colorful Armor Bar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.1.3
- 修复在安装了 Overflowing Bars 时,生命值增加导致护甲条上移的问题
1.1.2
- 使用出现频率最高的物品纹理颜色作为护甲条的备用方案。(采样模式)
1.1.1
- 在两种不同护甲半片相接处添加黑色中心线。
1.1.0
- 为盔甲图标添加基于物品颜色的着色,同时保留其原有的明暗效果。
- 根据染料颜色对皮革盔甲图标进行着色,并高亮显示镶边。
- 装备或卸下盔甲时,盔甲图标带有动画效果。
- 当盔甲受到损伤或通过经验修补(Mending)修复时,图标会呈现脉冲效果。
- 新增配置选项,用于控制图标动画、受损脉冲、修复脉冲以及镶边发光效果。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧