Перейти к содержимому
Mineforgian

Entity Healthbar

Adds stylized healthbars on hit of any entity with Health.

Загрузки
181
Подписчики
1
Обновлён
25 июня 2026 г.
Лицензия
MIT

Опубликован 14 мая 2026 г.

This datapack currently gives you 96 different combinations of options to set the text display that spawns when something gets damaged. You choose from 6 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

menu 1

menu 3

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:style4

♣♣♣♣♣♣♣♣♣♣

/function entityhealthbar:style5

♠♠♠♠♠♠♠♠♠♠

/function entityhealthbar:style6

/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.

Ченджлог

1.2Релиз26.1.1, 26.1.2, 26.2 · 25 июня 2026 г.

Added 3 more styles to choose from

Diamonds: ♦♦♦

Clubs: ♣♣♣

Spades: ♠♠♠

Updated styles dialog for new styles

Added 3 more functions for new styles /function entityhealthbar:style4 /function entityhealthbar:style5 /function entityhealthbar:style6

1.1Релиз26.1.1, 26.1.2, 26.2 · 16 июня 2026 г.

Datapack port to 26.2

1.0Релиз26.1, 26.1.1, 26.1.2 · 14 мая 2026 г.

Version 1.0 release

features:

3 styles to choose from

  • Hearts
  • Bars
  • Dots

8 colors to choose from

  • Red
  • Green
  • Blue
  • Pink
  • Aqua
  • Gold
  • Purple
  • Pray

1 formatting option

  • Bold or not nold

Dialog menu to easily select how you would like your healthbars to look /dialog show @s entityhealthbar:healthbar_config_style

Formatting functions: /function entityhealthbar:style<1-3> /function entityhealthbar:bold /function entityhealthbar:notbold /function entityhealthbar:color<1-8>

Foot notes: Dialogs were introduced in 1.21.6, so you will need to use that version or higher to use the dialog selection.

Комментарии

Загружаем…