MOONCLIENT REBORN 1.8  |  Native Launcher Beta
=============================================

WHAT CHANGED
- MoonClient's Play button now uses MoonClient's OWN Minecraft Java startup code.
- NO Prism Launcher dependency for Native mode.
- Native mode installs official Minecraft Java game files and Fabric libraries.
- Native mode builds the Java command line and starts Minecraft without opening the official launcher.
- Added Microsoft device-code sign-in infrastructure and Java profile verification.
- Native mode installs Fabric API automatically when MoonClientSettings is required.
- Kept dark MoonClient UI, profiles, mods, shaders, modpacks and private server hosting.
- Included Fabric 1.21.11 in-game mod SOURCE and Windows build script for Right Shift menu and HUD.

IMPORTANT LIMITATIONS
- The native engine and sign-in flow have NOT been tested end-to-end on Windows.
- An approved Microsoft app (public client) registration for Minecraft Services is needed for native sign-in. A random Entra app ID may get HTTP 403 (Invalid app registration). MoonClient cannot bypass this requirement.
- Sign-in tokens are held only in RAM, so you sign in each launcher session.
- Native engine currently supports VANILLA JAVA and FABRIC. Forge, NeoForge and Quilt need future native installation support.
- In-game MoonClientSettings Fabric 1.21.11 must be compiled with the included Build-MoonClientSettings.bat. THERE IS NO PREBUILT/VERIFIED JAR in this package.
- The in-game GUI will NOT appear until the mod builds, registers and successfully loads in Minecraft. The previous EXPERIMENTAL JAR built with stubs must NOT be used.
- This is NOT an installed updates to the old MoonClient; it is a replacement portable executable.

QUICK SETUP
1. Extract the entire Windows ZIP somewhere such as Downloads/MoonClient-Reborn-1.8.
2. Open MoonClient-Reborn-1.8.exe.
3. Go to Launcher settings > Native Play, enter a MICROSOFT APP CLIENT ID approved for Minecraft Services, then save.
4. Click Sign into Microsoft. Use the code shown at the Microsoft verification URL. Never type your password into MoonClient.
5. Select your Fabric 1.21.11 profile under Play & Profiles. Set a Java 21+ executable (or Java 25) and RAM.
6. Run Build-MoonClientSettings.bat. After a successful build, click In-game MoonClient > Register compiled JAR automatically.
7. Click PLAY MOONCLIENT. The first official game/Fabric download can take considerable time.
8. If the Fabric mod loads successfully, press RIGHT SHIFT for the custom in-game UI.

TROUBLESHOOTING
- “Invalid app registration”: your Microsoft application has not been approved for Minecraft Services.
- “Not signed into Minecraft Java”: sign in under Launcher settings first.
- “MoonClientSettings not registered”: build the real Fabric mod JAR and register it.
- “No Java”: install a compatible JDK/JRE and point profile Java path to java.exe.
- “Game exited with error”: check moonclient-game.log in the specific profile folder.
- Profile/world files: %APPDATA%/MoonClientReborn (or MOONCLIENT_DATA_DIR when overridden).
- Back up your profile/world files before using this beta.

SOURCE
Open launcher-source for Go code and tests. MoonClientSettings-Fabric-1.21.11 contains the Java Fabric source.

This is independent launch ENGINE source and a compiled EXE, but the Microsoft sign-in/installation path remains experimental.
