Minecraft Data Packs / Other

Newts Health Bars

  • check_circle Functions
  • 1,962 views, 18 today
  • 387 downloads, 0 today
  • 3
  • 2
  • 4
newt_00's Avatar newt_00
Level 49 : Master Engineer
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

health leveldisplay tag
1 - 51x ' ▋' per half heart in red
6 - 501x ' ▋' 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
CompatibilityMinecraft 1.19
Tags

Create an account or sign in to comment.

1
07/16/2023 3:51 am
Level 1 : New Miner
Nedzak
Nedzak's Avatar
so i enabled the health bars then decided i didnt like them so i disabled the datapack and uninstalled it but they are still there. How do i fix this issue?
1
07/16/2023 4:07 am
Level 1 : New Miner
Nedzak
Nedzak's Avatar
I fixed it nvm, the mobs that had the helath bars were just the ones alive during the "incident" and so i just had to kill @e and respawn everything
1
05/24/2023 6:11 am
Level 2 : Apprentice Miner
Javata
Javata's Avatar
Yep laggy for me :c ( but i have a bad computer )
1
05/24/2023 6:47 pm
Level 49 : Master Engineer
newt_00
newt_00's Avatar
this pack is not resource intensive so if you’re experiencing lag it may simply be just down to specs of your system
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome