Skip to main content
Version: 26.2

Client Lifecycle Events

dev.architectury.event.events.client.ClientLifecycleEvent

Fires as the client starts, stops, and loads levels.

Client-only

Every event on this page fires only on the physical client. Register them from client-side code, not from your common initializer.

Events

EventListener receivesWhen
CLIENT_STARTEDMinecraftThe client has initialized.
CLIENT_STOPPINGMinecraftThe client is shutting down.
CLIENT_LEVEL_LOADClientLevelA level was loaded on the client.
CLIENT_SETUPMinecraftClient setup has begun. Registries should be populated by now.

Example

ClientLifecycleEvent.CLIENT_STARTED.register(minecraft -> {
// the client is ready
});