The purpose of this simple mod is to add a life bar to bosses from some mods, making PVE battles more interesting!! 🔗
Attention: this mod only works with mobs that use the "Mobs redo" api... 🔗
- BY : DuckGo / PixelZone
- LICENSE : MIT
- TEXTURE : CC BY-SA 4.0
- depends =
- optional_depends = nssm,livingnether,lottmobs,dmobs,nether_mobs
If you want to add a boss to the boss list, you can use the function. 🔗
boss_s_hudbar.add_boss(boss_id, boss_tag, hudbar_size,hudbar_texture,hudbar_adj)
boss_id (The boss id, example: "nssm:giant_sandworm") boss_tag (Boss name that appears below the bar)
hudbar_size (Always add 1000 ,change made in version 0.5.3)
hudbar_texture (The texture of the bar, in the textures folder, has several colors; do not add .png at the end.)
bar_adj (This is a parameter to better adjust the size of the bar; see below for examples of adjustments)
When the boss's life is, for example, 1000, the adjustment will be 1. Other examples:
2000 = 2
1500 = 1.5
1000 = 1
If the values are smaller, such as 220, it will be 0.22. See other examples of adjustment:
350 = 0.35
250 = 0.25
180 = 0.18
Example: 🔗
boss_s_hudbar.add_boss("nssm:giant_sandworm", "Giant Sandworm Boss", 1000, "boss_bar_brown",1)