HUD Actions¶
These actions affect the head-up display (HUD) including the bossbar, scoreboard and more.
tap:bossbar
¶
This action lets you directly modify the bossbar of the house.
name
- The name to show on the bossbar.
health
- The health of the bossbar.
max_health
- The maximum health of the bossbar, defaulting to 100.
duration
- The duration in seconds before the bossbar vanishes, defaulting to a very, very long time.
no-clear
- If this option is specified, then it will only update parameters and won't reset things like health and name.
tap:tablist
¶
This action lets you modify the tablist. The tablist header is currently not modifiable for stylistic reasons.
footer
*- The text to put in the tablist's footer. Use
\n
to create a new line.
- The text to put in the tablist's footer. Use
restore
- If this option is specified, then it restores the original footer.
tap:toast
¶
This action lets you send an achievement toast notification.
title
- The text to put in the title of the toast.
desc
- The text to put in the description of the toast.
icon
- The item id (e.g.
stone
orminecraft:stone
) to put on the left side of the toast.
- The item id (e.g.