The BossBar feature is used to give your custom mobs a healthbar in the same style used by the Ender Dragon and Wither, but with a lot more options for customization.
The BossBar feature is used to give your custom mobs a healthbar in the same style used by the Ender Dragon and Wither, but with a lot more options for customization.
**Syntax**
## Syntax
```
```yaml
internal_mobname:
internal_mobname:
Type:<mobtype>
Type:<mobtype>
BossBar:
BossBar:
...
@@ -18,23 +16,27 @@ internal_mobname:
...
@@ -18,23 +16,27 @@ internal_mobname:
PlayMusic:[true/false]
PlayMusic:[true/false]
```
```
### Color
Available colors for Color (case sensitive): PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE.
Available colors for Color (case sensitive): PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE.
### Style
Available styles for Style (case sensitive): SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20.
Available styles for Style (case sensitive): SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20.
### Range
Range is the distance the BossBar will be displayed to players around the mob.
Range is the distance the BossBar will be displayed to players around the mob.
### Extra Options
CreateFog adds a fog-like effect to the player's vision while in the radius defined for the bossbar.
CreateFog adds a fog-like effect to the player's vision while in the radius defined for the bossbar.
DarkenSky darkens the sky while in the radius defined for the bossbar, similar to the effect created when the Wither is spawned.
DarkenSky darkens the sky while in the radius defined for the bossbar, similar to the effect created when the Wither is spawned.
<!--
I'm not too sure what PlayMusic does, but I presume it plays boss music while in the radius defined for the bossbar.
I'm not too sure what PlayMusic does, but I presume it plays boss music while in the radius defined for the bossbar.