Skip to main content

Design docs and example add-ons

A design doc is a record of building one screen or technique and confirming JSON UI rules in game along the way. Each doc gives the goal, the setup, the measured results and the open items, and most attach an example add-on you can import and turn on right away. Evidence levels follow the legend of the full rule ID table.

Docs​

DocCovers
JSON UI optimizationWhat makes screens slow and how to reduce it. Sub pages: Grid button list, Filling the first frame without always, Binding expression caching
Building a research screen with tabs and selection in one server formTabs, an item list and details drawn with one action form
Drawing item icons and counts dynamically on the HUDThe item icon and count of the block you look at, drawn on the HUD
Playing with InvUIUsing an entity inventory screen as a menu. Sub pages: Intercepting user input, Chest slot buttons with the hotbar swap, Comparing chest slot press methods, Imitating DDUI with InvUI
Deep research on little-known elementsChecks whether JSON UI elements vanilla rarely uses can actually be used
Measuring unverified JSON UI claimsClaims left unverified, inferred or in conflict, measured with one add-on
Content and rendering claim measurementsRecords on entities, render controllers, particles, sounds, materials, biomes, attachables, blocks and language files, measured with the same add-on
Showing part of the world in 3D with the structure renderer3d_structure_renderer placed in a server form
[Failed] Inferring numeric item IDs (aux) from the Script APIAn attempt to find the layout rules of numeric item IDs

Example add-ons​

Each add-on is downloaded from the download box inside its doc. Test items are in the creative inventory, and the server form examples can run together in one world, as can the entity inventory examples (see each doc). For what works and which version was measured, see the measurement records in each doc.

Add-onShowsDoc
json-ui-performanceA server form button list drawn by a screen router with a 2-column gridGrid button list
collection-view-orderA list with always compared with one withoutFilling the first frame without always
hud-expression-costThe cost of one shared HUD cell expression compared with fixed expressions per cellBinding expression caching
server-form-research-screen, server-form-research-screen-textureTabs and item selection in one server form (numeric item ID version, texture path version)Research screen
entity-menu-lab, entity-research-screen, entity-2048, entity-matchmaking, entity-matchmaking-figuresA menu, a research screen, 2048 and matchmaking built from entity inventory screensBuilding menu screens from an entity inventory
touch-probes, json-ui-claimsWindows that measure which key and touch input reaches a screenIntercepting user input
hotbar-swap-buttonsChest slot buttons that work with a full inventory, nine buttons on one slotChest slot buttons with the hotbar swap
menu-press-probes23 slots with hotbar swap variants, quick move, cursor take and drop, pressed in one screen for comparisonComparing chest slot press methods
inventory-ui-sliderSliders in an entity chest screenSliders
inventory-ui-basic-components25 basic components in an entity chest screenBasic components
inventory-ui-enhanced-components17 enhanced components in an entity chest screenEnhanced components
json-ui-claimsWindows that measure unverified JSON UI claimsMeasuring unverified JSON UI claims, Content and rendering claim measurements, Structure renderer
item-icon-slots, item-aux-probe, item-aux-probe-extraItem icons drawn from real inventory slots and ranges of numeric item IDsNumeric item IDs
Sources
idSourceLicenseCommitAccessed
repo-guideJSON UI comprehensive guide (this repository) (guide/)This project's material2026-11-13