• check_circle Functions
  • 393 views, 8 today
  • 51 downloads, 0 today
  • 4
  • 2
TheUknownCreator's Avatar TheUknownCreator
Level 7 : Apprentice Miner
3
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
CompatibilityMinecraft 1.20
toMinecraft 1.21 pre-release
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome