[Bug] No health bar visible using `YDM's MobHealthBar` set to `On Aggro`
SiverDX opened this issue ยท 0 comments
Observed behaviour
This seems to only occur with the mobs of this mod
If I don't use On Aggro
I can see the health bar
Code from the mod for this behaviour:
if (event.getEntity() instanceof Mob && ((Mob)event.getEntity()).m_5912_()) {
showBar = true;
}
Not sure where to look to see the mapping of that function
Maybe it's this?
public boolean isAggressive() {
return (this.entityData.get(DATA_MOB_FLAGS_ID) & 4) != 0;
}
Expected behaviour
See the health bar when the mob is attacking you
Steps to reproduce
- Have both mods installed
- Set health bar visibility to
On Aggro
- Be in Survival mode and spawn in a mob of this mod
Server Type
Single Player
Crashlog
No response
Iron's Spells N Spellbooks version
1.1.1
Forge version
1.19.2 - 43.2.11