8Crafter Ore UI Customizer analysis
This tool is not a resource pack. It backs up data/gui/dist/hbui/ (the HTML, JS and CSS bundle of Ore UI) in the Minecraft install folder and then edits it directly with strings and regular expressions and writes it back {verified}. The code was cloned and read on 2026-10-21 (HEAD 69f6ebb, 2026-09-21, app 1.0.0-beta.33, built-in Customizer API 1.17.0+BUILD.18), and the type definitions were checked with npm ore-ui-customizer-types@1.5.0. The app was not run or installed into the game. Notation: {verified} confirmed directly in the code, {inferred}, {unverified}. (Source: repo-ore-ui-customizer)
1. Basic information {verified}
| Item | Value |
|---|---|
| Repository | 8Crafter-Studios/Ore-UI-Customizer-App (the desktop app of the web version 8crafter.com/utilities/ore-ui-customizer) |
| Form | Electron + Vite + React (TSX). Windows, Linux, macOS |
| Size | 660 files, 281 MB. The core logic is in src/utils/ore-ui-customizer-api.ts (150 KB), ore-ui-customizer-assets.ts (173 KB) and InstallationManager.ts (131 KB) |
| Target installs | Official GDK (C:\XboxGames\Minecraft for Windows, including Preview), old UWP, Bedrock Launcher, LeviLauncher, Linux/macOS MCPELauncher (Android APK based) |
| License | MIT (Copyright (c) 2025-2026 8Crafter Studios). Exceptions are in chapter 6 |
2. Installation pipeline {verified}
Scan version folders (default path list in config.ts)
data/gui (GDK, UWP, LeviLauncher) or assets/assets/gui, assets/gui (APK-based launchers)
1. Copy the original gui folder to the app data folder backups/foldername_version.channel.dev/data/gui_vanilla_backup
2. Zip the backup and load it into memory
3. applyMods(zip, settings): all the modifications in chapters 3~4 below
4. Unpack the resulting zip back into data/gui
+ marker files: hbui/oreUICustomizer8CrafterConfig.js, OUIC_INSTALLATION_TARGETED_MC_VERSION,
INSTALLING_/UNINSTALLING_ORE_UI_CUSTOMIZER (in-progress marker), failed_plugins.json
- State decision (
InstallationManager.ts:133~360): if marker files exist butOUIC_INSTALLATION_TARGETED_MC_VERSIONdiffers from the current game version, it is "Corrupted (By Minecraft Update)". GDK auto-updates have actually reverted hbui to vanilla or changed only part of it, and the app detects this and offers a "repair" button. - If some modifications fail, it shows "Partially Failed Installation" and applies everything except the failed items. This happens when a regular expression does not match the minified code of a new version.
- From a resource pack point of view: it must be installed on each user's PC, it cannot be distributed through a server, marketplace or world pack, and it must be reinstalled after every game update
{inferred}.
3. Ore UI file structure {verified}
Path (relative to gui/dist/) | What it is |
|---|---|
hbui/index.html, hbui/gameplay.html, hbui/editor*.html | Entry HTML. Menu, in-game screens, editor |
hbui/index-<5~20 digit hex>.js | The whole menu screen bundle (minified). The target of most patches |
hbui/gameplay-<hex>.js, hbui/editor(-menu, -project)-<hex>.js | In-game and editor bundles |
hbui/menus-theme(-hash).css | Menu color variables (--colorsPrimary etc. in the .menus block) |
hbui/gameplay-theme(-hash).css | In-game screen theme (the app does not support it yet, TODO) |
hbui/routes.json | Route table. fileName, scope (in-game, out-of-game), defaultRoute, supportedRoutes[] (route, regexp, params, transition) |
hbui/assets/* | Bundle images. The @ in file names is stored as %40 inside the zip and the app reverts it |
hbui-tests/, hbui-docs/, hbui-perf/ | Development bundles are handled by the same rules |
The shape of adding one route to routes.json (the value injected by the built-in plugin lite-play-screen-routes):
{
"route": "/ouic/:menu/:tab?",
"modes": [],
"regexp": "^\\/ouic\\/([^\\/]+?)(?:\\/([^\\/]+?))?(?:\\/)?$",
"params": [
{ "name": "menu", "prefix": "/", "delimiter": "/", "optional": false, "repeat": false, "pattern": "[^\\/]+?" },
{ "name": "tab", "prefix": "/", "delimiter": "/", "optional": true, "repeat": false, "pattern": "[^\\/]+?" }
],
"transition": "RouteSlideTransition"
}
Runtime: it runs on Coherent Gameface (the types include CoherentArrayProxy). The communication methods (facet, query, router events) are in the overview. In the query responses the app simulates for testing, item images take the form "pack://textures/items/stick.png". The real in-game bundle draws item icons through the engine protocol geo-item:// (Icons and containers).
4. Customization techniques {verified}
applyMods() (ore-ui-customizer-api.ts:530~2420) walks the files in the zip and does the following in order.
4.1 Color replacement
- Simple substitution
colorReplacements:{ "#3c8527": "#2763a5" }. One regular expression that joins all keys with|replaces places where the string is exactly equal across all.js/.css/.htmlin hbui. The 79 default palette keys (green family#a0e081~#0f2b0a, gray#f4f6f9~#1e1e1f, red, orange, yellow, blue, pink, purple,rgba(0, 0, 0, 0.1~1),rgba(255, 255, 255, 0.1~0.9), etc.) are in effect the Ore UI default palette table. - CSS variable replacement
advancedColorReplacements.menusTheme: changes the values of--colorsPrimary,--colorsSecondary,--colorsDestructive,--colorsText,--colorsMuted0/1,--colorsDisabled,--baseTextField*,--inputLegend*,--buttonIconKeyboardTextColorand so on inside the.menus,.menus.realmsand.menus.neutral90blocks ofmenus-theme*.css. It works by finding a value exactly equal to the default and replacing it, so it fails silently if Mojang changes the default. advancedColorReplacements.custom: appends:root selector{property:value;}to the end ofmenus-theme*.css(for example the.vanilla-neutral-texttext color).menus-theme*.cssaccepts only advanced and the function returns immediately, so simple substitution does not apply.
4.2 Minified JS patches (adding features)
- Function and variable names change with every build, so
getExtractedSymbolNames()first extracts the current build's short names (translationStringResolver,facetHolder,contextHolder, etc.) from the minified code using stable strings (translation keys,data-testid, export names such asuseFacetMap) as anchors. - Using a regular expression with those names inserted, it finds a whole component function and swaps in a hand-written replacement function. Examples: hardcore toggle
disabled: false, allowing the experimental toggle to be turned off, adding Default and Spectator to the game mode dropdown, a generator type (Legacy, Infinite, Flat, Void) dropdown, seed change, a debug tab, and a bulk change of text boxmaxLength. - Each patch tries several regular expression candidates in turn, and if none match in the target file (
index-*.js) it leaves the name infailedReplaces. - Lesson: JSON UI packs also break less on version changes if they follow the same principles (rely only on stable names, localize failures).
4.3 Script and style injection
- Into every hbui HTML it inserts its own 5 scripts (
oreUICustomizer8CrafterConfig.js,class_path.js,css.js,JSONB.js,customOverlays.js) before the vanillascript defer src="/hbui/(index, gameplay, editor)-*.js", and insertscustomOverlays.cssafter thegameplay-theme*.csslink. If it cannot find them, it inserts before</head>. customOverlays.js(670 KB) shows in the game anEngineInterceptorthat interceptsengine.on/trigger, forced facet loading (forceLoadFacet), router V1/V2 polyfills, a console, a CSS editor and a debug overlay.
4.4 Themes (.mcouictheme zip)
| Path in the theme | Handling |
|---|---|
manifest.json (json5) | format_version: 1, header{name, uuid(v4), version(semver), format_version, min_engine_version?}, metadata{product_type: "theme", authors?, license?, url?}, dependencies? |
color_replacements.json (json5) | format_version: 1, colorReplacements, advancedColorReplacements. Deep-merged with user settings |
styles/**/*.css | Copied to gui/dist/hbui/ouic-theme-custom-styles/uuid_version/... and a link is injected before </head> of every HTML in hbui |
textures/** | Copied to gui/dist/... with the relative path as is (overwrites if the name is the same). Images .gif .svg .tga .png .jpg .jpeg, video .webm, fonts .otf .ttf |
A minimal theme example:
{
"format_version": 1,
"header": {
"name": "Minimal Example Theme",
"uuid": "4f6c2a1e-8b3d-4c7a-9e21-5d0b7f3a6c11",
"version": "1.0.0",
"format_version": "1.0.0",
"min_engine_version": "1.17.0"
},
"metadata": { "authors": ["example"], "product_type": "theme", "license": "MIT" }
}
{
"format_version": 1,
"colorReplacements": { "#3c8527": "#2763a5", "#313233": "#1f2433" },
"advancedColorReplacements": {
"menusTheme": {
".menus": { "colorsPrimary": "#2763a5" },
".menus.realms": { "colorsPrimary": "#7345e5" }
},
"custom": {
".vanilla-neutral-text,.vanilla-neutral-text-interactive": { "color": "#e8f0ff" }
}
}
}
/* styles/example.css: injected as a link at the end of the head of every html in hbui. Use only CSS that Gameface supports. */
:root .menus { --colorsPrimary: #2763a5; }
textures/hbui/assets/foo.png is copied to gui/dist/hbui/assets/foo.png and overwrites the vanilla asset with the same name. Vanilla asset file names can carry a hash that differs by version, so check the target version's gui/dist/hbui/assets first.
4.5 Plugins (.ouicplugin zip)
manifest.json+ a JS module. The module exports apluginobject and chooses acontextfor each ofactions[].global_before(zipFs): once before walking the filesper_text_file(text, entry, zipFs)returns the text: for each of.txt .md .js .jsx .html .css .json .jsonc .jsonl(but.js/.css/.htmldirectly underhbui/are handled separately by the built-in patch path)per_binary_file(blob, entry, zipFs)returns a blobglobal(zipFs): once at the end
- 5 built-in plugins: showing exact ping and max players on the server tab,
facet-spy, showing the world export button on non-Windows, and adding the Lite Play Screen route (/ouic/:menu/:tab?). - There is an example plugin by the original author,
replace-play-with-lol(MIT).
4.6 Preview and debugging
OreUIPreviewManager.tsserves the installedgui/distlocally with Express (ports 8927~9000) and simulates facets with xKingDark/OreUI-Viewer to run Ore UI in a window without the game. A/rp/pathrequest is looked up indata/resource_packs/*(folders whose names start withvanillago last, andvanillaat the very end), and if there is no extension it tries appending.tga .svg .gif .png .jpg ...in that order. It appears to imitate the game'spack://resolution{inferred}.- It passes
data/resource_packswith--texts-pathto use translation strings. Ore UI strings also appear to come from the resource pack'stexts/*.lang, but whether a user resource pack's.langoverrides Ore UI strings has not been confirmed{unverified}.
5. What it means for resource pack authors
| What you want to change | With a resource pack | Evidence level |
|---|---|---|
| Layout, color and behavior of Ore UI screens | Not possible with a plaintext pack (the reason this tool edits game files directly). Up to 26.63 it was possible with an encrypted pack (Loading paths). Not possible from 26.64 | confirmed + this repository's measurement |
| Item and block icons shown in Ore UI | The in-game bundle draws icons through the engine protocol geo-item://, and the engine renders the item itself. pack://textures/... is a different kind of URL, a plain texture path, and it reads textures from plaintext server packs too. Whether a texture replacement pack shows up in geo-item:// icons was not tested | this repository's measurement (geo-item://, pack://), not verified (replacement pack) |
Ore UI bundle images (hbui/assets/*) | Not possible with a plaintext pack. It is the relative path /hbui/assets/, not a pack path | confirmed |
| Ore UI strings | May work by overriding .lang | unverified |
| Screens where JSON UI and Ore UI coexist | Pack modifications show only when the JSON UI side is chosen | inferred (vanilla.screenTechStack) |
- The tool's judgment that "there is no route to replace Ore UI files with a pack" is correct for plaintext packs. Up to 26.63 there was an encrypted pack route, and in 26.64 Mojang blocked resource pack access to Ore UI for a security reason, so the judgment now holds for every pack (Source: private research).
- Checking whether a screen has moved: which screens went to Ore UI is more certain if you look at whether files remain in vanilla
resource_pack/ui/*.json, together withsupportedRoutesin the install folder'sgui/dist/hbui/routes.jsonand the facet use ingameplay-*.js. The 13vanilla.gameplay.*facets (furnace, container, death and respawn, bed, coordinate HUD, etc.) signal that some in-game screens already have an Ore UI code path{inferred}. - Version fragility is much greater for Ore UI patches than for JSON UI: a JSON UI pack breaks when an element name changes, but an Ore UI patch fails its regular expression if the shape of the minified code changes even slightly. The app treating "partial failure" as a normal state is the evidence.
- When a user asks "please change Ore UI with a resource pack too": it is not possible with a resource pack. The option is to have each person install a client-side tool (like this app). Having the server send an encrypted pack worked only up to 26.63.
6. Defects of this version and the license
Defects {verified}
getAssetsDataForThemes()looks for all three kinds, textures, videos and fonts, only in thetextures/folder. Videos and fonts also have to be placed undertextures/to apply.validateThemeColorReplacementsObject()raises a "must not be null" error whencolorReplacements/advancedColorReplacementsexist (the condition is inverted). But nothing callsvalidateThemeFile(), so real imports are not affected.- The
entryof the example plugin manifest (scripts/index.js) differs from the actual file name (scripts/replacePlayWithLol.plugin.js). - The
menusThemereplacement finds only values exactly equal to the default, so if the game changes the default colors it silently does nothing.
License {verified}
- The repository
LICENSEandpackage.jsonare MIT (Copyright (c) 2025-2026 8Crafter Studios). The type packageore-ui-customizer-typesis also MIT. It can be reused with attribution. - Bundled items that are not MIT:
resources/assets/oreui/fonts/consola*.ttf(Microsoft Consolas, no redistribution), the Minecraft and Mojangles family fonts inresources/fonts/(Mojang assets),resources/assets/oreui/class_path.ts(based on Apple and Google WebKit, BSD-style notices must be kept),resources/ore-ui-viewer/(an empty folder. The OreUI-Viewer license was not checked). - How editing the game install files interacts with the Minecraft EULA is outside the scope of this analysis.
7. The list of 162 facet names
These are the names of the data channels the game subscribes to with engine.trigger("facet:request", name). They were taken from the built-in plugin facet-spy. They can grow or shrink by version, and // Found in dev build file. is the original author's comment that the name was seen only in a development build.
Excerpt: src/utils/ore-ui-customizer-assets.ts built-in plugin facet-spy (name list) · src/utils/ore-ui-customizer-assets.ts · 8Crafter-Studios/Ore-UI-Customizer-App · License MIT (Copyright (c) 2025-2026 8Crafter Studios). Font and WebKit-derived files are excepted · Commit 69f6ebbcore.animationcore.customScalingcore.deviceInformationcore.featureFlagscore.inputcore.localecore.performanceFacetcore.routercore.safeZonecore.screenReadercore.splitScreencore.socialcore.soundcore.usercore.vrMode // Found in dev build file.vanilla.achievementsvanilla.achievementsRewardvanilla.buildSettingsvanilla.clipboardvanilla.createNewWorldvanilla.createPreviewRealmFacetvanilla.debugSettingsvanilla.editorvanilla.editorInputvanilla.editorScriptingvanilla.editorSelectionFacetvanilla.editorSettingsvanilla.externalServerWorldListvanilla.followersListvanilla.friendsListFacetvanilla.friendsManagerFacetvanilla.gameplay.activeLevelHardcoreModevanilla.gameplay.bedtimevanilla.gameplay.closeContainerCommandvanilla.gameplay.containerBlockActorTypevanilla.gameplay.containerItemQueryvanilla.gameplay.containerSizeQueryvanilla.gameplay.furnacevanilla.gameplay.immediateRespawnvanilla.gameplay.leaveGamevanilla.gameplay.playerDeathInfovanilla.gameplay.playerPositionHudElementvanilla.gameplay.playerRespawnvanilla.gamertagSearchvanilla.inboxvanilla.lanWorldListvanilla.localWorldListvanilla.marketplaceSuggestionsvanilla.marketplacePassWorldTemplateListvanilla.networkWorldDetailsvanilla.networkWorldJoinervanilla.notificationOptionsvanilla.notificationsvanilla.optionsvanilla.party // Found in dev build file.vanilla.playerAchievementsvanilla.playerBannedvanilla.playerFollowingListvanilla.playerLinkedPlatformProfile // Found in dev build file.vanilla.playermessagingservicevanilla.playerPermissionsvanilla.playerProfilevanilla.playerReportvanilla.playerSocialManagervanilla.playerStatisticsvanilla.privacyAndOnlineSafetyFacetvanilla.profanityFiltervanilla.realmsListFacetvanilla.realmSlotsvanilla.realmsMembershipvanilla.realmsStories.actionsvanilla.realmsStories.localScreenshotsvanilla.realmsStories.persistentDatavanilla.realmsStories.playersvanilla.realmsStories.realmDatavanilla.realmsStories.settingsvanilla.realmsStories.storiesvanilla.RealmsPDPFacetvanilla.RealmWorldUploaderFacetvanilla.recentlyPlayedWithListvanilla.recommendedFriendsListvanilla.resourcePackOverridesvanilla.resourcePacksvanilla.screenshotGalleryListvanilla.screenSpecificOptionsvanilla.screenTechStackvanilla.seedTemplatesvanilla.sharevanilla.simulationDistanceOptionsvanilla.telemetryvanilla.thirdPartyWorldListvanilla.unpairedRealmsListFacetvanilla.userAccountvanilla.webBrowserFacetvanilla.worldCloudSyncFacetvanilla.worldEditorvanilla.worldOperationsvanilla.worldPackagesvanilla.worldPlayersListvanilla.worldStartupvanilla.worldTemplateListvanilla.worldTransfervanilla.friendworldlistvanilla.offerRepositoryvanilla.realmsSettingsFacetvanilla.achievementCategoriesvanilla.blockInformationdebug.worldTransfervanilla.flatWorldPresetsvanilla.inGamevanilla.playerPrivacyvanilla.realmsPurchasevanilla.realmsSubscriptionsDatavanilla.realmsSubscriptionsMethodsvanilla.realmsWorldContextCommandsvanilla.realmsWorldContextQueriesvanilla.realmsStories.sessionsvanilla.realmsListActionsFacetvanilla.developerOptionsFacetvanilla.realmsStories.commentsvanilla.screenshotGalleryvanilla.playerShowcasedGalleryvanilla.trialModevanilla.featuredWorldTemplateListvanilla.ownedWorldTemplateListvanilla.worldTemplateOperationstest.vectorvanilla.gameplay.localPlayerWeatherLightningFacetvanilla.levelInfovanilla.currentPartyvanilla.partyCommandsvanilla.worldRealmEditor // Found in dev build file.vanilla.worldRealmEditorCommandsvanilla.worldRealmEditorQueriesvanilla.realmBackupsCommandsvanilla.realmBackupsQueriesvanilla.realmsPurchaseCommandsvanilla.realmsPurchaseReconcilerQueriesvanilla.progressTrackervanilla.realmsWorldEditorGameRulesCommandsvanilla.realmsWorldEditorGameRulesQueriesvanilla.realmsWorldEditorWorldDetailsQueriesvanilla.realmsCommitCommandsFacetvanilla.realmsCommitQueriesFacetvanilla.realmsPurchaseQueriesvanilla.connectionErrorInfoFacetvanilla.partyReceivedInviteListvanilla.joinablePartyListvanilla.realmsFeatureFlagsvanilla.realmsStories.reportsvanilla.realmsStories.reportCommandsvanilla.openAndCloseRealmCommandsFacetdev.realmsCommitCommandsFacetdev.realmsCommitQueriesFacetvanilla.newPlayerChoicesvanilla.realmsRolesAndPermissionsQueriesvanilla.realmsRolesAndPermissionsCommandsvanilla.realmsPlayerListQueriesvanilla.realmsPlayerListCommandsvanilla.realmsWorldEditorWorldDetailsCommandsvanilla.realmsWorldPackEditorQueriesvanilla.realmsWorldPackEditorCommands
8. What to verify in game {unverified}
- Whether overriding an Ore UI string key in a user resource pack's
texts/ko_KR.langchanges the menu strings. - The install's
data/gui/dist/hbui/routes.jsonand file list (the actual list of which screens are Ore UI). It is enough to only read the GDK install folderC:\XboxGames\Minecraft for Windows\Content\data\gui.
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
repo-ore-ui-customizer | 8Crafter Ore UI Customizer analysis (this repository) (ore-ui-customizer/) | This project's material | 2026-11-13 | |
ore-ui-customizer-app | 8Crafter-Studios/Ore-UI-Customizer-App | MIT (Copyright (c) 2025-2026 8Crafter Studios). Font and WebKit-derived files are excepted | 69f6ebb | 2026-11-13 |
repo-ore-ui-loading | Ore UI loading research (this repository) (ore-ui-loading/) | This project's material | 2026-11-13 | |
private-research | Private research (-) | - | 2026-11-13 |