This datapack currently gives you 48 different combinations of options to set the text display that spawns when something gets damaged. You choose from 3 styles, 8 colors, and wether you want it to be bold or not. Minecraft version 1.21.6 and up lets you use a dialog to configure each option for quick and easy use! P.S. you will need cheats enabled to configure the bar, but do not always need cheats to see them.
Set Up:
No set up required, works out of the box displaying non bolden red hearts when something takes damage above their head.
Config:
Dialog menu accessible on Minecraft version 1.21.6 and up with this command: /dialog show @s entityhealthbar:healthbar_config_style


Requires OP or cheats enabled on local world.
Function commands accessible on all Minecraft versions:
❤❤❤❤❤❤❤❤❤❤
/function entityhealthbar:style1
▉▉▉▉▉▉▉▉▉▉
/function entityhealthbar:style2
⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫ /function entityhealthbar:style3
/function entityhealthbar:bold
/function entityhealthbar:notbold
/function entityhealthbar:color<1-8> See image above for which number corresponds to which color.
All functions equire OP or cheats enabled on local world.
