235 lines
18 KiB
Text
235 lines
18 KiB
Text
{{Dungeons hatnote}}
|
||
{{Legends hatnote}}
|
||
{{redirect|HUD|the command|Commands/hud}}
|
||
[[File:HUD example.png|thumb|350px|The HUD as seen in Survival mode.]]
|
||
|
||
The '''heads-up display''' ('''HUD''') appears on screen while the [[player]] is in the game. It is superimposed on their view of the game world.
|
||
|
||
== Display ==
|
||
{{Update|Mobile UI options on BE allow for a similar experience to JE, so statements regarding them should be reworded to assume JE UI and better clarify that BE allows settings to be changed.|section=1}}
|
||
[[File:HUD.png|thumb|class=pixel-image|All existing bars in the HUD. Clockwise starting from the bottom left: the experience bar, the health bar, the armor bar, the oxygen bar, and the hunger bar.]]
|
||
The HUD consists of the user's [[health]], [[hunger]] and [[experience]] bars, the hotbar, as well as a crosshair that designates the currently focused on block or entity if the player is not playing on a mobile device and has not enabled split controls. The [[armor]] condition bar appears above the health bar if the player is wearing armor, and the [[Damage#Drowning|oxygen]] bar displays above the hunger bar if the player's air supply NBT tag is below 300. Note that the health and armor bars are on the top left and the hunger and oxygen bars are on the top right if the player is in Bedrock Edition and has chosen the Pocket Edition UI.
|
||
|
||
In [[Creative]] mode, the health, hunger, oxygen, experience and armor bars are hidden.
|
||
|
||
Chat is also part of the HUD, in the bottom left corner{{only|java}}/top left corner{{only|bedrock}}, showing anything recently spoken or commands recently executed. This can be expanded with {{key|T}}.
|
||
|
||
The textures are handled by <samp>[[icons.png]]</samp>.
|
||
|
||
=== Hotbar ===
|
||
[[File:Hotbar.png|thumb|class=pixel-image|The hotbar {{in|je}}.]]
|
||
[[File:Hotbar (BE).png|thumb|class=pixel-image|The hotbar {{in|be}}. The inventory button is visible when using touch input.]]
|
||
The hotbar is a selection bar that appears on the bottom of the screen. It is where the player stores and selects commonly used items. It consists of the bottom nine slots within the player's inventory. The selected item also displays on the right side of the screen
|
||
(left side if the player's main hand is set to "left"), or an empty fist if the slot is empty. When the player switches an item in hand by mouse wheel or {{key|1-9}}, its name is shown above the experience level for a short period of time. This name appears in italics.
|
||
|
||
Players can [[dual wield]] allowing a second item to be shown on the left (or right if the player's main hand is set to "left"), along with an additional hotbar slot on the same side. Both the slot and the item are shown only if it contains an item, which can either be added using the [[GUI]] or by pressing "{{control|swap items}}." {{IN|java}}, it shows the off-hand slot with the items equipped on the left of the hotbar. {{IN|bedrock}}, this is not the case although the item is still equipped in the off-hand slot.
|
||
|
||
{{IN|bedrock}}, the hotbar has an additional button for the inventory. However, this is present only on mobile devices such as Android, iOS, and Windows 10 (with touch screen). On the [[New Nintendo 3DS Edition]], the hotbar is located on the Touch Screen and is slightly different.
|
||
|
||
=== Paper doll ===
|
||
{{exclusive|bedrock|section=1}}
|
||
The paper doll is a side-view of the player displayed in the top-left corner of the screen. It shows the player's [[skin]] and any [[armor]] worn. If the player is walking, the paper doll shows the player's legs moving. If the player is [[sneaking]], sprint-[[swimming]], or flying with [[elytra]], this can also be seen.
|
||
|
||
The paper doll can be turned on and off by pressing {{key|F8}} on PC.
|
||
|
||
=== Mobile controller ===
|
||
{{exclusive|bedrock|section=1}}
|
||
<div style="display: flex; align-items: center; float: right;">
|
||
[[File:Joystick_control_mode.png|thumb|246px|Joystick control mode.|class=pixel-image]]
|
||
[[File:HUD-BE-Directional buttons.png|thumb|260px|D-Pad control mode.|class=pixel-image]]
|
||
</div>
|
||
|
||
These buttons are present only in mobile versions<sup>(Android and iOS)</sup> and they are used to control the player. Players can [[sneak]], fly and jump using the mobile controller.
|
||
|
||
In the settings under "Controls" → "Touch", players can choose between D-Pad, joystick, and joystick with crosshair aim control mode. D-Pad crosshair aim is available separate using "Split Controls" setting.
|
||
|
||
=== Crosshair ===
|
||
The crosshair is a small cross in the middle of the screen. It shows the aim point of the [[tool]] or [[item]] being held. The crosshair inverts the colors of the area it is upon, which can result in a nearly invisible crosshair if the area is a medium gray. The crosshair is not shown if the player is playing on a mobile device and has turned off Split Controls.
|
||
|
||
If the [[option]] for the [[attack indicator]] is set to "Crosshair" mode, weapon cooldown time is indicated by a sword icon near the crosshair that fills, representing the cooldown progress. This sword icon disappears once the weapon is fully cooled. In this mode, if a fully cooled weapon is being held, and a mob or player is in range, the sword icon and an additional plus-sign (+) indicator is shown below the crosshair, indicating that the weapon is in range to land a full-damage blow.{{only|java}}
|
||
|
||
=== Effects ===
|
||
All [[effect]]s (other than effects with <code>hideParticles</code>, including [[Darkness]] from the warden<ref>{{bug|MC-249416|||WAI}}</ref>) the player currently has are shown on the top-right of the screen. Effects that run out sooner appear farther to the left, and effects that are about to run out start to flash. Additionally, positive effects are shown on the top, and other effects (neutral or negative) are shown on the bottom. Beacon effects have a blue (instead of gray) outline, and effects with particles hidden are not indicated in the HUD.
|
||
|
||
=== Riding mobs ===
|
||
{{fakeImage|{{healthbar|14|mob=1}}|A mob health bar}}
|
||
[[File:Horse jump bar empty.png|thumb|class=pixel-image|The empty horse jump bar/camel dash bar.]]
|
||
[[File:Horse jump bar full.png|thumb|class=pixel-image|The full horse jump bar/camel dash bar.]]
|
||
|
||
Upon mounting a [[camel]], [[horse]], [[donkey]], [[mule]], [[llama]], [[pig]], or [[strider]], the mob's health bar appears above the hunger bar, which the former uses a slightly different heart texture than the player's health bar, as they are meant to look like saddles. Also, upon mounting a horse or camel, the horse jump bar/camel dash bar also appears above the experience bar. When riding a [[skeleton horse]] underwater, the oxygen bar, if necessary, appears above the mob health bar.
|
||
|
||
== Options ==
|
||
In the [[options]] menu, the GUI scale option changes the size of the HUD and GUI. The default setting, "auto", changes the size of the HUD and GUI depending on the size of the game window.{{only|java}}
|
||
|
||
There is an option to hide the HUD. If the player is using keyboard controls, this can also be done with {{key|F1}}. {{IN|bedrock}}, the "Hide HUD" option toggles the hotbar, crosshair, and if using touch controls, buttons. The hand, paper doll, and coordinates are separate options.
|
||
|
||
{{IN|be}}, the {{cmd|hud}} command can toggle the visibility of each HUD element.
|
||
|
||
Players can toggle the HUD, the [[wikipedia:Vignetting|vignette]] effect on fancy graphics, the pumpkin "view" and the block hitbox by pressing the {{key|F1}} key. The {{key|F1}} key will also toggle the surrounding darkness when using the spyglass.
|
||
|
||
The HUD also contains the [[debug screen]],{{only|java}} which can be shown or hidden using {{key|F3}}. Pressing {{key|F3+1}} adds the additional pie chart showing resource allocation. Pressing {{key|F3+2}} shows the FPS and TPS chart.
|
||
|
||
The player can choose whether to use their right or left hand.{{only|java}} This option also moves the off-hand slot to the opposite side.
|
||
|
||
== Minecraft China ==
|
||
{{ChinaArticle|section=1|nocat=1}}
|
||
{{Exclusive|China|section=1|nocat=1}}
|
||
[[File:ChinaVersionScreenshot.png|thumb|The HUD in ''[[Minecraft China]]''.]]
|
||
In ''[[Minecraft China]]'', a "2 button" can be seen at the top of the screen. There is also a button to allow the player to take a screenshot or switch the camera and change voice settings.
|
||
|
||
At the right of the screen, a button can be seen that is used to lock walking, sprinting or sneaking. It can be useful in some situations.
|
||
|
||
== Sounds ==
|
||
{{el|je}}:
|
||
{{SoundTable
|
||
|type=java
|
||
|{{SoundLine
|
||
|sound=Hud bubble.wav
|
||
|subtitle=Breath meter dropping
|
||
|source=player
|
||
|description=When a UI bubble pops
|
||
|id=ui.hud.bubble_pop
|
||
|translationkey=subtitles.ui.hud.bubble_pop
|
||
|volume=''Varies''<ref group=sound>0.5 for the first three bubbles; increases by 0.1 per bubble for remaining bubbles.</ref>
|
||
|pitch=''Varies''<ref group=sound>1.0 for first five bubbles, increases by 0.1 per bubble for remaining bubbles.</ref>
|
||
|distance=16
|
||
}}
|
||
}}
|
||
|
||
{{el|be}}:
|
||
|
||
{{SoundTable
|
||
|type=bedrock
|
||
|{{SoundLine
|
||
|sound=Hud bubble.wav
|
||
|source=sound
|
||
|description=When a UI bubble pops
|
||
|id=hud.bubble.pop
|
||
}}
|
||
}}
|
||
|
||
== Video ==
|
||
{{yt|SnZf-U37lwk}}
|
||
|
||
== History ==
|
||
[[File:Pre-Beta-1.8-HUD.png|thumb|200px|The HUD (with original [[armor]] bar position) as it appeared before the [[Adventure Update]].]]
|
||
[[File:Classic 0.30 Survival.png|thumb|200px|The arrow count used to be to the right of the player's [[health]], before [[Indev]].]]
|
||
{{HistoryTable
|
||
|{{HistoryLine|java pre-classic}}
|
||
|{{HistoryLine||rd-20090515|Added crosshair.
|
||
|Was thin.
|
||
|Preview of currently selected block can now be seen in the top right corner.}}
|
||
|{{HistoryLine||rd-161348|Made crosshair thicker.
|
||
|Block preview is now flipped.}}
|
||
|{{HistoryLine|java classic}}
|
||
|{{HistoryLine||0.0.2a|Added a version number to the top-left corner.
|
||
|FPS and chunk updates display below the version number.}}
|
||
|{{HistoryLine||0.0.19a|Added hotbar.
|
||
|Removed block preview.}}
|
||
|{{HistoryLine||0.0.23a|FPS and chunk updates no longer display by default.
|
||
|Now toggled via Show FPS button in the options.}}
|
||
|{{HistoryLine||0.24_SURVIVAL_TEST|[[File:SURVIVAL TEST gui hand.png|100px]] Added health bar and a hand, with its front facing toward the camera.
|
||
|Held blocks appear in the hand's place when selected.
|
||
|Added oxygen bar, which appears when underwater.
|
||
|The hand animation was seen while walking when view bobbing is set to on (this has preset by default.)}}
|
||
|{{HistoryLine|java Indev}}
|
||
|{{HistoryLine||0.31|dev=20091231-2033|The player's hand is no longer visible.}}
|
||
|{{HistoryLine|||dev=20100122|Removed arrow counter.}}
|
||
|{{HistoryLine|||dev=20100128|Non-block items are now rendered in 3D when held in hand.}}
|
||
|{{HistoryLine||20100212-1622|The crosshair now turns the opposite color of what it is covering.}}
|
||
|{{HistoryLine||20100214|[[File:Indev 20100223.png|100px]] Changed hand position, with the front facing left.}}
|
||
|{{HistoryLine||20100218|Added armor bar. It appeared next to health bar when any armor is worn.}}
|
||
|{{HistoryLine|java Infdev}}
|
||
|{{HistoryLine||20100611|link=Java Edition Infdev 20100611|[[File:Infdev 20100611.png|100px]] Due to a bug, the hand was not visible. However, that was fixed in 20100617-1531.}}
|
||
|{{HistoryLine||20100617-1531|link=Java Edition Infdev 20100617-1531|[[File:Infdev_20100617-1531.png|100px]] Changed hand position, and the invisible hand glitch has been fixed.}}
|
||
|{{HistoryLine|java alpha}}
|
||
|{{HistoryLine||v1.0.13|The hand no longer animates alongside the player model when the inventory is opened.
|
||
|The hand no longer gets stuck when leaving third-person view while walking.}}
|
||
|{{HistoryLine||v1.0.17|The hand animation is now present when interacting with items like doors.}}
|
||
|{{HistoryLine||v1.2.0|dev=preview|Added function of hiding the HUD from view by pressing {{key|F1}}.}}
|
||
|{{HistoryLine|java beta}}
|
||
|{{HistoryLine||1.6.5|Version number in top-left corner is now displayed only in the [[debug screen]].}}
|
||
|{{HistoryLine||1.8|dev=Pre-release|Version number is displayed even if not in the debug screen.
|
||
|Added hunger bar.|Armor bar is now positioned above the hunger bar.
|
||
|Added experience bar.}}
|
||
|{{HistoryLine||1.8|dev=?|Armor bar is now positioned above the health bar.}}
|
||
|{{HistoryLine|java}}
|
||
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease|Added level number to experience bar.}}
|
||
|{{HistoryLine|||dev=Beta 1.9 Prerelease 4|Version number in top-left corner is displayed only in the debug screen again.}}
|
||
|{{HistoryLine|||dev=Beta 1.9 Prerelease 5|The version number is again always displayed.}}
|
||
|{{HistoryLine|||dev=release|Version number in top-left corner is displayed only in the debug screen again.}}
|
||
|{{HistoryLine||1.4.6|dev=12w50a|When switching items in the hotbar, its name is shown on the HUD.}}
|
||
|{{HistoryLine||1.6.1|dev=13w16a|When the player rides a [[horse]], its health is shown on the HUD. Instead of it, the hunger bar disappears while riding, and the experience bar is replaced with the jump bar.}}
|
||
|{{HistoryLine|||dev=13w21a|Experience levels no longer appear in [[Creative]]. Previously, the experience bar would be hidden, but experience levels would show.}}
|
||
|{{HistoryLine||1.9|dev=15w31a|When an item or block is held in the off hand, a slot appears on the left of the hotbar (on the right for left-handers)
|
||
|When an [[effect]] is active on the player, it appears on the top-right corner of the screen. It blinks when about to run out.
|
||
|The player can now change whether their main hand is the right or left.
|
||
|Crosshairs no longer show in 3rd person view.}}
|
||
|{{HistoryLine||1.9|dev=15w44b|The hand no longer gets stuck when leaving third-person view while riding an entity.}}
|
||
|{{HistoryLine||1.11|dev=16w32a|The hunger bar is now visible when riding a [[minecart]] or a [[boat]].}}
|
||
|{{HistoryLine||1.21.2|dev=1.21.2 Pre-Release 1|[[File:Empty Bubble (icon).png|16px]] Added an empty state for air bubbles along with a wobble when the player is drowning.
|
||
|Added a popping sound when bubbles pop on the oxygen bar.}}
|
||
|
||
|{{HistoryLine|pocket alpha}}
|
||
|{{HistoryLine||v0.2.0|Added health and oxygen bars.}}
|
||
|{{HistoryLine||v0.5.0|HUD bars moved from above the hotbar to the top left of the screen
|
||
|Name of items appear over hotbar when selected.}}
|
||
|{{HistoryLine||v0.6.0|Armor bar added along with armor}}
|
||
|{{HistoryLine||v0.7.0|Added option to edit D-pad size
|
||
|Added option to hide GUI
|
||
|Added Chat Screen button on HUD}}
|
||
|{{HistoryLine||v0.8.0|dev=build 1|The hotbar is now transparent.}}
|
||
|{{HistoryLine||v0.9.0|dev=build 1|Added an interaction button that appears when placing finger/crosshair over certain entities for actions other than placing, mining and hitting.}}
|
||
|{{HistoryLine||v0.11.0|dev= build 6|Positions of items in the hotbar can now be swapped.}}
|
||
|{{HistoryLine||v0.12.1|dev=build 1|Added hunger and experience bars.}}
|
||
|{{HistoryLine|||dev=build 3|The hotbar now has 9 slots instead of 7.}}
|
||
|{{HistoryLine||v0.14.0|dev=?|Changed texture of inventory button.}}
|
||
|{{HistoryLine|pocket}}
|
||
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|The HUD can now be set to display the same way as it does in the Java and Legacy Console Editions, when "Classic UI" is toggled on.}}
|
||
|{{HistoryLine|bedrock}}
|
||
|{{HistoryLine||1.2.0|dev=beta 1.2.0.2|Added a Hide Hand option and replaced Hide GUI with Hide HUD.
|
||
|Added paper doll.}}
|
||
|{{HistoryLine||1.2.1|The crosshair no longer appears in 3rd person view.}}
|
||
|{{HistoryLine||1.16.0|dev=beta 1.16.0.63|Held item [[tooltip]]s now have a dark background.}}
|
||
|{{HistoryLine||1.21.0|dev=Preview 1.21.0.24|[[File:Empty Bubble (icon).png|16px]] Added an empty state for air bubbles along with a wobble when the player is drowning.
|
||
|Added a popping sound when bubbles pop on the oxygen bar.}}
|
||
|
||
|{{HistoryLine|console}}
|
||
|{{HistoryLine||xbox=TU5|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added the hunger bar.}}
|
||
|{{HistoryLine||xbox=TU6|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added option to disable HUD and appearance of player hand in graphics settings.
|
||
|Added animated character.}}
|
||
|{{HistoryLine||xbox=TU7|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added the experience bar.|When switching items in the hotbar, its name is shown on the HUD.}}
|
||
|{{HistoryLine||xbox=TU9|Added HUD size options for both splitscreen and full-screen modes. Individual splitscreen users can have their own settings for HUD.}}
|
||
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|When the player rides a [[horse]], its health is shown on the HUD. Instead of it, the hunger bar disappears while riding, and the experience bar is replaced with the jump bar.}}
|
||
|{{HistoryLine||xbox=TU36|xbone=CU25|ps3=1.28|psvita=1.28|ps4=1.28|wiiu=Patch 7|switch=1.0.1|When switching items in the hotbar, the first 3 lines of the item's lore such as [[enchantment]]s, [[attribute]]s and effects from potions are now shown on the HUD in addition to the item name.}}
|
||
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|switch=1.0.1|Crosshairs no longer show in 3rd person view.}}
|
||
|{{HistoryLine||xbox=TU53|xbone=CU43|ps3=1.49|psvita=1.49|ps4=1.50|wiiu=Patch 23|switch=1.0.3|When an item is held in the off hand, a slot appears on the left of the hotbar (on the right for left-handers).}}
|
||
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|When an [[effect]] is active on the player, it appears on the top-right corner of the screen. It blinks when about to run out.}}
|
||
|
||
}}
|
||
|
||
== Trivia ==
|
||
* The player's hand does not disappear in first person mode after death.<ref>{{bug|MC-88781}} – "Hand visible in death screen after player entity despawns" resolved as "Won't Fix"</ref>
|
||
* The hearts on a mounted mob's health bar resemble [[saddle]]s.
|
||
* The background of each hotbar slot uses a unique texture that resembles [[sand]].
|
||
|
||
== References ==
|
||
{{Reflist}}
|
||
|
||
== Navigation ==
|
||
{{Navbox gameplay}}
|
||
|
||
[[Category:UI]]
|
||
|
||
[[de:Head-up-Display]]
|
||
[[es:Interfaz de usuario]]
|
||
[[fr:Interface utilisateur]]
|
||
[[ja:HUD]]
|
||
[[ko:HUD]]
|
||
[[lzh:昂首]]
|
||
[[nl:Heads-up display]]
|
||
[[pl:HUD]]
|
||
[[pt:Interface de usuário]]
|
||
[[ru:HUD]]
|
||
[[uk:HUD]]
|
||
[[zh:平视显示器]]
|