Vampirism - Become a vampire!

Vampirism - Become a vampire!

16M Downloads

[Bug]: Vampire level too high on screen

MarioSMB opened this issue · 4 comments

commented

Minecraft Version

1.20.1

Forge Version

47.1.43

Vampirism Version

1.9.1

Modpack

No response

Singleplayer/Multiplayer

Singleplayer

What happened?

The vampire level is too high on screen:
2023-07-27_17 55 05

Relevant log output

No response

Reproduce steps

Become a vampire - personally tried via infection by fangs.

Other relevant mods

I don't know what could cause this, if needed I can provide a full list of installed mods.

commented

Now that I think about it, Iron's Spells 'n Spellbooks may possibly be responsible if this doesn't normally happen, as they have a (normally hidden) HUD element directly above the hunger bar. I will test more isolated cases when I have some spare time.

commented

47 is the default value which seems to usually place it at the correct position. Maybe Spellbooks does add some additional shift?
Anyways, that is what the config option is for

commented

So the problem was config-related; the levelOffsetY setting in vampirism-client.toml had somehow been changed to 47.
I don't know if something is automatically adjusting it but resetting it to the default of 0 seems to have fixed the position of the level. Very strange!

I'll close the issue for now but if it happens again I'll re-open the issue and try to help track down any potential causes.

commented

That’s strange, I generated a fresh config to get the default and it was 0.