|
|
Mechanic: Bar Set
|
|
|
=================
|
|
|
## Description
|
|
|
Modifies a custom boss bar on the casting mob (cannot be player).
|
|
|
|
|
|
Modifies a custom boss bar on the casting mob(cannot be player).
|
|
|
|
|
|
Attributes
|
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|-----------|---------|---------------------------------------------------------|-----------------------------|
|
|
|
| name | n | The name of the bossbar. | infobar |
|
|
|
| display | d | The text displayed on the bossbar. | <skill.var.aura-name> |
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| name | n | The name of the bossbar to modify/set | infobar |
|
|
|
| display | d, bartimerdisplay, bartimertext | 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 |
|
|
|
| color | c | The color of the bossbar. Accepts any of: PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE. | None (will error if left empty) |
|
|
|
| style | s | The style of the bossbar. Accepts any of: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20. | None (will error if left empty) |
|
|
|
| color | c, bartimercolor | The [Color](/Mobs/BossBar#color) of the bossbar | RED |
|
|
|
| style | s, bartimerstyle | The [Style](/Mobs/BossBar#style) of the bossbar | SOLID |
|
|
|
|
|
|
|
|
|
Examples
|
|
|
--------
|
|
|
## Examples
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- barSet{name="MyBossBar";display="<caster.name> - <caster.hp>";value=1.0;color=RED;style=SEGMENTED_6} @self ~onDamaged
|
|
|
- ... |
|
|
\ No newline at end of file |
|
|
- barSet{
|
|
|
name="MyBossBar";
|
|
|
display="<caster.name> - <caster.hp>";
|
|
|
value=1.0;
|
|
|
color=RED;
|
|
|
style=SEGMENTED_6
|
|
|
} @self ~onDamaged
|
|
|
``` |
|
|
\ No newline at end of file |