Function control the action of the bars. Each function has three different values. The value, max, and percent. You can either use the default provided functions or register your own using PlaceholderAPI.
Default Functions
Function | Description | Max | Additional Placeholders |
---|---|---|---|
air | When swimming; how much oxygen is left. | 300 | N/A |
armor | The current armor attribute. | 20 | N/A |
exp | The amount of exp to the next level. | Dynamic | %level% |
food | The amount of food. | 20 | %exhaustion% %saturation% |
health | The amount of health. | Dynamic | N/A |