componentId | String | — | Component identifier, unique inside the layer |
binding | String | — | Placeholder this component takes its value from; leave empty for static content |
icon | String | — | Material whose picture is drawn before the text, for instance DIAMOND_SWORD |
background | String | — | Panel image painted behind this component instead of a flat colour, for instance slate |
capabilities | List<UiCapabilityOption> | empty | Hard requirements on the rendering channel; a channel that cannot serve one is excludedWerte:INVENTORY_MANIPULATIONDEPTHTEXT_INPUT |
visibility | UiVisibilityConfig | — | Gating applied before the component is composed |
placement | UiPlacementConfig | — | Where the component sits |
palette | UiPaletteOption? | NONE | Tint from the shader palette; NONE is not drawnWerte:NONEFRAMESURFACESURFACE_LIGHTMUTEDBLUEBLUE_LIGHTCYANTEALGREENGREEN_LIGHTYELLOWORANGERED_DARKREDPURPLEWHITEBLACKINKSLATESTEELSTEEL_LIGHTMISTPAPERFORESTMINTGOLDAMBERWINECORALVIOLET |
hoverPalette | UiPaletteOption | NONE | Tint while the cursor rests on it; NONE keeps the idle tintWerte:NONEFRAMESURFACESURFACE_LIGHTMUTEDBLUEBLUE_LIGHTCYANTEALGREENGREEN_LIGHTYELLOWORANGERED_DARKREDPURPLEWHITEBLACKINKSLATESTEELSTEEL_LIGHTMISTPAPERFORESTMINTGOLDAMBERWINECORALVIOLET |
disabledPalette | UiPaletteOption | NONE | Tint while its criteria do not match; NONE keeps the idle tintWerte:NONEFRAMESURFACESURFACE_LIGHTMUTEDBLUEBLUE_LIGHTCYANTEALGREENGREEN_LIGHTYELLOWORANGERED_DARKREDPURPLEWHITEBLACKINKSLATESTEELSTEEL_LIGHTMISTPAPERFORESTMINTGOLDAMBERWINECORALVIOLET |
label | String | — | Shown while the cursor rests on it, beside the screenPlatzhalterFarben |
text | String | — | Drawn across the component in the vanilla fontPlatzhalter |
textPalette | UiPaletteOption | NONE | Tint of that text; NONE draws it whiteWerte:NONEFRAMESURFACESURFACE_LIGHTMUTEDBLUEBLUE_LIGHTCYANTEALGREENGREEN_LIGHTYELLOWORANGERED_DARKREDPURPLEWHITEBLACKINKSLATESTEELSTEEL_LIGHTMISTPAPERFORESTMINTGOLDAMBERWINECORALVIOLET |
textEffect | UiTextEffect | — | —Werte:NONEOUTLINE_FINESHINEGRADIENTGLOWPULSERELIEFBRUSHEDEMBERFROSTWAVERAINBOW |
textAlign | UiTextAlign? | LEFT | How that text sits inside the component |
tooltip | String | — | Shown at the view's tooltip anchor while the cursor rests here; one line per newlinePlatzhalter |
criteria | List<Criteria> | empty | Conditions that must all hold for this component to answer a click |
onLeftClick | List<Ref<TriggerableEntry>> | empty | Triggered on left click |
onRightClick | List<Ref<TriggerableEntry>> | empty | Triggered on right click |
input | UiInputConfig? | — | Asks the player to type a value before the click takes effect |
navigateTo | String? | — | Node this button opens; leave empty for a button that does not navigate |
gauge | UiGaugeConfig? | — | Draws this component as a bar filled from a placeholder, instead of a flat cell |
backgroundBinding | String | — | Placeholder naming WHICH panel image to paint, for instance a level glyph; empty keeps the fixed one |
paletteBinding | String | — | Placeholder naming WHICH tint to draw this component in, for instance a health bar that turns to ice; empty keeps the fixed one |
backgroundSquare | Boolean | false | Keep the panel image square instead of filling the cell, which a wide screen would stretch |
textOffset | Int | 0 | Nudge the text sideways by this many interface pixels, to line up with what a cell cannot |
textHalfRowDown | Boolean | false | Draw the text half a row lower, so two lines sit closer than a whole cell apart |
textOffsetY | Int | 0 | Signed pixel nudge up or down, from where the text is centred; HUD modules only |
stack | String | — | Pile this joins: members share a row and slide apart, one cell per bar that has a value |
lineIcon | String | — | Material whose picture closes the line, drawn at text height; empty for none |
textBackdrop | UiPaletteOption | NONE | Tint laid behind the text, cut to the text's own width; NONE draws no backdropWerte:NONEFRAMESURFACESURFACE_LIGHTMUTEDBLUEBLUE_LIGHTCYANTEALGREENGREEN_LIGHTYELLOWORANGERED_DARKREDPURPLEWHITEBLACKINKSLATESTEELSTEEL_LIGHTMISTPAPERFORESTMINTGOLDAMBERWINECORALVIOLET |
image | String | — | Logical pack image fitted inside this component while preserving its aspect ratio |
imageBinding | String | — | Placeholder naming a logical pack image; empty keeps the fixed image |