Skip to main content

Other renderers

gradient_renderer​

It draws a two-color gradient from the control properties color1, color2 and gradient_direction, not from property_bag.

  • [ANI-39] The colors of gradient_renderer cannot be changed by binding. Putting [1, 0, 0, 1] from a property_bag into #color1 with a view binding, or into #color, still drew the gradient with the static color1 (white). The same binding on the #color of a white image turned it red. The default gradient runs from top (color1) to bottom (color2). To change colors, prepare one gradient per color and choose with #visible, or bind #color on an image with a white-to-transparent texture. {measured} (Source: CPR)

progress_bar_renderer​

The keys of progress_bar_renderer were measured with a HUD probe pack (UKP).

  • [ANI-43] progress_bar_renderer also draws from static values in property_bag without bindings. A bar with #progress_bar_total_amount, #progress_bar_current_amount and the visibility keys #progress_bar_visible and #touch_progress_bar_visible (both true) was drawn, and without the visibility keys it was not drawn (touch input device). The default look is a green fill on a gray background. With is_durability: true the background turned black and the fill color followed the ratio (orange at 37%, green at 90%). For is_storage_bar, used by the vanilla bundle bar, and drop_shadow and round_value, used by the durability bar, no difference could be judged on a 4px high bar. {measured, vanilla} (Source: UKP, VN ui_common.json durability_bar)

profile_image_renderer and URL images from item trim text​

These were measured on Windows with a test pack (UII) that puts an address text into an item's armor trim material and draws the image at that address in each slot (2026-11-16; the game version was not recorded). The slot control is put into the controls of common.item_renderer with modifications, so inventory, chest and HUD hotbar slots all receive it.

  • [ANI-44] An item whose trim material (Trim.Material) holds any text (for example URL:https://.../x.png) kept that text when loaded from a .mcstructure chest with /structure load. A sword, which is not armor, was the same. In chest, inventory and hotbar slots (the HUD hotbar included), the collection binding #armor_trim_material returned that raw text. For an item picked up in the chest screen, the global #inventory_selected_armor_trim_material returned the same text, but the HUD has no such global value, so a view expression using it produced not even empty text. Armor with an unregistered material drew no vanilla icon, while the sword was drawn. {measured} (Source: UII)
  • [ANI-45] Giving the text {"type":7,"url":"<address>"} to #profile_image_options of a custom control with renderer: "profile_image_renderer" drew the image at that address (GitHub raw PNG, Wikimedia JPEG and PNG). PNG transparency was kept. A GIF did not animate and was drawn as a still image. An address with no response drew nothing. Feeding the part after the marker (URL:) of the ANI-44 slot value into this text draws a different image per item over the slot icon without putting the images in the pack. {measured} (Source: UII)

Cursor and hover​

  • [ANI-07] In 1.26.50 the vanilla HUD cursor (cursor_renderer) lost its instance at the HUD root and is referenced from hud_crosshair_overlay.json (the definition remains at hud_screen.json:608). HUD modifications that used this as a reference point break. {vanilla} (Source: VN hud_crosshair_overlay.json:4, MJ 4.1)

Drawing tooltips with hover_text_renderer is covered by TXT-22 (a hover box clipped by a scroll view) in Text and localization and INP-28 (proposal, a tooltip that follows the cursor) in Input, buttons, toggles.

vignette_renderer​

Vanilla uses it once on the credits screen with opacity_override 0.0 in property_bag. It has not been measured yet. Its status is in the table of Deep research on little-known elements.

Sources
idSourceLicenseCommitAccessed
repo-guideJSON UI comprehensive guide (this repository) (guide/)This project's material2026-11-13
bedrock-samplesMojang bedrock-samplesMinecraft EULA applies, (c) Mojang AB. All rights reserved15701fa9 (guide baseline 46ba6ea)2026-11-13
private-researchPrivate research (-)-2026-11-13