Bar options affect the bar based on the set condition.
Options
Option | Description | Default Value |
---|---|---|
hide-when-full | If the value is greater than or equal to the max, the bar is hidden. | false |
hide-when-empty | If the value is less than or equal to 0, the bar is hidden. | false |
hide-when-gamemode | If the player is in spectator or creative, the bar is hidden. | false |
hide-when-inactive | If the bar hasn't been updated in inactivity-timeout ticks, the bar is hidden. |
false |
hide-when-mounted | If the player is in riding a horse, the bar is hidden. | false |
hide-when-blocking | If the player is blocking with a shield, the bar is hidden. | false |
hide-when-sleeping | If the player is sleeping, the bar is hidden. | false |
reverse-direction | The bar will deplete in the opposite direction. | false |