Skip to content
[/craft]
Create a Custom Boss Bar

Create a Custom Boss Bar

Show a custom boss health bar at the top of the screen

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Creates a custom boss bar at the top of the screen with your own name, color, and progress. /bossbar add makes it (the id becomes minecraft:<name>), then /bossbar set adjusts color, style, max, value, and which players see it. Change the value with /bossbar set minecraft:event value <n> to drive a timer or progress meter. Java Edition only.

/bossbar add event {text:"Event Timer"} /bossbar set minecraft:event color red /bossbar set minecraft:event players @a
118 characters

How to use

  1. Open chat (T on Java).
  2. Run /bossbar add event {text:"Event Timer"} to create it.
  3. Run /bossbar set minecraft:event players @a so players can see it.
  4. Update /bossbar set minecraft:event value <n> to move the bar.

Related commands