Minecraft:Commands/hud
From SAS Gaming Wiki
More actions
Template:Exclusive Template:Infobox command Changes the visibility of a Minecraft: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:
air_bubbles: The player's oxygen points.armor: The player's Minecraft:armor points.crosshair: The Minecraft:crosshair.health: The player's Minecraft:health points.horse_health: Health points of a mount.hotbar: The Minecraft:hotbar.hunger: Minecraft:Hunger points.item_text: Held item tooltips above the hotbar, including music disc messages.paperdoll: The player's paper doll in the top-left. Can also be toggled in the Minecraft:settings and with Template:Keys.progress_bar: The Minecraft:experience bar, as well has custom bars for mounts.status_effects: Icons for Minecraft:status effects.tooltips: Controller hints. Can also be toggled in the settings and with Template:Keys.touch_controls: All elements pertaining to the Minecraft:touch controller, including the inventory button on the hotbar but excluding the top buttons (perspective, emotes, chat, menu).all: All of the above. HUD elements not mentioned above are still shown, including the Minecraft:chat, Minecraft:closed captions, Minecraft:toasts, Minecraft:screen effects, locator bar, Minecraft:bossbar, coordinates and days played, Minecraft:scoreboard, demo counter, and player hand.
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 Minecraft:health bar visible again for the nearest player in Minecraft:Survival mode:
/hud @p[m=s] reset health
History
External links
Minecraft:de:Befehl/hud Minecraft:ja:コマンド/hud Minecraft:pt:Comandos/hud Minecraft:zh:命令/hud