MinecraftUiProfileBuilder

Callback-lifetime builder for one complete Minecraft UI profile.

The builder is confined to its creator thread and rejects use after the profile callback returns. Menu, container, Slot, Scroll, TextField, and Button declarations retain immutable image references, while glyph declarations synchronously copy a binary mask into nine derived immutable layers and retain no mask reference. Every method rejects duplicate slots.

Functions

Link copied to clipboard
abstract fun buttonDisabled(image: DrawImage, border: Int, centerMode: NineSliceCenterMode)

Supplies the disabled 200 by 20 Button sprite.

Link copied to clipboard
abstract fun buttonHighlighted(image: DrawImage, border: Int, centerMode: NineSliceCenterMode)

Supplies the highlighted 200 by 20 Button sprite.

Link copied to clipboard
abstract fun buttonNormal(image: DrawImage, border: Int, centerMode: NineSliceCenterMode)

Supplies the normal 200 by 20 Button sprite.

Link copied to clipboard
abstract fun checkbox(image: DrawImage)

Supplies the exact 20 by 20 unselected Checkbox sprite.

Link copied to clipboard
abstract fun checkboxHighlighted(image: DrawImage)

Supplies the exact 20 by 20 hovered unselected Checkbox sprite.

Link copied to clipboard
abstract fun checkboxSelected(image: DrawImage)

Supplies the exact 20 by 20 selected Checkbox sprite.

Link copied to clipboard

Supplies the exact 20 by 20 hovered selected Checkbox sprite.

Link copied to clipboard
abstract fun containerBackground(image: DrawImage)

Supplies the exact 256 by 256 generic-container texture used by the active vanilla chest screens.

Link copied to clipboard
abstract fun fonts(snapshot: MinecraftFontSnapshot)

Supplies immutable resource-pack font definitions and files instead of the compatibility ASCII mask declarations. The snapshot can be shared between profiles and hosts and owns no native state. A host using this profile must supply its independently owned font backend through the font-aware host factory.

Link copied to clipboard
abstract fun horizontalProgressBar(background: DrawImage, fill: DrawImage)

Supplies one fixed-source horizontal progress-bar background and fill pair.

Link copied to clipboard
abstract fun legacyTooltip(backgroundColor: ArgbColor, borderTop: ArgbColor, borderBottom: ArgbColor)

Supplies the code-defined tooltip colors used by Minecraft releases before tooltip sprites existed.

Link copied to clipboard
abstract fun listBackground(image: DrawImage)

Supplies the exact 16 by 16 menu-list background texture.

Link copied to clipboard
abstract fun listFooterSeparator(image: DrawImage)

Supplies the exact 32 by 2 menu-list footer separator texture.

Link copied to clipboard
abstract fun listHeaderSeparator(image: DrawImage)

Supplies the exact 32 by 2 menu-list header separator texture.

Link copied to clipboard
abstract fun loadingIndicator(image: DrawImage)

Supplies the exact 5 by 6 three-frame friends loading sprite sheet.

Link copied to clipboard
abstract fun menuBackground(image: DrawImage)

Supplies the profile's exact 16 by 16 Minecraft menu texture.

Link copied to clipboard
abstract fun printableAsciiGlyph(codePoint: Int, mask: DrawImage)

Supplies one exact 8 by 8 transparent-white or opaque-white printable-ASCII glyph mask.

Link copied to clipboard
abstract fun progressBarBorder(image: DrawImage)

Supplies the exact 12 by 12 bundle progress-bar border sprite.

Link copied to clipboard
abstract fun progressBarFill(image: DrawImage)

Supplies the exact 6 by 6 bundle progress-bar fill sprite.

Link copied to clipboard
abstract fun progressBarFull(image: DrawImage)

Supplies the exact 6 by 6 completed bundle progress-bar fill sprite.

Link copied to clipboard
abstract fun scrollbarBackground(image: DrawImage)

Supplies the exact 6 by 32 tiled nine-slice scrollbar-track sprite.

Link copied to clipboard
abstract fun scrollbarThumb(image: DrawImage)

Supplies the exact 6 by 32 tiled nine-slice scrollbar-thumb sprite.

Link copied to clipboard
abstract fun slider(image: DrawImage)

Supplies the exact 200 by 20 normal Slider track sprite with a one-pixel tiled horizontal border.

abstract fun slider(image: DrawImage, border: Int, centerMode: NineSliceCenterMode)

Supplies the exact 200 by 20 normal Slider track sprite and its horizontal sampling policy.

Link copied to clipboard
abstract fun sliderHandle(image: DrawImage)

Supplies the exact 8 by 20 normal Slider handle sprite.

Link copied to clipboard
abstract fun sliderHandleHighlighted(image: DrawImage)

Supplies the exact 8 by 20 highlighted Slider handle sprite.

Link copied to clipboard
abstract fun sliderHighlighted(image: DrawImage)

Supplies the exact 200 by 20 highlighted Slider track sprite with a one-pixel tiled horizontal border.

abstract fun sliderHighlighted(image: DrawImage, border: Int, centerMode: NineSliceCenterMode)

Supplies the exact 200 by 20 highlighted Slider track sprite and its horizontal sampling policy.

Link copied to clipboard
abstract fun slotHighlightBack(image: DrawImage)

Supplies the exact 24 by 24 back layer painted behind a highlighted container Slot.

Link copied to clipboard
abstract fun slotHighlightFront(image: DrawImage)

Supplies the exact 24 by 24 front layer painted over a highlighted container Slot.

Link copied to clipboard
abstract fun textFieldHighlighted(image: DrawImage)

Supplies the exact 200 by 20 focused TextField sprite.

Link copied to clipboard
abstract fun textFieldNormal(image: DrawImage)

Supplies the exact 200 by 20 unfocused TextField sprite.

Link copied to clipboard
abstract fun tooltipBackground(image: DrawImage)

Supplies the exact 100 by 100 tooltip background sprite.

Link copied to clipboard
abstract fun tooltipFrame(image: DrawImage)

Supplies the exact 100 by 100 tooltip frame sprite.