RusherDevelopment / rusherhack-issues

Public repository for reporting issues and suggestions in an efficient manner
76 stars 10 forks source link

[FEATURE] Armor HUD module to use DrawContext#drawItemInSlot #1616

Closed ShayBox closed 4 months ago

ShayBox commented 5 months ago

This might be a weird request, but I use my own mod Durability101, which is just a basic mixin to the vanilla DrawContext#drawItemInSlot method to draw text above the vanilla durability bar.

I noticed the Armor HUD module doesn't use that vanilla method to render the overlay, could it be changed to use that or a toggle to switch it to the vanilla rendering method for compatibility?

https://github.com/ShayBox/Durability101/blob/master/Fabric-1.20/src/client/java/com/shaybox/durability101/mixin/client/DrawContextMixin.java

Screenshot 2024-05-01_201325

John200410 commented 4 months ago

Not possible with the way rusherhack's ui rendering works. You can use the Durability setting in the Armor hud element to see the item's durability