Java library for Minecraft launchers
Keep launcher code simple
Minified handles authentication, versions, assets, libraries, Java runtimes and mod loaders behind a clean, modular API.
ExampleJava
LaunchConfiguration config = new LaunchConfiguration.Builder() .assetsDirectory(Path.of("<your assets directory>")) .librariesDirectory(Path.of("<your libraries directory>")) .jarFile(Path.of("<path to your client.jar>")) .loader(new VanillaLoader("26.2")) .build();
Launcher.launchMinecraft( null, // Use the authentication guide to pass a user. config);