Skip to main content
MC COMMANDS logoMC COMMANDS
Command Reference

Minecraft /bossbar Command

developerJava Only

Creates and modifies custom boss health bars at the top of the screen (e.g. for custom boss fights).

Version Compatibility

Java Edition:1.21.4 (1.13+)

Command Syntax

Java Edition/bossbar add <id> <name> | /bossbar set <id> <option> <value> | /bossbar remove <id>

Arguments Explained

Practical Examples

/bossbar add raid_tracker "Raid Defense"

Creates a custom boss bar with the display title "Raid Defense".

/bossbar set raid_tracker players @a

Makes the boss bar visible to all online players.

/bossbar set raid_tracker value 50

Sets the fill amount of the boss bar to 50%.

Advertisement

Important Notes

Java exclusive. Great for mapmakers looking to add custom HUD overlays without installing mods.

Ready to build your command?

Use our interactive generator to create error-free /bossbar commands with a visual interface.

Open Command Generator
Advertisement