Zyin's HUD

Zyin's HUD

210k Downloads

Display wrong Icons and Suggestions

keomate88 opened this issue ยท 8 comments

commented

BUG:

  • Displays a wrong Poison Effect Icon ("Mining Fatigue" instead of "Heat Stroke")

REQUEST:

  • Allow to zoom armors & tools durability icons as well as poison effects icons

thank you soooooo much

commented

I think the heat stroke icon not being rendered properly is because that modded potion effect is not coded properly. You can ask the author of the mod to correctly use the getStatusIconIndex() in Potion.java.

For the durability info scaling, I'll think about it. Right now there's a lack of space in the config screen to add another button.

commented

Hi Zyin055, thank you for reply,
The "Heat Stroke" icon displays correctly using StatusEffect HUD, why?
For the durability info scalinig maybe you should consider adding a new button group named "Zooming" or elsewhere put all into miscelaneous group ... thank you again ... :)

commented

I took a look at StatusEffectHUD's open source code on Git Hub and saw that his code does the exact same thing that mine does. I don't know why his would work and mine wouldn't.

I'm stumped - I have no idea why it would render differently than his.

commented

Is possible than your code search the icon into inventory.png file (vanilla) instead than into enviromine mod (or others mod) files?
I think so because it replaces with a vanilla icon named "mining fatigue" i guess

I hope you fix this issues also for the future mods ... and than you add my suggestion in order to overhang completely the bspkrs' mods XD

commented

That may be it. Do you know of a 1.7.10 mod that adds the Heat Stroke effect so I can test out that theory? The only one I know of is the Crash Landing modpack for 1.6.4.

commented

yes, enviromine 1.2.28 for mc 1.7.10, exactly on status_Gui.png texture file but if I'll find another I will tell you asap ...

commented

I was able to figure out the issue. Without going into the code details, the modded potion effect (Heat Stroke) was using an unconventional way to render the potion icon. I've adjusted my code to account for this while still working for normal potions, which means this will be fixed in v.1.3.6.

commented

A little thing before u release the next vers.
The clock information in standard mode remain allways "white" instead it should be:

  • "yellow" on daytime (in order to distinguish it from other info)
  • "red" on nighttime
  • (if u want) "dark gray" on raining time ...
    Maybe it's possible to put all in a config file

Thank you sooo mach again and again. ;)