relauncher
by juanmuscaria
Relauncher lets a library mod restart the Java process with extra JVM arguments before Minecraft finishes loading, so relaunch-dependent mods can be installed by dropping a single JAR.
What it does
Relauncher is a library for Java applications that need JVM flags, garbage collection tuning or system properties in place before the game starts. It restarts the JVM process early in startup, before significant game state is initialized, and passes the added arguments through transparently. Launchers that start the game still see one unbroken process, with no extra windows or leftover processes.
Relauncher is aimed at modpack tooling and at other mods that need to trigger a relaunch after installing dependencies or configuring themselves. Other mods can inject arguments by registering a CommandLineProvider through ServiceLoader, without calling the API directly and without depending on the library at runtime beyond a compile-only dependency. The config file's enabled flag only controls the arguments listed in that file. The mod works on Linux, Windows and macOS across both x86-64 and aarch64 processors, and is published for Fabric, Forge, NeoForge and Quilt. Its latest file is 1.1.0 for 26.1.2.
Key features
Custom JVM arguments
Arguments such as -XX:+AlwaysPreTouch and extra system properties can be added through the config file.
Three relaunch strategies
Relauncher tries three ways of restarting the JVM, in a set order of preference, and uses the first that works.
Argument injection by other mods
Mods that register a CommandLineProvider service are scanned from the mods folder and can add arguments on their own.
Debug logging
Setting relauncher.debug to true logs the full command line, argument assembly and strategy selection, which helps find why a relaunch fails.
Compatibility
Latest build for each game version and loader.
26.x3 of 3 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
35 older game versions (1.6.4 – 1.13) not shown. All files on Modrinth
How it compares
Crash Assistant is a client-side only mod released under a custom license that is not open source, with files for 1.6.4 – 26.3 on Fabric, Forge, NeoForge, Quilt and Legacy Fabric. Crash Command is open source under the MIT License, works on either side and needs neither, and has files for 1.19 – 1.21.8 on Fabric only. Server Restart Command is server-side only, open source under the MIT License, and published for 26.1 – 26.2 on Fabric.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| relauncher | Fabric, Forge, NeoForge and Quilt | 1.6.4 – 26.1.2 | Client or server, optional | 2026-04-26 |
| Crash Assistant | Fabric, Forge, NeoForge, Quilt and Legacy Fabric | 1.6.4 – 26.3 | Client-side only | 2026-09-20 |
| Crash Command | Fabric | 1.19 – 1.21.8 | Client or server, optional | 2025-06-28 |
| Server Restart Command | Fabric | 26.1 – 26.2 | Server-side only | 2026-07-08 |
Questions
Does Relauncher need to be installed on both sides?
Why isn't the relaunch working the way it should?
How do other mods use Relauncher without calling its API?
In the catalog
relauncher is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from juanmuscaria
Similar mods
What the author says
JVM relaunch library for Java based applications. Drop a single JAR into your mods folder, and it should work from Minecraft 1.6.4 to the latest version, or on Hytale Server as an early plugin or regular plugin. The relaunch happens very early during startup, before any significant game state is initialized. External…
Official listing
- Modrinth page
- modrinth.com/mod/relauncher
- Owner
- juanmuscaria
- Published
- 2026-03-21
- Updated on Modrinth
- 2026-04-26
- Facts verified
- 2026-10-15
