Changes
Page history
updated layout and informations
authored
Sep 18, 2023
by
Lxlp
Hide 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
## Attributes
----------
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| Attribute | Aliases | Description | Default Value |
| name | n | The name of the bossbar. | infobar |
|-----------|---------|---------------------------------------------------------------------------------------------------------------------|-----------------------------|
| display | d | The text displayed on the bar | caster.name> |
| name | n | The name of the bossbar. | infobar |
| value | v | How filled the bossbar is. Must be between 0.0 and 1.0. | 1.0 |
| display | d | The text displayed on the bar. |
<
skill.var.aura-name
>
|
| color | c, bartimercolor | The
[
Color
](
/Mobs/BossBar#color
)
of the bossbar | RED |
| value | v | How filled the bossbar is. Must be between 0.0 and 1.0. | 1.0 |
| style | s, bartimerstyle | The
[
Style
](
/Mobs/BossBar#style
)
of the bossbar | SOLID |
| color | c | The color of the bossbar. Accepts the following: PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE. | RED |
| style | s | The style of the bossbar. Accepts the following: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20 . | SOLID |
Examples
## Examples
--------
```
yaml
Skills
:
-
barCreate{
name="MyBossBar";
display="<caster.name> - <caster.hp>";
value=1.0;color=BLUE;
style=SEGMENTED_6
} @self ~onSpawn
```
Skills:
## Aliases
-
barCreate{name="MyBossBar";display="
<caster.name>
-
<caster.hp>
";value=1.0;color=BLUE;style=SEGMENTED_6} @self ~onSpawn
-
[x] barAdd
-
...
-
[x] createBar
\ No newline at end of file
\ No newline at end of file