Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/hud: Difference between revisions

From SAS Gaming Wiki
Arguments: Missing added code
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 6: Line 6:
|cheat=1
|cheat=1
}}
}}
Changes the visibility of a [[Minecraft:HUD|HUD element]].
Changes the visibility of a HUD element.


== Syntax ==
== Syntax ==
Line 39: Line 39:


== Examples ==
== Examples ==
*To hide all [[Minecraft:HUD|HUD elements]] for all players:
*To hide all HUD elements for all players:
**<code>/hud @a hide all</code>
**<code>/hud @a hide all</code>
*To make the [[Minecraft:health bar]] visible again for the nearest player in [[Minecraft:Survival]] mode:
*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}}


[[Minecraft:de:Befehl/hud]]
de:Befehl/hud
[[Minecraft:ja:コマンド/hud]]
ja:コマンド/hud
[[Minecraft:pt:Comandos/hud]]
pt:Comandos/hud
[[Minecraft:zh:命令/hud]]
zh:命令/hud

Revision as of 15:44, 9 April 2026

Template:Exclusive Template:Infobox command Changes the visibility of a HUD element.

Syntax

hud <target: target> <visible: HudVisibility> [hud_element: HudElement]

Arguments

Template:Argument

Specifies the target(s) to change the HUD element(s) visibility for.
Template:Arg desc

Template:Argument

Whether hide or reset the HUD element(s) visibility.
Must be either hide or reset.

Template:Argument

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

Template:HistoryTable

External links

Navigation

Template:Navbox commands

de:Befehl/hud ja:コマンド/hud pt:Comandos/hud zh:命令/hud