AtomicStryker / atomicstrykers-minecraft-mods

Repository for my open source Minecraft Mods
https://atomicstryker.github.io/
181 stars 97 forks source link

Infernal mob healthbars overlap WTHIT interface #454

Closed saltyseadoggo closed 2 years ago

saltyseadoggo commented 2 years ago

When looking at a mob with infernal mobs modifiers, the list of modifiers overlaps the interface from WTHIT, rendering the effect list illegible. One would expect Infernal Mobs to move the WTHIT interface down below its lines of text listing the effects the mob has, so they can always be read.

2022-10-15_18 57 20 2022-10-15_19 01 31

AtomicStryker commented 2 years ago

Infernal Mobs hacks into the vanilla boss bar in the current versions. In other words, WTHIT overlays the vanilla boss bar and you should complain there.

saltyseadoggo commented 2 years ago

WTHIT overlays the vanilla boss bar

If you look at the pictures again, you can clearly see that it doesn't. WTHIT has a deliberate feature for moving out of the way of the vanilla boss bar; it's usually higher, and it will move lower if more boss bars are added. What it can't know to accommodate is text under the boss bar, which doesn't happen in vanilla or any mods other than Infernal Mobs, to my knowledge.

AtomicStryker commented 2 years ago

I checked and you are correct, the modifier text is actually drawn by me. Now you need to understand something about minecraft UI: They draw "blindly" onto the same canvas. They do not know about other mod UI. They can check the status of the vanilla boss bar. Infernal Mobs stops showing Infernals if a vanilla boss is displayed. WTHIT moves down a little if a vanilla boss bar [or Infernal Mob, as that uses vanilla boss bar] is visible. I can't "move" WTHIT on the screen whatsoever. What you are actually requesting is for WTHIT to check if an Infernal Mobs bar is visible and translate down the screen a little bit more.

AtomicStryker commented 2 years ago

Looking at WTHIT, i think you can configure the position of the overlay in your own config files, look for something like IWailaConfig.Overlay.Position

Alternatively, you can always disable Infernal Mobs boss bars