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
| Doc | Covers |
|---|---|
| JSON UI optimization | What 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 form | Tabs, an item list and details drawn with one action form |
| Drawing item icons and counts dynamically on the HUD | The item icon and count of the block you look at, drawn on the HUD |
| Playing with InvUI | Using 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 elements | Checks whether JSON UI elements vanilla rarely uses can actually be used |
| Measuring unverified JSON UI claims | Claims left unverified, inferred or in conflict, measured with one add-on |
| Content and rendering claim measurements | Records 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 renderer | 3d_structure_renderer placed in a server form |
| [Failed] Inferring numeric item IDs (aux) from the Script API | An 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-on | Shows | Doc |
|---|---|---|
json-ui-performance | A server form button list drawn by a screen router with a 2-column grid | Grid button list |
collection-view-order | A list with always compared with one without | Filling the first frame without always |
hud-expression-cost | The cost of one shared HUD cell expression compared with fixed expressions per cell | Binding expression caching |
server-form-research-screen, server-form-research-screen-texture | Tabs 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-figures | A menu, a research screen, 2048 and matchmaking built from entity inventory screens | Building menu screens from an entity inventory |
touch-probes, json-ui-claims | Windows that measure which key and touch input reaches a screen | Intercepting user input |
hotbar-swap-buttons | Chest slot buttons that work with a full inventory, nine buttons on one slot | Chest slot buttons with the hotbar swap |
menu-press-probes | 23 slots with hotbar swap variants, quick move, cursor take and drop, pressed in one screen for comparison | Comparing chest slot press methods |
inventory-ui-slider | Sliders in an entity chest screen | Sliders |
inventory-ui-basic-components | 25 basic components in an entity chest screen | Basic components |
inventory-ui-enhanced-components | 17 enhanced components in an entity chest screen | Enhanced components |
json-ui-claims | Windows that measure unverified JSON UI claims | Measuring unverified JSON UI claims, Content and rendering claim measurements, Structure renderer |
item-icon-slots, item-aux-probe, item-aux-probe-extra | Item icons drawn from real inventory slots and ranges of numeric item IDs | Numeric item IDs |
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
repo-guide | JSON UI comprehensive guide (this repository) (guide/) | This project's material | 2026-11-13 |