@Environment(value=CLIENT) public final class ClientLifecycleEvents extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ClientLifecycleEvents.ClientStarted |
static interface |
ClientLifecycleEvents.ClientStopping |
Modifier and Type | Field and Description |
---|---|
static Event<ClientLifecycleEvents.ClientStarted> |
CLIENT_STARTED
Called when Minecraft has started and it's client about to tick for the first time.
|
static Event<ClientLifecycleEvents.ClientStopping> |
CLIENT_STOPPING
Called when Minecraft's client begins to stop.
|
public static final Event<ClientLifecycleEvents.ClientStarted> CLIENT_STARTED
This occurs while the splash screen is displayed.
public static final Event<ClientLifecycleEvents.ClientStopping> CLIENT_STOPPING
This will be called before the integrated server is stopped if it is running.