Boss Bar Hud Render
An Object used to define how a boss bar should be rendered.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
| should_render | Boolean | optional | Whether the bar should be visible or not. |
| bar_index | Int | optional | The indexed position of the bar on the sprite to use. Please note that indexes start at 0. |
| priority | Int | optional | The order in which the bar appears on the screen. |
| overlays | Array of Boss Bar Hud Render Overlays | optional | The overlays you can display on the boss bar. |
| sprite_location | Identifier | optional | The path to the file in the assets which contains what the bar looks like. |
Example
{
"should_render": true,
"bar_index": 0,
"side": "right",
"sprite_location": "example_pack:textures/gui/icons.png"
}