Description
HealthBar – Floating Health Bars for Mobs
HealthBar is a lightweight Hytale plugin that renders floating health bars above mobs and NPCs.
✨ Features
-
Floating health bars above mobs/NPCs
- Shows
current / maxHP. - Updates in real time as the mob takes damage or heals.
- Shows
-
Eye‑height aware positioning
- Uses the entity’s
ModelComponentandModel.getEyeHeight(...). - Works correctly with different mob sizes.
- Uses the entity’s
-
Configurable vertical offset
- Add extra height above the entity’s eyes so the bar doesn’t clip into models.
- Controlled via a simple config file.
-
Automatic cleanup
- Health bars are removed when a mob dies.
- Orphaned holograms are cleaned up safely when entities disappear or unload.
- Old holograms from previous runs are removed on server startup.
-
Respect for invulnerability
- Entities with the
Invulnerablecomponent are ignored (no health bar).
- Entities with the
-
Global toggle
- You can globally enable/disable the entire health bar system via config.
- When disabled, all existing holograms are removed and no new ones are spawned.
⚙️ Configuration
A config file is created automatically the first time the plugin runs.
- Location (since v1.0.5):
<plugin-data-directory>/healthbar.properties
Example:
# Vertical offset added on top of the entity’s eye height
y-offset=0.3
This mod add numeric HealthBar above entities head.
if you have any issues contact me on discord: ender_griefeur99




