MobHealthBars

MobHealthBars is a plugin that adds healthbars to your server without interfering with the mob's name, and without revealing mobs that players can't otherwise see.
The healthbar is a separate entity that only appears when a player looks directly at a mob, and it disapears 5 seconds later (if a mob goes 5 seconds without being directly looked at by a player, the healthbar disapears).
The healthbar changes color based on the percentage of health that is remaining.
- Green: 90%-100% HP
- Yellow: 50%-90% HP
- Orange: 10%-50% HP
- Red: 0%-10% HP
The healthbar used to be a TextDisplay entity, but for some reason TextDisplays collide with projectiles, so healthbars were switched to being invisible armorstands (which don't collide with projectiles thanks to the marker tag).
A villager trading hall with healthbars, showcasing healthbars being visible when a player looks at an entity through partial blocks (the trapdoors and the iron doors)
Healthbars on sheep of different health, showing the different colors depending on their health
The healthbar on a damaged irongolem