Commands/bossbar/Bedrock

Minecraft Wiki article. Categories: Removed_features, Articles_with_empty_sections, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/bossbar/Bedrock on the Minecraft Wiki. Mirrored from revision 3272220. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

BlockSprite blue-rose.png: Sprite image for blue-rose in Minecraft
This page describes content that has been removed from Bedrock Edition.
 
This feature was present in earlier versions of Bedrock Edition, but has since been removed.
/bossbar

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.

Sources