Minecraft:Commands/hud: Difference between revisions
From SAS Gaming Wiki
More actions
→Arguments: Missing added code |
Remove broken links to missing pages |
||
| Line 6: | Line 6: | ||
|cheat=1 | |cheat=1 | ||
}} | }} | ||
Changes the visibility of a | Changes the visibility of a HUD element. | ||
== Syntax == | == Syntax == | ||
| Line 39: | Line 39: | ||
== Examples == | == Examples == | ||
*To hide all | *To hide all HUD elements for all players: | ||
**<code>/hud @a hide all</code> | **<code>/hud @a hide all</code> | ||
*To make the | *To make the health bar visible again for the nearest player in Survival mode: | ||
**<code>/hud @p[m=s] reset health</code> | **<code>/hud @p[m=s] reset health</code> | ||
| Line 58: | Line 58: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/hud | |||
ja:コマンド/hud | |||
pt:Comandos/hud | |||
zh:命令/hud | |||
Revision as of 15:44, 9 April 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Exclusive Template:Infobox command Changes the visibility of a HUD element.
Syntax
hud <target: target> <visible: HudVisibility> [hud_element: HudElement]
Arguments
- Specifies the target(s) to change the HUD element(s) visibility for.
- Template:Arg desc
- Whether
hideorresetthe HUD element(s) visibility. - Must be either
hideorreset.
- The HUD element(s).
- Must be one of
air_bubbles,all,armor,crosshair,health,horse_health,hotbar,hunger,
item_text, paperdoll, progress_bar, status_effects,tooltips, and touch_controls.
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table
Examples
- To hide all HUD elements for all players:
/hud @a hide all
- To make the health bar visible again for the nearest player in Survival mode:
/hud @p[m=s] reset health
History
External links
de:Befehl/hud ja:コマンド/hud pt:Comandos/hud zh:命令/hud