Skip to content

GameStartEvent

Gets fired when Minecraft is starting.

userUser

The user that was used to launch the game.

launchConfigurationLaunchConfiguration

The launch configuration that was used to launch the game.

onlineboolean

Whether the connectivity check earlier in the launch succeeded.

This is the last event posted before Minified actually calls ProcessBuilder.start(). By the time you receive it, everything else has already happened: connectivity was checked, Forge/NeoForge (if applicable) was installed, the required Java runtime was resolved, assets/libraries/the client JAR were downloaded, and the full JVM/game argument list was built. It fires exactly once per Launcher.launchMinecraft(...) call, right after the X11 environment fix-up (see ConfigureX11EnvironmentEvent) and immediately before the process starts.

online reflects the result of the connectivity check from earlier in the same call (see CheckConnectionEvent) - user is whatever you passed into launchMinecraft(...), which is null for a fully offline launch.

Once this event fires, Minified blocks on Process.waitFor() until the game exits - see GameStoppedEvent for what happens next.