recordSource
public record GameStartEvent(
    User user,
    LaunchConfiguration launchConfiguration,
    boolean online
)
    implements Event

Gets fired when Minecraft is starting

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

Record components

userUser

The user that was used to launch the game

Accessor: user()
launchConfigurationLaunchConfiguration

The launch configuration that was used to launch the game

Accessor: launchConfiguration()
onlineboolean

Whether the connectivity check earlier in the launch succeeded

Accessor: online()

Constructors

public GameStartEvent(
    User user,
    LaunchConfiguration launchConfiguration,
    boolean online
)
Parameters
userUser
launchConfigurationLaunchConfiguration
onlineboolean