This article is about the HUD element. For the command, see Commands/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 of the wither.
The bossbar of the ender dragon.
The bossbar of a raid in Java Edition. It is divided into several parts and the remaining number of raiders is visible.

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

This feature is exclusive to Java Edition.
 
This section needs expansion.
 
You can help by expanding it.

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

This section needs expansion.
 
You can help by expanding it.

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.0Beta 1.9 Prerelease 6Added bossbars.
The only color is pink.
Ender dragons use bossbars.
"Boss health" was displayed over the bossbar.
1.4.212w34aWithers use bossbars.
12w34bAdded boss names above the wither.[verify]
1.513w05bEnder dragons now properly display their names above their bossbar.[2]
1.915w31aWithers 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.
16w02aEnder dragons created using /summon no longer show a health bar.
1.1116w32aEnder dragons with custom names now show their name above their bossbar.[5]
1.11.116w50aWithers with custom names now show their name above their bossbar.[5][6]
1.1318w02aUnnamed ender dragons now show "entity.EnderDragon.name" above their bossbar, rather than "Ender Dragon".[7]
18w03aEnder dragons now show "Ender Dragon" again.[7]
18w05aAdded the /bossbar command, which can create a custom bossbar.
1.1418w47aRaids use bossbars.
18w49aThe raid bossbar now slowly fills up when a raid is triggered or when a wave is cleared.
19w13bNotched bossbars now display correctly when more than one is active.[8]
1.1620w17aBossbars with scores now update correctly when reloading the world.[9]
1.1922w11aNotched bossbars now display correctly when more than one is active.​[more information needed][10]
[hide]Pocket Edition Alpha
v0.16.0build 1Added bossbars.
The Wither is the only mob to currently have a bossbar.
[hide]Pocket Edition
1.0.0Ender dragons added with their respective bossbars.
[hide]Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU9CU11.001.001.00Patch 11.0.1Added bossbars.
The only color is pink.
Ender dragons use bossbars.
TU19CU71.121.121.12Withers use bossbars.
TU54CU441.521.521.52Patch 241.0.4Multiple 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

References Edit

Navigation Edit