/bossbar Generator for Minecraft



Boss bar appearance
The boss bar is shown to every player the selector matches
Step 1. Creating the boss bar

26 characters

Step 2. Showing the boss bar to the chosen player

34 characters

Step 3. Setting how full the boss bar is

33 characters

Description

Create and display boss bars with the /bossbar command for Minecraft: Java Edition. Set the bar's colour, style, fill and ID, and the editor lays out the ordered list of commands you need to run to get it on screen. You can configure:

Bar colour. Seven options to choose from. White is the default.

Bar style. Five styles, differing in how many segments divide the bar. The plain progress style is the default.

Fill. A number from 0 to 100 setting how full the bar appears. It starts completely full.

Bar ID. The bar's unique identifier — the handle you use to change its style, colour and fill later.

Bar name

  • Text formatting: bold, italic, underlined, strikethrough and obfuscated (magic) text. Combine them freely to build your own look.

  • Special characters. Insert the special characters Minecraft supports directly into your text.

  • Minecraft colours and the hex colours added in 1.16. The palette offers three colour models — RGB, HSV and hex. Select some text, pick a colour, and the editor converts it into the form the game expects.

  • Gradients. Add, move and recolour the gradient's key points, or remove the ones you do not need. The text updates as you change the settings, so it is easy to land on the look you want.

  • Keybind. A dynamic element that is replaced with the name of the key bound to the action you choose. It follows each player's own control settings and language.

  • Selector. A dynamic element that is replaced with the entities matching the selector you choose. When several entities match and the selector sets no target limit, their names are joined by a separator you can change.

  • Translatable text. A dynamic element that is replaced with a localised string looked up by key in the game's language files or in a resource pack. You can supply fallback text to use when no translation exists for the key.

  • Preview. Replaces every dynamic element with a plausible value, so you can see the bar's name roughly as players will.

Templates

Save your work as a template to load, reuse or edit later. Templates live in your browser's storage and are completely private — clearing the site's data removes all of them.

Worth knowing

One of the generated commands can be too long to type into chat, which is limited to 256 characters (100 before 1.11). For anything longer, paste the command into a command block and power it with a lever or button. Note that the @s selector does not work in command blocks — swap it for another selector so the command behaves.

How do you create a boss bar in Minecraft?

The bar under the top of the screen is not one command but a set: /bossbar add creates a bar with an id, /bossbar set gives it a name, colour, segment style, maximum and current value, and players decides who sees it. You have to carry that id through every line, and that is usually where people get lost. The generator above assembles the whole sequence: set up how the bar looks and take the finished set of commands.

Other tools in this category