[X] I can reproduce this issue consistently in single-player
[X] I can reproduce this issue consistently in multi-player
[X] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
[ ] I am crashing and can provide my crash report(s)
[X] I am using the latest version of the mod
Forge version
40.2.4
Minecraft version
1.18.2
Mod version
2.1.4
Java version
Java 17
Issue Description
Whenever the player dies a couple of times, then try to give the player effect "minecraft:health_boost" and make it exceed the default 20 values, and then whenever killing the specified mobs, it won't regen back at all due to the max health is boosted by the effect.
Expected behaviour what I imagine is:
It will still regen back to the 20 default value, + the health boost effect still remains.
This also applies to the other mod that gives extra health boost, currently unhealthy dying just check the overall total max health from the player instead of its "default vanilla max health"
I've tried to stay compatible with other mods that adjust health in the past but it caused more issues than it helped so there's not really that much I can think of to help fix the issue
General Info
Forge version
40.2.4
Minecraft version
1.18.2
Mod version
2.1.4
Java version
Java 17
Issue Description
Whenever the player dies a couple of times, then try to give the player effect "minecraft:health_boost" and make it exceed the default 20 values, and then whenever killing the specified mobs, it won't regen back at all due to the max health is boosted by the effect.
Expected behaviour what I imagine is: It will still regen back to the 20 default value, + the health boost effect still remains.
This also applies to the other mod that gives extra health boost, currently unhealthy dying just check the overall total max health from the player instead of its "default vanilla max health"
Additional Information
No response