How nightworldteam/lexplosion works
Lexplosion is a Windows WPF Minecraft launcher backed by a separate Core library. The main user workflow is to choose or import a game profile, resolve/download its game files and add-ons, then launch it with suitable Java settings. The README also documents mod catalogs, profile sharing, customization, account types, and peer-to-peer/server multiplayer. Core relationships are based on the excerpts and SOURCE INDEX; broader capability links use README statements where implementation was not sampled.
Main entry points: InstanceClient.cs Game profile · WithDirectory.cs Downloads and files · Main.cs WPF application · ClientsManager.cs Profile management
Components 23
Desktop experience
- WPF application
src/Lexplosion.UI.WPF/Main.cs - UI coordination
src/Lexplosion.UI.WPF/Core/AppCore.cs - Themes and settings
src/Lexplosion.UI.WPF/Core/Resources/Theme/ThemeLoader.cs
Profiles and launch
- Profile library
src/Lexplosion.UI.WPF/Mvvm/Models/InstanceControllers/LibraryController.cs - Profile management
src/Lexplosion.Core/Logic/Management/Instances/ClientsManager.cs - Game profile
src/Lexplosion.Core/Logic/Management/Instances/InstanceClient.cs - Profile installation
src/Lexplosion.Core/Logic/Management/Installers/ArchiveInstallManager.cs - Game launch
src/Lexplosion.Core/Logic/Management/LaunchGame.cs - Java selection
src/Lexplosion.Core/Logic/Management/JavaChecker.cs - Import and export
src/Lexplosion.UI.WPF/Mvvm/Models/InstanceTransfer/InstanceImportModel.cs
Content management
- Add-on catalogs
src/Lexplosion.Core/Logic/Management/Addons/AddonsManager.cs - Add-on install and sync
src/Lexplosion.Core/Logic/Management/Addons/InstanceAddon.cs - CurseForge API
src/Lexplosion.Core/Logic/Network/Web/CurseforgeApi.cs - Modrinth API
src/Lexplosion.Core/Logic/Network/Web/ModrinthApi.cs
Accounts and networking
- Account authentication
src/Lexplosion.Core/Logic/Management/Accounts/Account.cs - Multiplayer networking
src/Lexplosion.Core/Logic/Network/OnlineGameGateway.cs - Network transport
src/Lexplosion.Core/Logic/Network/NetworkClient.cs
Core services
- Runtime composition
src/Lexplosion.Core/Runtime.cs - Launcher data storage
src/Lexplosion.Core/Logic/FileSystem/DataFilesManager.cs - Downloads and files
src/Lexplosion.Core/Logic/FileSystem/WithDirectory.cs
Other components
- Player
- Minecraft process
- Game services
Connections 27
- Player → WPF application: uses
- WPF application → UI coordination: coordinates UI
src/Lexplosion.UI.WPF/Main.cs - WPF application → Runtime composition: initializes
src/Lexplosion.UI.WPF/Main.cs - Player → Profile library: manages profiles
- Profile library → Profile management: manages
src/Lexplosion.UI.WPF/Mvvm/Models/InstanceControllers/LibraryController.cs - Profile management → Game profile: creates profiles
src/Lexplosion.Core/Logic/Management/Instances/ClientsManager.cs - Profile management → Import and export: imports profiles
src/Lexplosion.Core/Logic/Management/Instances/ClientsManager.cs - Player → Import and export: shares profiles
- Game profile → Profile installation: installs files
- Profile installation → Downloads and files: downloads and extracts
src/Lexplosion.Core/Logic/Management/Installers/ArchiveInstallManager.cs - Downloads and files → Game services: fetches resources
- Game profile → Add-on catalogs: browses add-ons
src/Lexplosion.Core/Logic/Management/Instances/InstanceClient.cs - Add-on catalogs → CurseForge API: queries catalog
- Add-on catalogs → Modrinth API: queries catalog
- Add-on install and sync → Downloads and files: downloads add-ons
- Player → Account authentication: signs in
- Account authentication → Game services: authenticates
- Player → Themes and settings: customizes
- Game profile → Java selection: selects runtime
- Java selection → Game services: obtains JRE
- Player → Game launch: starts game
- Game launch → Minecraft process: starts process
- Player → Multiplayer networking: joins session
- Multiplayer networking → Network transport: uses transport
- Network transport → Game services: connects peers or server
- Runtime composition → Launcher data storage: creates service
src/Lexplosion.Core/Runtime.cs - Launcher data storage → Downloads and files: persists launcher data
src/Lexplosion.Core/Logic/FileSystem/DataFilesManager.cs