- check_circle Functions
Published May 23rd, 2023, 5/23/23 9:38 pm
- 1,962 views, 18 today
- 387 downloads, 0 today
25
this is a small system off of my main pack (which is starting to become quite laggy to use i do apologize haha) this pack adds health bars to passive animals as well as villagers and iron golems.
the max health the bar can display is 50 health points any health above 50 will simply display high health until the health reaches 50 or less
the health bar will turn from green to red when the entity has 5 or less health points to indicate low health
to toggle this feature to off in the world use the command ' /scoreboard players set hbd data_ 0 ' and set back to 1 to re-enable
another feature i included in this small pack is the addlife system which allows you to add 2 extra hearts to your max health by 2 hearts for every golden apple you consume to add life to your player you can achieve this function by running the command ' /trigger addlife ' and fir every golden apple it consumes from your inventory you gain 2 hearts to your maximum health until you die effectively resetting your health to the level of default 10 hearts
this is a list of mobs that get a health bar by default to give another mob a health bar simply rename them ' showdamage ' with a name tag
if you happen to come across any issues or bugs please comment them here in detail so i can work to fix them
the max health the bar can display is 50 health points any health above 50 will simply display high health until the health reaches 50 or less
the health bar will turn from green to red when the entity has 5 or less health points to indicate low health
to toggle this feature to off in the world use the command ' /scoreboard players set hbd data_ 0 ' and set back to 1 to re-enable
another feature i included in this small pack is the addlife system which allows you to add 2 extra hearts to your max health by 2 hearts for every golden apple you consume to add life to your player you can achieve this function by running the command ' /trigger addlife ' and fir every golden apple it consumes from your inventory you gain 2 hearts to your maximum health until you die effectively resetting your health to the level of default 10 hearts
health level | display tag |
---|---|
1 - 5 | 1x ' ▋' per half heart in red |
6 - 50 | 1x ' ▋' per half heart in green |
51 > | ' ⚠ High Health ⚠ ' in gold |
this is a list of mobs that get a health bar by default to give another mob a health bar simply rename them ' showdamage ' with a name tag
health bar mobs |
sheep pig cow chicken goat bee horse donkey mule frog fox camel llama mooshroom parrot panda sniffer villager iron_golem warden |
if you happen to come across any issues or bugs please comment them here in detail so i can work to fix them
Compatibility | Minecraft 1.19 |
Tags |
tools/tracking
5949214
119
newts-health-bars
Create an account or sign in to comment.