Changes
Page history
updated layout and informations
authored
Sep 18, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
skills/mechanics/barcreate.md
View page @
1502e33f
Mechanic: Bar Create
## Description
====================
Creates a custom boss bar on the casting mob (cannot be player).
Creates a custom boss bar on the casting mob (cannot be player).
Attributes
----------
| Attribute | Aliases | Description | Default Value |
## Attributes
|-----------|---------|---------------------------------------------------------------------------------------------------------------------|-----------------------------|
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| name | n | The name of the bossbar. | infobar |
| name | n | The name of the bossbar. | infobar |
| display | d | The text displayed on the bar
. |
<
skill.var.aura-name
>
|
| display | d
| The text displayed on the bar
| caster.name>
|
| value | v | How filled the bossbar is. Must be between 0.0 and 1.0. | 1.0 |
| value | v | How filled the bossbar is. Must be between 0.0 and 1.0. | 1.0 |
| color | c | The color of the bossbar. Accepts the following: PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE. | RED |
| color | c, bartimercolor | The
[
Color
](
/Mobs/BossBar#color
)
of the bossbar | RED |
| style | s | The style of the bossbar. Accepts the following: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20 . | SOLID |
| style | s, bartimerstyle | The
[
Style
](
/Mobs/BossBar#style
)
of the bossbar | SOLID |
Examples
--------
## Examples
```
yaml
Skills
:
Skills
:
-
barCreate{name="MyBossBar";display="
<caster.name>
-
<caster.hp>
";value=1.0;color=BLUE;style=SEGMENTED_6} @self ~onSpawn
-
barCreate{
-
...
name="MyBossBar";
\ No newline at end of file
display="<caster.name> - <caster.hp>";
value=1.0;color=BLUE;
style=SEGMENTED_6
} @self ~onSpawn
```
## Aliases
-
[x] barAdd
-
[x] createBar
\ No newline at end of file