This feature is unique to the Java version.bossbar
Permanent level | 2 | Limited conditions None | |
---|
Used to create or modify the BOSS column.
Grammar Bossbar Add
Bossbar Get
Bossbar List
Bossbar Remove
Bossbar Set
... COLOR (Blue | Green | Pink | Purple | Red | White | YELLOW)
... max
... name
Players [
... style (notch_6 | notch_10 | notch_12 | notch_20 | progress)
... Visible
parameters
: Resource_Location
Specify a BOSS column and use the name space ID format.If the naming space is not set, the default is Minecraft:
.Must be named space ID.
name
The name of the BOSS column must be effective in the original JSON text format.
... add
Create a new BOSS column.
... get
Return to the specified setting of request.
... list
Show the existing BOSS column list.
... Remove
Remove an existing BOSS column.
... set
... color (blue | Green | pink | purple | red | white | yelow)
Set the color and name of the BOSS column content (if there is no specified color in the JSON text of the name).The default White
(white).
: Integer
Set the maximum value of the BOSS column.The default 100
.It must be a 32 -bit integer value.And must be between 1 and 2147483647 (inclusive).
: Component sets the name of the BOSS column.It must be the original JSON text.
: Entity
Which players can see the BOSS column.There is no player.The default is set as a player name, target selectioner or UUID.And the target selector allows players only. (Progress | Notch_6 | Notch_10 | Notch_12 | Notch_20)
Set the BOSS column into several segments visually: continuous, 6, 10, 12 or 20.The default Progress
(continuous).
: Integer
Set the current value of the boss column.The default 0
.It must be a 32 -bit integer value.And must be between 0 and 2147483647.
: BOOL
Set whether the BOSS column is visible.The default True
.It must be Boolean ( True
or False
).Effect
Command | triggering conditions | java version | TR>
---|---|---|
Any | Parameters are incorrect | |
/bossbar set .../bossbar remove .../bossbar get | The specified boss column does not exist | Execution failure | /bossbar add ... | The BOSS column of the same ID |
/bossbar set ... | Try to set the same value as the original value as the original value | |
Any | When the execution is successful | Create, modify, list or remove the BOSS column | /tr>