[{"data":1,"prerenderedAt":1342},["ShallowReactive",2],{"navigation_docs_en":3,"-en-developers-build-from-source":272,"-en-developers-build-from-source-surround":1337},[4,38,110,190,232],{"title":5,"icon":6,"path":7,"stem":8,"children":9},"Getting started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F1.getting-started\u002Findex",[10,13,18,23,28,33],{"title":11,"path":7,"stem":8,"icon":12},"Overview","i-lucide-layout-grid",{"title":14,"path":15,"stem":16,"icon":17},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F01.installation","i-lucide-download",{"title":19,"path":20,"stem":21,"icon":22},"Sign in","\u002Fen\u002Fgetting-started\u002Fsign-in","en\u002F1.getting-started\u002F02.sign-in","i-lucide-log-in",{"title":24,"path":25,"stem":26,"icon":27},"Your first instance","\u002Fen\u002Fgetting-started\u002Ffirst-instance","en\u002F1.getting-started\u002F03.first-instance","i-lucide-play",{"title":29,"path":30,"stem":31,"icon":32},"Android: install the APK","\u002Fen\u002Fgetting-started\u002Fandroid","en\u002F1.getting-started\u002F04.android","i-lucide-smartphone",{"title":34,"path":35,"stem":36,"icon":37},"iPhone\u002FiPad: install with AltStore\u002FSideStore","\u002Fen\u002Fgetting-started\u002Fiphone-ipad","en\u002F1.getting-started\u002F05.iphone-ipad","i-lucide-tablet-smartphone",{"title":39,"icon":40,"path":41,"stem":42,"children":43},"Launcher","i-lucide-app-window","\u002Fen\u002Flauncher","en\u002F2.launcher\u002Findex",[44,45,50,55,60,65,70,75,80,85,90,95,100,105],{"title":11,"path":41,"stem":42,"icon":12},{"title":46,"path":47,"stem":48,"icon":49},"Instances","\u002Fen\u002Flauncher\u002Finstances","en\u002F2.launcher\u002F01.instances","i-lucide-boxes",{"title":51,"path":52,"stem":53,"icon":54},"Mod loaders","\u002Fen\u002Flauncher\u002Fmod-loaders","en\u002F2.launcher\u002F02.mod-loaders","i-lucide-layers",{"title":56,"path":57,"stem":58,"icon":59},"Mods","\u002Fen\u002Flauncher\u002Fmods","en\u002F2.launcher\u002F03.mods","i-lucide-puzzle",{"title":61,"path":62,"stem":63,"icon":64},"Modpacks","\u002Fen\u002Flauncher\u002Fmodpacks","en\u002F2.launcher\u002F04.modpacks","i-lucide-package",{"title":66,"path":67,"stem":68,"icon":69},"Share modpacks","\u002Fen\u002Flauncher\u002Fshare-modpacks","en\u002F2.launcher\u002F05.share-modpacks","i-lucide-share-2",{"title":71,"path":72,"stem":73,"icon":74},"Import from other launchers","\u002Fen\u002Flauncher\u002Fimport","en\u002F2.launcher\u002F06.import","i-lucide-folder-input",{"title":76,"path":77,"stem":78,"icon":79},"Clips & screenshots","\u002Fen\u002Flauncher\u002Fclips","en\u002F2.launcher\u002F07.clips","i-lucide-clapperboard",{"title":81,"path":82,"stem":83,"icon":84},"Friends & chat","\u002Fen\u002Flauncher\u002Fsocial","en\u002F2.launcher\u002F08.social","i-lucide-messages-square",{"title":86,"path":87,"stem":88,"icon":89},"Achievements","\u002Fen\u002Flauncher\u002Fachievements","en\u002F2.launcher\u002F09.achievements","i-lucide-trophy",{"title":91,"path":92,"stem":93,"icon":94},"Skins & capes","\u002Fen\u002Flauncher\u002Fwardrobe","en\u002F2.launcher\u002F10.wardrobe","i-lucide-shirt",{"title":96,"path":97,"stem":98,"icon":99},"Settings","\u002Fen\u002Flauncher\u002Fsettings","en\u002F2.launcher\u002F11.settings","i-lucide-settings",{"title":101,"path":102,"stem":103,"icon":104},"Updates","\u002Fen\u002Flauncher\u002Fupdates","en\u002F2.launcher\u002F12.updates","i-lucide-refresh-cw",{"title":106,"path":107,"stem":108,"icon":109},"Servers","\u002Fen\u002Flauncher\u002Fservers","en\u002F2.launcher\u002F13.servers","i-lucide-server",{"title":111,"icon":112,"path":113,"stem":114,"children":115},"Cubiq Client","i-lucide-blocks","\u002Fen\u002Fclient","en\u002F3.client\u002Findex",[116,117,121,126,131,136,141,146,151,156,160,165,170,175,180,185],{"title":11,"path":113,"stem":114,"icon":12},{"title":118,"path":119,"stem":120,"icon":112},"What is the Cubiq Client?","\u002Fen\u002Fclient\u002Foverview","en\u002F3.client\u002F01.overview",{"title":122,"path":123,"stem":124,"icon":125},"Cubiq menu and HUD editor","\u002Fen\u002Fclient\u002Fmenu-and-hud-editor","en\u002F3.client\u002F02.menu-and-hud-editor","i-lucide-layout-dashboard",{"title":127,"path":128,"stem":129,"icon":130},"Performance and FPS","\u002Fen\u002Fclient\u002Fperformance","en\u002F3.client\u002F03.performance","i-lucide-gauge",{"title":132,"path":133,"stem":134,"icon":135},"PvP modules","\u002Fen\u002Fclient\u002Fpvp","en\u002F3.client\u002F04.pvp","i-lucide-swords",{"title":137,"path":138,"stem":139,"icon":140},"Zoom, freelook and toggle sprint","\u002Fen\u002Fclient\u002Fzoom-and-freelook","en\u002F3.client\u002F05.zoom-and-freelook","i-lucide-zoom-in",{"title":142,"path":143,"stem":144,"icon":145},"Minimap, waypoints and world map","\u002Fen\u002Fclient\u002Fminimap-and-world-map","en\u002F3.client\u002F06.minimap-and-world-map","i-lucide-map",{"title":147,"path":148,"stem":149,"icon":150},"Redstone tools","\u002Fen\u002Fclient\u002Fredstone-tools","en\u002F3.client\u002F07.redstone-tools","i-lucide-zap",{"title":152,"path":153,"stem":154,"icon":155},"Circuit library","\u002Fen\u002Fclient\u002Fcircuit-library","en\u002F3.client\u002F08.circuit-library","i-lucide-cpu",{"title":157,"path":158,"stem":159,"icon":94},"Emotes, capes, wardrobe and accounts","\u002Fen\u002Fclient\u002Femotes-and-capes","en\u002F3.client\u002F09.emotes-and-capes",{"title":161,"path":162,"stem":163,"icon":164},"Screenshots, clips and panoramas","\u002Fen\u002Fclient\u002Fscreenshots-and-clips","en\u002F3.client\u002F10.screenshots-and-clips","i-lucide-camera",{"title":166,"path":167,"stem":168,"icon":169},"World notes","\u002Fen\u002Fclient\u002Fnotes","en\u002F3.client\u002F11.notes","i-lucide-notebook-pen",{"title":171,"path":172,"stem":173,"icon":174},"Chat and comfort","\u002Fen\u002Fclient\u002Fchat-and-comfort","en\u002F3.client\u002F12.chat-and-comfort","i-lucide-message-square",{"title":176,"path":177,"stem":178,"icon":179},"Social in game","\u002Fen\u002Fclient\u002Fsocial-in-game","en\u002F3.client\u002F13.social-in-game","i-lucide-users",{"title":181,"path":182,"stem":183,"icon":184},"Default keys","\u002Fen\u002Fclient\u002Fkeybinds","en\u002F3.client\u002F14.keybinds","i-lucide-keyboard",{"title":186,"path":187,"stem":188,"icon":189},"Host a world for friends","\u002Fen\u002Fclient\u002Fworld-hosting","en\u002F3.client\u002F15.world-hosting","i-lucide-globe",{"title":191,"icon":192,"path":193,"stem":194,"children":195},"Help","i-lucide-life-buoy","\u002Fen\u002Fhelp","en\u002F4.help\u002Findex",[196,197,202,207,212,217,222,227],{"title":11,"path":193,"stem":194,"icon":12},{"title":198,"path":199,"stem":200,"icon":201},"Crash helper","\u002Fen\u002Fhelp\u002Fcrash-helper","en\u002F4.help\u002F01.crash-helper","i-lucide-heart-pulse",{"title":203,"path":204,"stem":205,"icon":206},"Common problems","\u002Fen\u002Fhelp\u002Fcommon-problems","en\u002F4.help\u002F02.common-problems","i-lucide-circle-help",{"title":208,"path":209,"stem":210,"icon":211},"Java & memory","\u002Fen\u002Fhelp\u002Fjava","en\u002F4.help\u002F03.java","i-lucide-coffee",{"title":213,"path":214,"stem":215,"icon":216},"Linux","\u002Fen\u002Fhelp\u002Flinux","en\u002F4.help\u002F04.linux","i-lucide-terminal",{"title":218,"path":219,"stem":220,"icon":221},"Logs","\u002Fen\u002Fhelp\u002Flogs","en\u002F4.help\u002F05.logs","i-lucide-scroll-text",{"title":223,"path":224,"stem":225,"icon":226},"Report a bug","\u002Fen\u002Fhelp\u002Freport-a-bug","en\u002F4.help\u002F06.report-a-bug","i-lucide-bug",{"title":228,"path":229,"stem":230,"icon":231},"Privacy","\u002Fen\u002Fhelp\u002Fprivacy","en\u002F4.help\u002F07.privacy","i-lucide-shield-check",{"title":233,"icon":234,"path":235,"stem":236,"children":237},"Developers","i-lucide-code-xml","\u002Fen\u002Fdevelopers","en\u002F5.developers\u002Findex",[238,239,244,249,254,259,263,267],{"title":11,"path":235,"stem":236,"icon":12},{"title":240,"path":241,"stem":242,"icon":243},"Build from source","\u002Fen\u002Fdevelopers\u002Fbuild-from-source","en\u002F5.developers\u002F01.build-from-source","i-lucide-hammer",{"title":245,"path":246,"stem":247,"icon":248},"Contributing","\u002Fen\u002Fdevelopers\u002Fcontributing","en\u002F5.developers\u002F02.contributing","i-lucide-git-pull-request",{"title":250,"path":251,"stem":252,"icon":253},"Translating","\u002Fen\u002Fdevelopers\u002Ftranslating","en\u002F5.developers\u002F03.translating","i-lucide-languages",{"title":255,"path":256,"stem":257,"icon":258},"Public API","\u002Fen\u002Fdevelopers\u002Fpublic-api","en\u002F5.developers\u002F04.public-api","i-lucide-braces",{"title":260,"path":261,"stem":262,"icon":32},"Build the Android app yourself","\u002Fen\u002Fdevelopers\u002Fbuild-android","en\u002F5.developers\u002F05.build-android",{"title":264,"path":265,"stem":266,"icon":37},"Build the iOS app yourself with Xcode","\u002Fen\u002Fdevelopers\u002Fbuild-ios","en\u002F5.developers\u002F06.build-ios",{"title":268,"path":269,"stem":270,"icon":271},"Cubiq Server Rules","\u002Fen\u002Fdevelopers\u002Fserver-rules","en\u002F5.developers\u002F07.server-rules","i-lucide-server-cog",{"id":273,"title":240,"body":274,"description":1330,"extension":1331,"links":1332,"meta":1333,"navigation":1334,"path":241,"seo":1335,"stem":242,"__hash__":1336},"docs_en\u002Fen\u002F5.developers\u002F01.build-from-source.md",{"type":275,"value":276,"toc":1317},"minimark",[277,289,294,388,407,411,619,623,704,712,720,724,727,807,810,887,898,942,946,996,1003,1021,1030,1034,1039,1049,1052,1173,1179,1224,1241,1245,1258,1308,1313],[278,279,280,281,288],"p",{},"The Cubiq Launcher is a ",[282,283,287],"a",{"href":284,"rel":285},"https:\u002F\u002Ftauri.app",[286],"nofollow","Tauri 2"," app: a Rust core does the work, a Nuxt 4 single-page app is the\ninterface. The in-game Cubiq Client is a separate Gradle project in the same repository.",[290,291,293],"h2",{"id":292},"what-is-where","What is where",[295,296,297,310],"table",{},[298,299,300],"thead",{},[301,302,303,307],"tr",{},[304,305,306],"th",{},"Folder",[304,308,309],{},"What it is",[311,312,313,325,335,348,358,368,378],"tbody",{},[301,314,315,322],{},[316,317,318],"td",{},[319,320,321],"code",{},"app\u002F",[316,323,324],{},"Nuxt 4 frontend (SPA, no SSR)",[301,326,327,332],{},[316,328,329],{},[319,330,331],{},"src-tauri\u002Fsrc\u002F",[316,333,334],{},"Tauri app: commands, task registry, error mapping, plugins",[301,336,337,342],{},[316,338,339],{},[319,340,341],{},"src-tauri\u002Fcrates\u002Fcore\u002F",[316,343,344,347],{},[319,345,346],{},"cubiq-core",": the launcher core, independent of the UI",[301,349,350,355],{},[316,351,352],{},[319,353,354],{},"src-tauri\u002Fresources\u002Fclient-mod\u002F",[316,356,357],{},"Prebuilt Cubiq Client jars bundled with the launcher",[301,359,360,365],{},[316,361,362],{},[319,363,364],{},"client-mod\u002F",[316,366,367],{},"Cubiq Client: shared core plus Fabric, Forge and NeoForge builds",[301,369,370,375],{},[316,371,372],{},[319,373,374],{},"packaging\u002F",[316,376,377],{},"AUR and Flatpak recipes, Linux desktop files",[301,379,380,385],{},[316,381,382],{},[319,383,384],{},"tests\u002F",[316,386,387],{},"Frontend tests (Vitest)",[278,389,390,391,394,395,401,402,406],{},"The website and the Cubiq API live in ",[319,392,393],{},"api\u002F"," on the ",[396,397,398],"strong",{},[319,399,400],{},"website"," branch (see ",[282,403,405],{"href":404},"#website-and-api","below",").",[290,408,410],{"id":409},"requirements","Requirements",[412,413,414,463],"tabs",{},[415,416,418],"tabs-item",{"label":417},"Windows",[419,420,421,440,451,457],"ul",{},[422,423,424,427,428,431,432,435,436,439],"li",{},[396,425,426],{},"Node.js 22"," or newer and ",[396,429,430],{},"pnpm"," (the version is pinned in ",[319,433,434],{},"package.json","; ",[319,437,438],{},"corepack enable"," sets it up)",[422,441,442,445,446],{},[396,443,444],{},"Rust"," (stable, MSVC toolchain) via ",[282,447,450],{"href":448,"rel":449},"https:\u002F\u002Frustup.rs",[286],"rustup",[422,452,453,456],{},[396,454,455],{},"Visual Studio Build Tools"," with \"Desktop development with C++\"",[422,458,459,462],{},[396,460,461],{},"WebView2"," (preinstalled on Windows 10 and 11)",[415,464,465,484],{"label":213},[419,466,467,473,481],{},[422,468,469,427,471],{},[396,470,426],{},[396,472,430],{},[422,474,475,477,478],{},[396,476,444],{}," (stable) via ",[282,479,450],{"href":448,"rel":480},[286],[422,482,483],{},"the WebKitGTK and GTK development packages:",[485,486,487,543,583],"code-group",{},[488,489,495],"pre",{"className":490,"code":491,"filename":492,"language":493,"meta":494,"style":494},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","sudo apt install build-essential curl file pkg-config libssl-dev libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libxdo-dev\n","Debian\u002FUbuntu","bash","",[319,496,497],{"__ignoreMap":494},[498,499,502,506,510,513,516,519,522,525,528,531,534,537,540],"span",{"class":500,"line":501},"line",1,[498,503,505],{"class":504},"sBMFI","sudo",[498,507,509],{"class":508},"sfazB"," apt",[498,511,512],{"class":508}," install",[498,514,515],{"class":508}," build-essential",[498,517,518],{"class":508}," curl",[498,520,521],{"class":508}," file",[498,523,524],{"class":508}," pkg-config",[498,526,527],{"class":508}," libssl-dev",[498,529,530],{"class":508}," libwebkit2gtk-4.1-dev",[498,532,533],{"class":508}," libgtk-3-dev",[498,535,536],{"class":508}," libayatana-appindicator3-dev",[498,538,539],{"class":508}," librsvg2-dev",[498,541,542],{"class":508}," libxdo-dev\n",[488,544,547],{"className":490,"code":545,"filename":546,"language":493,"meta":494,"style":494},"sudo pacman -S --needed base-devel webkit2gtk-4.1 gtk3 libayatana-appindicator librsvg openssl xdotool\n","Arch",[319,548,549],{"__ignoreMap":494},[498,550,551,553,556,559,562,565,568,571,574,577,580],{"class":500,"line":501},[498,552,505],{"class":504},[498,554,555],{"class":508}," pacman",[498,557,558],{"class":508}," -S",[498,560,561],{"class":508}," --needed",[498,563,564],{"class":508}," base-devel",[498,566,567],{"class":508}," webkit2gtk-4.1",[498,569,570],{"class":508}," gtk3",[498,572,573],{"class":508}," libayatana-appindicator",[498,575,576],{"class":508}," librsvg",[498,578,579],{"class":508}," openssl",[498,581,582],{"class":508}," xdotool\n",[488,584,587],{"className":490,"code":585,"filename":586,"language":493,"meta":494,"style":494},"sudo dnf install gcc-c++ openssl-devel webkit2gtk4.1-devel gtk3-devel libappindicator-gtk3-devel librsvg2-devel libxdo-devel\n","Fedora",[319,588,589],{"__ignoreMap":494},[498,590,591,593,596,598,601,604,607,610,613,616],{"class":500,"line":501},[498,592,505],{"class":504},[498,594,595],{"class":508}," dnf",[498,597,512],{"class":508},[498,599,600],{"class":508}," gcc-c++",[498,602,603],{"class":508}," openssl-devel",[498,605,606],{"class":508}," webkit2gtk4.1-devel",[498,608,609],{"class":508}," gtk3-devel",[498,611,612],{"class":508}," libappindicator-gtk3-devel",[498,614,615],{"class":508}," librsvg2-devel",[498,617,618],{"class":508}," libxdo-devel\n",[290,620,622],{"id":621},"run-the-launcher-in-dev-mode","Run the launcher in dev mode",[624,625,627,632,658,662,674,681,685,697],"steps",{"level":626},"3",[628,629,631],"h3",{"id":630},"get-the-code","Get the code",[488,633,635],{"className":490,"code":634,"language":493,"meta":494,"style":494},"git clone https:\u002F\u002Fgithub.com\u002FPwiePixel\u002FCubiq-launcher.git\ncd Cubiq-Launcher\n",[319,636,637,648],{"__ignoreMap":494},[498,638,639,642,645],{"class":500,"line":501},[498,640,641],{"class":504},"git",[498,643,644],{"class":508}," clone",[498,646,647],{"class":508}," https:\u002F\u002Fgithub.com\u002FPwiePixel\u002FCubiq-launcher.git\n",[498,649,651,655],{"class":500,"line":650},2,[498,652,654],{"class":653},"s2Zo4","cd",[498,656,657],{"class":508}," Cubiq-Launcher\n",[628,659,661],{"id":660},"install-the-dependencies","Install the dependencies",[488,663,665],{"className":490,"code":664,"language":493,"meta":494,"style":494},"pnpm install\n",[319,666,667],{"__ignoreMap":494},[498,668,669,671],{"class":500,"line":501},[498,670,430],{"class":504},[498,672,673],{"class":508}," install\n",[278,675,676,677,680],{},"This also runs ",[319,678,679],{},"nuxt prepare",".",[628,682,684],{"id":683},"start-it","Start it",[488,686,688],{"className":490,"code":687,"language":493,"meta":494,"style":494},"pnpm app:dev\n",[319,689,690],{"__ignoreMap":494},[498,691,692,694],{"class":500,"line":501},[498,693,430],{"class":504},[498,695,696],{"class":508}," app:dev\n",[278,698,699,700,703],{},"This starts the Nuxt dev server on ",[319,701,702],{},"http:\u002F\u002Flocalhost:3000"," and opens the Tauri window with hot reload. The first run\ncompiles the Rust part and takes a while.",[705,706,707,708,711],"tip",{},"Set ",[319,709,710],{},"CUBIQ_LAUNCHER_HOME"," to a separate folder to keep your test data away from your real launcher data.",[713,714,715,716,719],"note",{},"Development builds without a signed-in account start the game in Minecraft's official ",[396,717,718],{},"demo mode",". Release builds\nalways need an account that owns the game.",[290,721,723],{"id":722},"run-the-checks","Run the checks",[278,725,726],{},"These are the same checks the CI runs on every push and pull request.",[485,728,729,749],{},[488,730,733],{"className":490,"code":731,"filename":732,"language":493,"meta":494,"style":494},"pnpm typecheck\npnpm test\n","Frontend",[319,734,735,742],{"__ignoreMap":494},[498,736,737,739],{"class":500,"line":501},[498,738,430],{"class":504},[498,740,741],{"class":508}," typecheck\n",[498,743,744,746],{"class":500,"line":650},[498,745,430],{"class":504},[498,747,748],{"class":508}," test\n",[488,750,752],{"className":490,"code":751,"filename":444,"language":493,"meta":494,"style":494},"pnpm generate            # the Tauri crate needs a built frontend\ncd src-tauri\ncargo clippy --workspace --all-targets -- -D warnings\ncargo test --workspace\n",[319,753,754,765,772,796],{"__ignoreMap":494},[498,755,756,758,761],{"class":500,"line":501},[498,757,430],{"class":504},[498,759,760],{"class":508}," generate",[498,762,764],{"class":763},"sHwdD","            # the Tauri crate needs a built frontend\n",[498,766,767,769],{"class":500,"line":650},[498,768,654],{"class":653},[498,770,771],{"class":508}," src-tauri\n",[498,773,775,778,781,784,787,790,793],{"class":500,"line":774},3,[498,776,777],{"class":504},"cargo",[498,779,780],{"class":508}," clippy",[498,782,783],{"class":508}," --workspace",[498,785,786],{"class":508}," --all-targets",[498,788,789],{"class":508}," --",[498,791,792],{"class":508}," -D",[498,794,795],{"class":508}," warnings\n",[498,797,799,801,804],{"class":500,"line":798},4,[498,800,777],{"class":504},[498,802,803],{"class":508}," test",[498,805,806],{"class":508}," --workspace\n",[278,808,809],{},"The launch pipeline can be tested without the interface. It downloads and starts the given version in its own data\nfolder:",[488,811,813],{"className":490,"code":812,"language":493,"meta":494,"style":494},"cd src-tauri\ncargo run -p cubiq-core --example launch -- \u003Cdata-dir> 1.21.1 [vanilla|fabric|quilt|forge|neoforge] [seconds]\n",[319,814,815,821],{"__ignoreMap":494},[498,816,817,819],{"class":500,"line":501},[498,818,654],{"class":653},[498,820,771],{"class":508},[498,822,823,825,828,831,834,837,840,842,846,849,853,856,860,863,866,869,871,874,876,879,881,884],{"class":500,"line":650},[498,824,777],{"class":504},[498,826,827],{"class":508}," run",[498,829,830],{"class":508}," -p",[498,832,833],{"class":508}," cubiq-core",[498,835,836],{"class":508}," --example",[498,838,839],{"class":508}," launch",[498,841,789],{"class":508},[498,843,845],{"class":844},"sMK4o"," \u003C",[498,847,848],{"class":508},"data-di",[498,850,852],{"class":851},"sTEyZ","r",[498,854,855],{"class":844},">",[498,857,859],{"class":858},"sbssI"," 1.21.1",[498,861,862],{"class":851}," [vanilla",[498,864,865],{"class":844},"|",[498,867,868],{"class":504},"fabric",[498,870,865],{"class":844},[498,872,873],{"class":504},"quilt",[498,875,865],{"class":844},[498,877,878],{"class":504},"forge",[498,880,865],{"class":844},[498,882,883],{"class":504},"neoforge]",[498,885,886],{"class":851}," [seconds]\n",[278,888,889,890,893,894,897],{},"To try the ",[282,891,892],{"href":199},"crash helper"," rules on a log or crash report (also in ",[319,895,896],{},"src-tauri","):",[488,899,901],{"className":490,"code":900,"language":493,"meta":494,"style":494},"cargo run -p cubiq-core --example crash_scan -- \u003Clog-or-crash-report> [--memory MB --system MB]\n",[319,902,903],{"__ignoreMap":494},[498,904,905,907,909,911,913,915,918,920,922,925,928,930,933,936,939],{"class":500,"line":501},[498,906,777],{"class":504},[498,908,827],{"class":508},[498,910,830],{"class":508},[498,912,833],{"class":508},[498,914,836],{"class":508},[498,916,917],{"class":508}," crash_scan",[498,919,789],{"class":508},[498,921,845],{"class":844},[498,923,924],{"class":508},"log-or-crash-repor",[498,926,927],{"class":851},"t",[498,929,855],{"class":844},[498,931,932],{"class":851}," [--memory ",[498,934,935],{"class":508},"MB",[498,937,938],{"class":508}," --system",[498,940,941],{"class":508}," MB]\n",[290,943,945],{"id":944},"build-installers","Build installers",[412,947,948,968],{},[415,949,950,962],{"label":417},[488,951,953],{"className":490,"code":952,"language":493,"meta":494,"style":494},"pnpm app:build\n",[319,954,955],{"__ignoreMap":494},[498,956,957,959],{"class":500,"line":501},[498,958,430],{"class":504},[498,960,961],{"class":508}," app:build\n",[278,963,964,965,680],{},"The NSIS installer ends up in ",[319,966,967],{},"src-tauri\u002Ftarget\u002Frelease\u002Fbundle",[415,969,970,991],{"label":213},[488,971,973],{"className":490,"code":972,"language":493,"meta":494,"style":494},"pnpm tauri build --bundles appimage,deb,rpm\n",[319,974,975],{"__ignoreMap":494},[498,976,977,979,982,985,988],{"class":500,"line":501},[498,978,430],{"class":504},[498,980,981],{"class":508}," tauri",[498,983,984],{"class":508}," build",[498,986,987],{"class":508}," --bundles",[498,989,990],{"class":508}," appimage,deb,rpm\n",[278,992,993,994,680],{},"The AUR and Flatpak recipes are in ",[319,995,374],{},[713,997,998,999,1002],{},"Official releases sign the update files with the project's private key. Without that key, the build can end with an\nerror about a missing private key after the installers are made. Turn the update files off for your own builds:\n",[319,1000,1001],{},"pnpm tauri build --config '{\"bundle\":{\"createUpdaterArtifacts\":false}}'"," (the value can also be a path to a JSON file\nwith the same content).",[278,1004,1005,1008,1009,1012,1013,1016,1017,1020],{},[396,1006,1007],{},"CurseForge"," needs an API key at build time: the environment variable ",[319,1010,1011],{},"CURSEFORGE_API_KEY",", or the file\n",[319,1014,1015],{},"~\u002F.tauri\u002Fcurseforge-api-key"," (",[319,1018,1019],{},"%USERPROFILE%\\.tauri\\curseforge-api-key"," on Windows). Without a key, the build works\nand simply hides CurseForge.",[705,1022,1023,1024,1026,1027,680],{},"The Android and iPhone\u002FiPad apps are built differently: see ",[282,1025,260],{"href":261}," and ",[282,1028,1029],{"href":265},"Build the iOS app yourself",[290,1031,1033],{"id":1032},"build-the-cubiq-client","Build the Cubiq Client",[278,1035,1036,1037,680],{},"You don't need to build the mod to build the launcher – prebuilt jars are in ",[319,1038,354],{},[278,1040,1041,1044,1045,1048],{},[396,1042,1043],{},"Requirements:"," a ",[396,1046,1047],{},"JDK 21"," or newer to run Gradle. Gradle toolchains download JDK 17, 21 or 25 for compiling when\nthey are missing.",[278,1050,1051],{},"Every loader family is its own Gradle build with its own wrapper:",[295,1053,1054,1066],{},[298,1055,1056],{},[301,1057,1058,1060,1063],{},[304,1059,306],{},[304,1061,1062],{},"Loader and versions",[304,1064,1065],{},"Build",[311,1067,1068,1087,1101,1116,1130,1145,1159],{},[301,1069,1070,1079,1082],{},[316,1071,1072,1074,1075,1078],{},[319,1073,364],{}," (root, ",[319,1076,1077],{},"fabric\u002F",")",[316,1080,1081],{},"Fabric 1.14.4–26.3",[316,1083,1084],{},[319,1085,1086],{},".\u002Fgradlew collectLauncherJars",[301,1088,1089,1094,1097],{},[316,1090,1091],{},[319,1092,1093],{},"client-mod\u002Fneoforge\u002F",[316,1095,1096],{},"NeoForge 1.20.2–26.3",[316,1098,1099],{},[319,1100,1086],{},[301,1102,1103,1108,1111],{},[316,1104,1105],{},[319,1106,1107],{},"client-mod\u002Fforge\u002F",[316,1109,1110],{},"Forge 1.20–26.3",[316,1112,1113],{},[319,1114,1115],{},".\u002Fgradlew :collectLauncherJars",[301,1117,1118,1123,1126],{},[316,1119,1120],{},[319,1121,1122],{},"client-mod\u002Fforge-mojmap-legacy\u002F",[316,1124,1125],{},"Forge 1.14.4, 1.15.2, 1.16.x, 1.17.1, 1.18.x, 1.19.x",[316,1127,1128],{},[319,1129,1086],{},[301,1131,1132,1137,1140],{},[316,1133,1134],{},[319,1135,1136],{},"client-mod\u002Fforge-1.13.2\u002F",[316,1138,1139],{},"Forge 1.13.2",[316,1141,1142],{},[319,1143,1144],{},".\u002Fgradlew build",[301,1146,1147,1152,1155],{},[316,1148,1149],{},[319,1150,1151],{},"client-mod\u002Flegacy\u002F",[316,1153,1154],{},"Forge 1.8.9–1.12.2",[316,1156,1157],{},[319,1158,1086],{},[301,1160,1161,1166,1169],{},[316,1162,1163],{},[319,1164,1165],{},"client-mod\u002Flegacy-1.7.10\u002F",[316,1167,1168],{},"Forge 1.7.10",[316,1170,1171],{},[319,1172,1144],{},[278,1174,1175,1176,1178],{},"For the Fabric build in ",[319,1177,364],{},":",[488,1180,1182],{"className":490,"code":1181,"language":493,"meta":494,"style":494},".\u002Fgradlew build                      # every version + the unit tests of common\u002F\n.\u002Fgradlew :fabric:1.21.1:build       # a single version\n.\u002Fgradlew :fabric:1.21.1:runClient   # start that Minecraft version with the mod (game folder: client-mod\u002Frun)\n.\u002Fgradlew collectLauncherJars        # write dist\u002F*.jar and dist\u002Fbuilds.json for the launcher\n",[319,1183,1184,1194,1204,1214],{"__ignoreMap":494},[498,1185,1186,1189,1191],{"class":500,"line":501},[498,1187,1188],{"class":504},".\u002Fgradlew",[498,1190,984],{"class":508},[498,1192,1193],{"class":763},"                      # every version + the unit tests of common\u002F\n",[498,1195,1196,1198,1201],{"class":500,"line":650},[498,1197,1188],{"class":504},[498,1199,1200],{"class":508}," :fabric:1.21.1:build",[498,1202,1203],{"class":763},"       # a single version\n",[498,1205,1206,1208,1211],{"class":500,"line":774},[498,1207,1188],{"class":504},[498,1209,1210],{"class":508}," :fabric:1.21.1:runClient",[498,1212,1213],{"class":763},"   # start that Minecraft version with the mod (game folder: client-mod\u002Frun)\n",[498,1215,1216,1218,1221],{"class":500,"line":798},[498,1217,1188],{"class":504},[498,1219,1220],{"class":508}," collectLauncherJars",[498,1222,1223],{"class":763},"        # write dist\u002F*.jar and dist\u002Fbuilds.json for the launcher\n",[705,1225,1226,1227,1230,1231,1234,1235,1237,1238,680],{},"On Windows, use ",[319,1228,1229],{},".\\gradlew"," or ",[319,1232,1233],{},"gradlew.bat"," instead of ",[319,1236,1188],{},". Build the projects one after another – they all\nwrite into the same ",[319,1239,1240],{},"client-mod\u002Fdist\u002F",[290,1242,1244],{"id":1243},"website-and-api","Website and API",[278,1246,1247,1248,1250,1251,1253,1254,1257],{},"The website and the Cubiq API are a separate Nuxt 4\u002FNitro project on the ",[319,1249,400],{}," branch. It has its own\n",[319,1252,434],{}," and lockfile and needs ",[396,1255,1256],{},"Node.js 24.11"," or newer.",[488,1259,1261],{"className":490,"code":1260,"language":493,"meta":494,"style":494},"git checkout website\ncd api\npnpm install\npnpm typecheck && pnpm lint && pnpm test\n",[319,1262,1263,1273,1280,1286],{"__ignoreMap":494},[498,1264,1265,1267,1270],{"class":500,"line":501},[498,1266,641],{"class":504},[498,1268,1269],{"class":508}," checkout",[498,1271,1272],{"class":508}," website\n",[498,1274,1275,1277],{"class":500,"line":650},[498,1276,654],{"class":653},[498,1278,1279],{"class":508}," api\n",[498,1281,1282,1284],{"class":500,"line":774},[498,1283,430],{"class":504},[498,1285,673],{"class":508},[498,1287,1288,1290,1293,1296,1299,1302,1304,1306],{"class":500,"line":798},[498,1289,430],{"class":504},[498,1291,1292],{"class":508}," typecheck",[498,1294,1295],{"class":844}," &&",[498,1297,1298],{"class":504}," pnpm",[498,1300,1301],{"class":508}," lint",[498,1303,1295],{"class":844},[498,1305,1298],{"class":504},[498,1307,748],{"class":508},[278,1309,1310,1311,680],{},"The public endpoints of the API are described in ",[282,1312,255],{"href":256},[1314,1315,1316],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":494,"searchDepth":650,"depth":650,"links":1318},[1319,1320,1321,1326,1327,1328,1329],{"id":292,"depth":650,"text":293},{"id":409,"depth":650,"text":410},{"id":621,"depth":650,"text":622,"children":1322},[1323,1324,1325],{"id":630,"depth":774,"text":631},{"id":660,"depth":774,"text":661},{"id":683,"depth":774,"text":684},{"id":722,"depth":650,"text":723},{"id":944,"depth":650,"text":945},{"id":1032,"depth":650,"text":1033},{"id":1243,"depth":650,"text":1244},"Set up Node, pnpm and Rust, run the launcher in dev mode, run the checks, build installers and build the Cubiq Client mod.","md",null,{},{"icon":243},{"title":240,"description":1330},"vjs5m5oOsdeWWdu_bbevglIzxwR__aYg2FoHkjdaexA",[1338,1340],{"title":11,"path":235,"stem":236,"description":1339,"icon":12,"children":-1},"Source code, building Cubiq Launcher from source, the Cubiq API and how to contribute.",{"title":245,"path":246,"stem":247,"description":1341,"icon":248,"children":-1},"Branches and pull requests, code rules, tests, the English and German changelog, and the GPL-3.0 license.",1793336574526]