Edit the bossbar's properties
The color of the bossbar
The bossbar's color
The maximum value of the bossbar
Update the bossbar with every property in one time
Set the bossbar's value
Set the bossbar's visibility
Optional
entity: false | EntityThe entity that can see the bossbar (if the value is false
or undefined
, the bossbar will be invisible for everyone)
Store a value to the bossbar
Store the execution's result into the maximum bossbar's value
The type of result you want:
success
: If the command has been correcly executed, it will returns 1
, else 0
result
: Will returns the callback of the executed command
The command to get the result
Store the execution's result into the bossbar's value
The type of result you want:
success
: If the command has been correcly executed, it will returns 1
, else 0
result
: Will returns the callback of the executed command
The command to get the result
Get a value of the bossbar
The data of the bossbar's you want: max
: The maximum value of the bossbar players
: The players who can see the bossbar value
: The current bossbar's value visible
: If the bossbar is visible or not bossbars
: The list of all the bossbars
Generated using TypeDoc
Represent a bossbar