Assets
Assets are a collection of Asset Layers, to be positioned in HUD Layouts for display.
The example default-layout's assets are hosted in /MythicHUD/assets/hud/vanilla.yml, providing assets such as vanilla-health and vanilla-hunger.
Conditions
Layers may have Conditions that affect their visibility within a HUD Layout, color, and appearance.
Example:
The default-layout's vanilla-air Asset:
vanilla-air:
conditions: # Only visible when below 100% oxygen
- progress{l=fill;o=<;v=100%} true hide
layers:
icon:
texture:
path: assets/vanilla/air.png
offset:
x: -5
y: 2
fill:
texture:
path: assets/vanilla/exp_bar_short_fill.png
color: "#525aff"
offset:
x: 0
y: 0
function:
listener: air
increment: 13
orientation: horizontal
outline:
texture:
path: assets/vanilla/exp_bar_short_outline.png