# HudElement > An individual piece of the vanilla HUD that can be hidden on its own. `gg.lode.lecternapi.api.hud.HudElement` --- ## Signature ```java public enum HudElement ``` --- ## Notes For taking the whole interface away at once, hide the HUD instead, this is for stripping out only what breaks a scene (hearts and hunger for something that shouldn't feel like a survival game) while leaving chat and the rest in place. --- ## Values | Value | Description | |---|---| | `HUNGER` | The food bar. | | `HOTBAR` | The hotbar and its item slots. | | `HEARTS` | The health bar. | | `ARMOR` | The armour bar. | | `OXYGEN` | The air bubbles shown underwater. | | `EXPERIENCE` | The experience bar and the level number above it. | | `CROSSHAIR` | The crosshair, the re-centred one drawn for the shoulder camera included. | --- ## Methods ### getId ```java public String getId() ``` Wire identifier sent to the client. --- ### byId ```java public static HudElement byId(String id) ``` Resolves an element by its wire id, or null if unknown. | Parameter | Type | |---|---| | `id` | `String` | ---