Heads-up display



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
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 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/top left corner, showing anything recently spoken or commands recently executed. This can be expanded with.

The textures are handled by icons.png.

Hotbar
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, or an empty fist if the slot is empty. When the player switches an item in hand by mouse wheel or, 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 "." $$, it shows the off-hand slot with the items equipped on the left of the hotbar. $$, this is not the case although the item is still equipped in the off-hand slot.

$$, 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
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 on PC.

HUD in Bedrock


These buttons are present only in mobile versions(Android and iOS) and they serve to direct the player, players can sneaking and fly/jump, in the options and by going to "Touch", you can change the sneak and fly options.

The ui code for these buttons can't be modified.

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.

Note: The crosshair when using RenderDragon becomes fully white

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.

Status effects
All status effects the player currently has are shown on the top-right of the screen. Status effects that run out sooner appear farther to the left, and status effects that are about to run out start to flash. Additionally, positive status 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 status effects with particles hidden are not indicated in the HUD.

Riding mobs


Upon mounting a horse, 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. Also, upon mounting a horse or llama, the horse/llama jump 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, GUI scale changes the size of the HUD and GUI between "large" (3), "normal" (2) and "small" (1). The default, "auto", changes the size of the HUD and GUI depending on the size of the game window.

There is an option to hide the HUD. If the player is using keyboard controls, this can also be done with. $$, the "Hide HUD" option toggles the hotbar, crosshair, and if using touch controls, buttons. The hand, paper doll, and coordinates are separate options.

Players can toggle the HUD, the vignette effect on fancy graphics, the pumpkin "view" and the block hitbox by pressing the key.

The HUD also contains the debug screen, which can be shown or hidden using. Pressing adds the additional pie chart showing resource allocation. Pressing shows the FPS and TPS chart.

The player can choose whether to use their right or left hand. This setting also moves the off-hand slot to the opposite side.

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.

Trivia

 * The player's hand does not disappear in first person mode after death.
 * $$, the hotbar is not perfectly aligned to the center of the screen.