Heads-up display



The heads-up display or HUD appears on screen while the Player is in the game. It is superimposed on his or her 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. The armor condition bar appears above the health bar if the player is wearing armor, and the oxygen bar will display above the hunger bar if the player is underwater.

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

Hotbar
The hotbar is a selection bar which appears on the bottom of the screen. It is where you store and select commonly used items. It consists of the bottom nine slots within the player's inventory, or the bottom five in the Pocket Edition. The selected item will also display 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.

In 1.9, 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 only shown if it contains an item, which can either be added using the GUI or by pressing "".

Crosshair
The crosshair is a small cross in the middle of the screen. It shows the exact point where you will use the tool or item in your hand. 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.

Status effects
In 1.9, all status effects the player currently has are shown on the top-right of the screen. Status effects that will run out sooner show 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 negative are shown on the bottom.

Riding mobs


Upon mounting a horse or pig in Survival or Adventure mode, the hunger bar is replaced by the mob's health, which uses a slightly different heart texture than the player's health bar. Also, upon mounting a horse, the experience bar is replaced by the horse jump bar.

Options
In the Options menu, GUI scale changes the size of the HUD and GUI between "large", "normal" and "small". There is also the default, "auto", which will change the size of the HUD and GUI depending on the size of the game window.

Players can toggle the HUD, the vignette effect on fancy graphics, and the dark lining around the block you are aiming at on the computer edition by pressing the key.

The HUD also contains the debug screen, which can be shown or hidden using. Pressing will add the additional pie chart showing resource allocation. Pressing will show the FPS chart.

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

History


Head-up-Display Interface utilisateur HUD 平视显示器