Bossbar

A boss bar is a bar that can track a boss mob's health or the health of raid mobs.

Manual creation
A boss bar could be shown by using the command.

Boss mobs
A boss bar appears when you are near a boss mob, which are withers and ender dragons.

Raids
When you go in a village affected by a raid, a raid boss bar appears.

Color
The boss bar has colors depending on which boss mob is active.

The ender dragon has a color of pink. The wither has a dark purple or pink boss bar.

ID system
A boss bar has an ID, which can be used to do certain actions with one boss bar. An ID is not shown on the creation of the boss bar, so you can't see it.

Removing
A boss bar can be disabled by using.

History
Boss栏