Skip to content

Conversation

@tajobe
Copy link
Member

@tajobe tajobe commented May 10, 2025

Adds an always-on healthbar option for NAME (mob) and SCOREBOARD (player) healthbar configs via special-case duration config.

This has a couple implications requiring follow-up:

  • We aren't processing all entity damage events, only damage by entities. This is fine normally because a healthbar only shows for a few seconds when damaged from an entity, but for permanent bars damage like falling or fire really should keep the bar up to date. One complication is it shouldn't create a bar, just update one if showing. See Healthbars not updated from non-entity damage #29.
  • Given healthbars will let you see mobs through the world, I imagine one might want to limit which mobs it applies to. See Mob filtering for healthbars #30.

That said, they could be used as-is if desired.


Completes #22

@tajobe tajobe requested a review from Puremin0rez May 10, 2025 16:16
@tajobe tajobe merged commit 8affaa8 into main May 10, 2025
1 check passed
@tajobe tajobe deleted the feature/GH-22/persistent-bars branch May 10, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants