Hud Render
Renders the specified HUD elements.
Type ID : kaya:hud_render
Format
| Field | Type | Default | Description |
|---|---|---|---|
hud_elements |
Array of HUD Elements | The HUD elements to render. |
Warning
This type does not support the active_condition field.
Example
{
"type": "kaya:hud_render",
"hud_elements": [
{
"type": "kaya:overlay/texture",
"sprite": {
"atlas": "minecraft:textures/atlas/blocks.png",
"id": "minecraft:block/dirt"
},
"color": "#ffffff40",
"render_phase": "below_hud",
"hide_with_hud": false,
"visible_in_third_person": false
}
]
}
This example renders a dirt overlay below the HUD that won't be hidden when the HUD is hidden, but won't be visible in third person.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |