Package dev.myriadclient.api.ui.hud


@NullMarked package dev.myriadclient.api.ui.hud
HUD elements: panels that live on the UI's HUD workspace and are drawn in game, sized to their content. HudPanel is the base, TextHudPanel does lines of text with the standard HudStyle colours, and ItemHud draws item durability the way the stock elements do.
  • Class
    Description
    A base for HUD elements: a title and icon, a settings group named after the element with a HudPanel.scale option, and helpers for the things every HUD element deals with.
    The colour options every text HUD element shares, as a "Colors" settings group: how values are coloured, a separate colour for labels, the text shadow, and rainbow tuning.
    How a HUD element colours its values.
    Durability bars, percentages and colours for HUD elements that show items, so they all look alike.
    How an element shows an item's durability: an option for players.
    A HUD element made of lines of "label value" text.
    Lines of alternating label and value parts.