Class GuiElement

java.lang.Object
org.geysermc.geyser.api.bedrock.camera.GuiElement

public class GuiElement extends Object
Represent GUI elements on the players HUD display. These can be hidden using CameraData.hideElement(GuiElement...), and one can reset their visibility using CameraData.resetElement(GuiElement...).
  • Field Details

    • PAPER_DOLL

      public static final GuiElement PAPER_DOLL
    • ARMOR

      public static final GuiElement ARMOR
    • TOOL_TIPS

      public static final GuiElement TOOL_TIPS
    • TOUCH_CONTROLS

      public static final GuiElement TOUCH_CONTROLS
    • CROSSHAIR

      public static final GuiElement CROSSHAIR
    • HOTBAR

      public static final GuiElement HOTBAR
    • HEALTH

      public static final GuiElement HEALTH
    • PROGRESS_BAR

      public static final GuiElement PROGRESS_BAR
    • FOOD_BAR

      public static final GuiElement FOOD_BAR
    • AIR_BUBBLES_BAR

      public static final GuiElement AIR_BUBBLES_BAR
    • VEHICLE_HEALTH

      public static final GuiElement VEHICLE_HEALTH
    • EFFECTS_BAR

      public static final GuiElement EFFECTS_BAR
    • ITEM_TEXT_POPUP

      public static final GuiElement ITEM_TEXT_POPUP
  • Method Details

    • id

      public int id()
      Internal use only; don't depend on these values being consistent.