recordSource
public record GameProcessStartedEvent(Process process, LaunchConfiguration launchConfiguration)
    implements Event

Gets fired right after the Minecraft process was spawned, so a launcher can keep a handle to it (to stop it, for example)

Implemented interfaces
Event
Event
When it fires and how to listen to it

Record components

processProcess

The running game process

Accessor: process()
launchConfigurationLaunchConfiguration

The launch configuration that was used to launch the game

Accessor: launchConfiguration()

Constructors

public GameProcessStartedEvent(Process process, LaunchConfiguration launchConfiguration)
Parameters
processProcess
launchConfigurationLaunchConfiguration