Bossbar
A bossbar is a bar at the top of the screen that can track health of a boss mob or the total health of raid mobs.



The bossbar appears naturally in the game through three means: during a raid, after constructing a wither, and upon entering the End if the ender dragon has not yet been defeated.
Creation Edit
Manual Edit
In Java Edition, a bossbar can be created manually using the /bossbar
command.
Natural Edit
Boss mobs Edit
A bossbar appears in the top center of the screen when near a wither or ender dragon. For the ender dragon's bossbar to appear, the player must be within a Euclidean distance of 192 blocks from the coordinates (0.0, 192, 0.0) in the End dimension.[needs testing] For the wither's bossbar to appear, the player must be loading the chunk the wither is in and be within 24 chunks and 3.5 blocks of a chunk the wither is in. For the bossbar to update after taking damage, a mob has to have the NBT-Tag NoAI set to 0b. [1]
Raids Edit
When a player is within a 93 block radius of the center of a raid, a raid bossbar appears, showing the total health of all raid mobs present during the current wave.
Components Edit
Color Edit
The bossbar has colors depending on which boss mob or event is active:
- the ender dragon has a color of pink,
- the wither has a light purple bossbar in Java Edition, or a dark purple bossbar in Bedrock Edition,
- the raid bossbar has a color of red.
Style Edit
A bossbar has a style attribute. It can be either "progress", "notched_6", "notched_10", "notched_12" or "notched_20". The value "progress" creates a clean bar, while the other ones create a notched bar with 6, 10, 12 or 20 segments.
The ender dragon and wither own a "progress" bossbar. The bossbar shown during a raid uses the "notched_10" style in Java Edition, and the "progress" style in Bedrock Edition.
ID system Edit
A bossbar has an ID, which can be used to do certain actions with one bossbar. An ID is not shown on the bossbar[verify].
Removal Edit
Manual Edit
A bossbar can be disabled by using /bossbar remove <id>
.
Natural Edit
A bossbar for the ender dragon or wither can be removed by killing it. A bossbar for a raid can be removed by completing the raid, which is to kill all the raiders involved in this raid.
History Edit
[hide]Java Edition | |||||||
---|---|---|---|---|---|---|---|
1.0 | Beta 1.9 Prerelease 6 | Added bossbars. | |||||
The only color is pink. | |||||||
Ender dragons use bossbars. | |||||||
"Boss health" was displayed over the bossbar. | |||||||
1.4.2 | 12w34a | Withers use bossbars. | |||||
12w34b | Added boss names above the wither.[verify] | ||||||
1.5 | 13w05b | Ender dragons now properly display their names above their bossbar.[2] | |||||
1.9 | 15w31a | Withers now have a purple bossbar. | |||||
Multiple bossbars can now show without overlapping. | |||||||
Bossbars are no longer briefly visible after respawning or opening a new world.[3] | |||||||
Bossbars are now visible even when the boss is not being looked at.[4] | |||||||
Bossbars now have a smooth animation when the bar fills up or empties. | |||||||
16w02a | Ender dragons created using /summon no longer show a health bar. | ||||||
1.11 | 16w32a | Ender dragons with custom names now show their name above their bossbar.[5] | |||||
1.11.1 | 16w50a | Withers with custom names now show their name above their bossbar.[5][6] | |||||
1.13 | 18w02a | Unnamed ender dragons now show "entity.EnderDragon.name " above their bossbar, rather than "Ender Dragon".[7] | |||||
18w03a | Ender dragons now show "Ender Dragon" again.[7] | ||||||
18w05a | Added the /bossbar command, which can create a custom bossbar. | ||||||
1.14 | 18w47a | Raids use bossbars. | |||||
18w49a | The raid bossbar now slowly fills up when a raid is triggered or when a wave is cleared. | ||||||
19w13b | Notched bossbars now display correctly when more than one is active.[8] | ||||||
1.16 | 20w17a | Bossbars with scores now update correctly when reloading the world.[9] | |||||
1.19 | 22w11a | Notched bossbars now display correctly when more than one is active.[more information needed][10] | |||||
[hide]Pocket Edition Alpha | |||||||
v0.16.0 | build 1 | Added bossbars. | |||||
The Wither is the only mob to currently have a bossbar. | |||||||
[hide]Pocket Edition | |||||||
1.0.0 | Ender dragons added with their respective bossbars. | ||||||
[hide]Legacy Console Edition | |||||||
Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
TU9 | CU1 | 1.00 | 1.00 | 1.00 | Patch 1 | 1.0.1 | Added bossbars. |
The only color is pink. | |||||||
Ender dragons use bossbars. | |||||||
TU19 | CU7 | 1.12 | 1.12 | 1.12 | Withers use bossbars. | ||
TU54 | CU44 | 1.52 | 1.52 | 1.52 | Patch 24 | 1.0.4 | Multiple bossbars can now show without overlapping. |
Bossbars are now visible even when the boss is not being looked at.[is this the correct version?] | |||||||
Bossbars now have a smooth animation when the bar fills up or empties. | |||||||
1.91 | Raids use bossbars. Unlike in Java edition, the color is pink instead of red and the bossbar is not divided into several parts |
Issues Edit
Issues relating to "Bossbar" are maintained on the bug tracker. Issues should be reported and viewed there.
Gallery Edit
-
First image of multiple bossbars.
References Edit
Edit
[hide] | |
---|---|
General mechanics | |
Survival |
|
Combat | |
Environment | |
Movement | |
User interface | |
Visuals | |
Outdated | ![]() |