There is a display error in the attack progress indicator after modifying the texture pack.
Fogg05 opened this issue · 8 comments
There is a display error in the attack progress indicator after modifying the texture pack.

This involves crosshair_attack_indicator_full.png and crosshair_attack_indicator_progress.png, which are displayed when the crosshair is pointed at attackable entities. I created this texture pack with a high-definition style. I need to modify these two images to the black-and-white opaque style shown in the picture to ensure the anti-aliasing parts of the image display correctly. Normally, the white parts would automatically change color according to the original crosshair's functionality, the black parts would be transparent, and the gray parts would become semi-transparent to achieve proper anti-aliasing display. However, recent updates to the mod have broken this vanilla feature. Now, using black-and-white opaque images results in the same error. Although my method might seem peculiar, it is the only way to achieve anti-aliasing. I believe this should be understood as the mod not being fully compatible with all vanilla features, essentially a bug. I have received many player feedback reports about this issue recently and hope it can be fixed. Thanks.
Ah, that is bad. What version of Minecraft / mod loader is this?
Also, would you be able to provide a link to the resource pack that makes it this obvious? That would help massively in making sure it's fixed for good.
My Resource Pack👇. You can download it in the Release.
https://github.com/Fogg05/CozyUI-Plus
My users said the bug occurs in v9.0 of your mod and can be fixed by downgrading back to v8.1.


- Which Minecraft version does this happen on?
- Which mod loader does this happen on?
- Is AutoHUD in the instance as well?
I believe to have fixed it in DynamicCrosshair 9.3. Feel free to reopen if I missed some version / mod loader combination somehow.
It looks like a similar bug has occurred again.
- 1.20.1
- Fabric
- Dynamic Crosshair 9.8
- with Dynamic Crosshair Compat 4.3
A popular Mod Pack recently released by a Chinese author has installed your mod. Many players have encountered this bug during actual gameplay. I'm currently trying to get in touch with the Mod Pack author as well. Hopefully, it can be fixed soon. 🧐
It looks like a similar bug has occurred again.
- 1.20.1
- Fabric
- Dynamic Crosshair 9.8
- with Dynamic Crosshair Compat 4.3
A popular Mod Pack recently released by a Chinese author has installed your mod. Many players have encountered this bug during actual gameplay. I'm currently trying to get in touch with the Mod Pack author as well. Hopefully, it can be fixed soon. 🧐
I’m one of the developers of this modpack. This isn’t actually a bug in the mod itself.
The issue stems from the fact that, for performance reasons, the pack includes Exordium, which heavily rewrites the classes responsible for HUD rendering.
You have two ways to deal with it:
Disable Exordium entirely.
Use (or merge) the hot-fix I made
Note: I can’t draw, so my patch simply uses Python to turn black pixels transparent. It isn’t pixel-perfect—there may still be faint black outlines—so you might need to touch it up by hand.
Before:

After:

Result:

