recordSource
public record GameStoppedEvent(int exitCode, LaunchConfiguration launchConfiguration)
    implements Event

Gets fired when the Minecraft Process has been stopped

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

Record components

exitCodeint

The exit code that was returned by the process

Accessor: exitCode()
launchConfigurationLaunchConfiguration

The launch configuration that was used to launch the game

Accessor: launchConfiguration()

Constructors

public GameStoppedEvent(int exitCode, LaunchConfiguration launchConfiguration)
Parameters
exitCodeint
launchConfigurationLaunchConfiguration