- check_circle Functions
Published Apr 27th, 4/27/24 10:30 am
- 501 views, 4 today
- 65 downloads, 0 today
5
This is a simple data pack that adds visible health bars and bossbars for wardens. Intended to make fights against wardens easier as player can see their remaining HP.
This data pack requires function macro to work. Should function properly in Minecraft versions posterior to 1.20.2.
Features:
· Compatible with multiple wardens.
· Display a text health bar showing the current health and max health of each warden above their hitbox, automatically modify the vertical position according to their attribute "minecraft:generic.scale" and their digging / emerging animation.
· Customizing the vertical offset of the text health bar is possible.
· Optional bossbar function, which shows each warden's health bar in the form of bossbar to all players within 55 blocks of the warden.
Commands:
/function warden_health_bar:setting/toggle_bossbar
- to toggle bossbar function
/function warden_health_bar:setting/set_text_height_offest {value:<double number>}
- to set the vertical offset of the text health bar (default: 0.6), must input a valid double decimal / integer
/function warden_health_bar:setting/reset_text_height_offest
- to reset the vertical offset of the text health bar to its default value 0.6
This data pack requires function macro to work. Should function properly in Minecraft versions posterior to 1.20.2.
Features:
· Compatible with multiple wardens.
· Display a text health bar showing the current health and max health of each warden above their hitbox, automatically modify the vertical position according to their attribute "minecraft:generic.scale" and their digging / emerging animation.
· Customizing the vertical offset of the text health bar is possible.
· Optional bossbar function, which shows each warden's health bar in the form of bossbar to all players within 55 blocks of the warden.
Commands:
/function warden_health_bar:setting/toggle_bossbar
- to toggle bossbar function
/function warden_health_bar:setting/set_text_height_offest {value:<double number>}
- to set the vertical offset of the text health bar (default: 0.6), must input a valid double decimal / integer
/function warden_health_bar:setting/reset_text_height_offest
- to reset the vertical offset of the text health bar to its default value 0.6
Compatibility | Minecraft 1.20 |
to | Minecraft 1.21 pre-release |
Tags |
6259945
119
Create an account or sign in to comment.