It looks like a similar bug has occurred again.
![]()
![]()
![]()
![]()
- 1.20.1
- Fabric
- Dynamic Crosshair 9.8
- with Dynamic Crosshair Compat 4.3
A popular Mod Pack recently released by a Chinese author has installed your mod. Many players have encountered this bug during actual gameplay. I'm currently trying to get in touch with the Mod Pack author as well. Hopefully, it can be fixed soon. 🧐
I’m one of the developers of this modpack. This isn’t actually a bug in the mod itself. The issue stems from the fact that, for performance reasons, the pack includes Exordium, which heavily rewrites the classes responsible for HUD rendering. You have two ways to deal with it: Disable Exordium entirely. Use (or merge) the hot-fix I made Note: I can’t draw, so my patch simply uses Python to turn black pixels transparent. It isn’t pixel-perfect—there may still be faint black outlines—so you might need to touch it up by hand. Before:
After:
Result:
在你尝试修复后,看起来依然很糟糕。我想 Exordium mod 应当是为了性能优化,删除了原版准星依照背景颜色自动变化自身颜色的功能,但没有考虑到高分辨率的准星的情况。在原版游戏中,将准星贴图修改为黑白不透明,能够让黑色部分被渲染为透明,白色部分自动切换颜色,而灰色部分将会表现为半透明,从而实现抗锯齿部分的正常呈现。但 Exordium mod 显然破坏了这一功能,导致了这样的错误。虽然我的方法可能看起来很奇怪,但它在原版中能够稳定呈现,而且是实现抗锯齿的唯一方法。
我认为这应当被理解为是 mod 没有完全适配所有原版特性,也就是一种 bug。我想,如果 Exordium mod 希望通过关闭自动变化颜色的功能来实现性能优化,至少应当保留能够让黑色部分呈现为全透明,灰色部分呈现为半透明的功能。我将会尝试同时将这一现象反馈给 Exordium mod 作者,希望能够得到回复。谢谢。
Even after your attempt to fix it, it still looks terrible. I believe the Exordium mod was intended for performance optimization and removed the vanilla crosshair’s ability to automatically change its color based on the background, but it didn’t account for high-resolution crosshairs. In the vanilla game, modifying the crosshair texture to opaque black and white allows the black parts to be rendered as transparent, the white parts to automatically change color according to the original crosshair’s functionality, and the gray parts to appear semi-transparent, thus preserving proper anti-aliasing. The Exordium mod clearly breaks this feature, which causes the issue. Although my method might seem peculiar, it works well in vanilla, and it is the only way to achieve anti-aliasing.
I think this should be understood as the mod not fully supporting all vanilla features, which is essentially a bug. I believe that if the Exordium mod aims to optimize performance by disabling the automatic color-changing feature, it should at least retain the ability for black areas to render as fully transparent and gray areas as semi-transparent. I will also report this issue to the Exordium mod author and hope to receive a response. Thank you.
- 1.20.1
- 织物
- 动态十字准线 9.8
- 与 Dynamic Crosshair Compat 4.3 一起
一位中国作者最近发布的热门模组包已经安装了您的模组。很多玩家在实际玩法中都遇到过这个bug。我目前也在尝试与 Mod Pack 作者取得联系。希望它能尽快得到解决。🧐
我是这个模组包的开发者之一。这实际上并不是模组本身的错误。该问题源于这样一个事实,即出于性能原因,该包包含 Exordium,它大量重写了负责 HUD 渲染的类。您有两种方法可以处理它:完全禁用 Exordium。使用(或合并)我制作的热修复 注意:我不会绘图,所以我的补丁只是使用 Python 将黑色像素变为透明。它不是像素完美的——可能仍然有微弱的黑色轮廓——所以你可能需要用手修饰它。之前:
之后:
结果:
在你尝试修复后,看起来依然很糟糕。我想 Exordium mod 应当是为了性能优化,删除了原版准星依照背景颜色自动变化自身颜色的功能,但没有考虑到高分辨率的准星的情况。在原版游戏中,将准星贴图修改为黑白不透明,能够让黑色部分被渲染为透明,白色部分自动切换颜色,而灰色部分将会表现为半透明,从而实现抗锯齿部分的正常呈现。但 Exordium mod 显然破坏了这一功能,导致了这样的错误。虽然我的方法可能看起来很奇怪,但它在原版中能够稳定呈现,而且是实现抗锯齿的唯一方法。
我认为这应当被理解为是 mod 没有完全适配所有原版特性,也就是一种 bug。我想,如果 Exordium mod 希望通过关闭自动变化颜色的功能来实现性能优化,至少应当保留能够让黑色部分呈现为全透明,灰色部分呈现为半透明的功能。我将会尝试同时将这一现象反馈给 Exordium mod 作者,希望能够得到回复。谢谢。
即使在您尝试修复它之后,它看起来仍然很糟糕。我相信 Exordium 模组旨在优化性能,并删除了原版十字准线根据背景自动更改颜色的能力,但它没有考虑高分辨率十字准线。在原版游戏中,将十字准线纹理修改为不透明的黑白可以将黑色部分渲染为透明,白色部分根据原始十字准线的功能自动改变颜色,灰色部分显示为半透明,从而保留适当的抗锯齿。Exordium mod 显然破坏了此功能,从而导致了该问题。虽然我的方法可能看起来很奇怪,但它在原版中效果很好,而且这是实现抗锯齿的唯一方法。
我认为这应该理解为该模组没有完全支持所有原版功能,这本质上是一个错误。我相信,如果 Exordium mod 旨在通过禁用自动变色功能来优化性能,那么它至少应该保留黑色区域渲染为完全透明和灰色区域呈现为半透明的能力。我也会向 Exordium mod 作者报告这个问题,并希望得到回复。谢谢。
我已经修复了这个bug,并且已经提交了PR(tr7zw/Exordium#180)
效果如下
但Exordium 的作者已经很久没更新1.20.1 的 fabric 版本了,所以估计也不会合并我的分支.
所以我制作了一个mixin修复补丁 mod 修复这个问题,并在乌托邦的下个修复版本中实装
https://github.com/kltyton/KltytonToXhcRepair/releases/tag/KltytonToXhcRepair-1.0.0.jar
它修复了 Exordium 快速十字准星无法使用 正确反相渲染的问题











