
Durability numbers are visible through tooltips.
AliahX opened this issue · 4 comments
Yeah, same as #3, I can't fix it, the game keeps track of the Z layer in an incremental variable that I can't reasonable get access to, so I just have to enter a static value that works with the vanilla testing, but other mods offset this number, different versions of the game change this number, it's unreliable, but there's just no good way to fix it without rewriting the mod to use Sponge mixins
The latest versions of Forge use their new Decorators API, which solves this issue, and I will be switching the latest versions of Fabric to their similarly new API.
Can you access the z layer value with reflection? Or are mixins the only way?