malstone_fe_compat-1.1.0.jar
Curse Maven Snippet
What's new
Use this instead of 1.0.0. 1.0.0 only fixed one of two StackOverflowError recursions between Malstone and Fantasy Ending.
Fixed
feInvulnerablerecursion (new) - Fantasy Ending's overwrittenPlayer#getHealth()callsgetMaxHealth()directly while the player'sfeInvulnerableflag is set, bypassing the 1.0.0 guard and recursing through Malstone'sgetMaxHealthreturn callback untilStackOverflowError: Ticking entity.- The 1.0.0
special_getHealthrecursion stays fixed.
Changes
- New
PlayerGetHealthMixin: per-instance re-entrancy guard onPlayer#getHealth(); the fix no longer depends on thegetMaxHealth()call site or on mixin priority. - Both guards now share
MaxHealthRecursionGuard; outer calls still run normally, so Malstone's ToughBlood bonus is preserved. - Guards apply only when both
malstoneandfantasy_endingare loaded.
Requirements
- Minecraft 1.20.1, Forge 47.x
- Malstone (tested with 1.0.6.0)
- Fantasy Ending (tested with 1.20.1-2.7.20)
Remove any older malstone_fe_compat jar before adding this one.
This mod has no additional files