/bossbar

BlockSprite rose.png: Sprite image for rose in Minecraft
This page describes content that has been removed from the game.
 
This feature was present in earlier versions of Minecraft, but has since been removed.
This feature is exclusive to Bedrock Edition.
 
/bossbar
Permission level
required

Unknown

Restrictions

None

Creates and modifies boss bars.

Syntax

bossbar . . .
  • ... add <id: string> <name: json>
  • ... get <id: string> <max|players|value|visible>
  • ... list
  • ... remove <id: string>
  • ... set <id: string> . . .
    • ... color <color: BossbarColor>
    • ... max <max: int>
    • ... name <name: json>
    • ... players <players: target>
    • ... value <value: int>
    • ... visible <visible: Boolean>

Arguments

id: string: basic_string

Must be a string. And it must be a single word that has no space or a double-quoted string (When quoted, \ can be used to escape characters).

name: json: Json::Value

It must be a JSON [NBT Compound / JSON Object]Object.

color: BossbarColor: enum

Must be a string. And it must be a single word that has no space or a double-quoted string (When quoted, \ can be used to escape characters).

max: int: int

Must be a [Int]32-bit integer number (from -2147483648 (-231) to 2147483647 (231-1) ).

players: target: CommandSelector<Player>

Must be a player name or a target selector.

value: int: int

Must be a [Int]32-bit integer number (from -2147483648 (-231) to 2147483647 (231-1) ).

visible: Boolean: enum

Must be a [Boolean]Boolean (either true or false).

Result

This section of the article is empty.
 
You can help by expanding it.

History

This section of the article is empty.
 
You can help by expanding it.

Navigation