Class ClientLifecycleEvents
java.lang.Object
net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents
@Environment(CLIENT) public final class ClientLifecycleEvents extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClientLifecycleEvents.ClientStarted
static interface
ClientLifecycleEvents.ClientStopping
-
Field Summary
Fields Modifier and Type Field 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. -
Method Summary
-
Field Details
-
CLIENT_STARTED
Called when Minecraft has started and it's client about to tick for the first time.This occurs while the splash screen is displayed.
-
CLIENT_STOPPING
Called when Minecraft's client begins to stop. This is caused by quitting while in game, or closing the game window.This will be called before the integrated server is stopped if it is running.
-