Class ClientLifecycleEvents

java.lang.Object
net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents

public final class ClientLifecycleEvents extends Object
  • Field Details

    • CLIENT_STARTED

      public static final Event<ClientLifecycleEvents.ClientStarted> 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

      public static final Event<ClientLifecycleEvents.ClientStopping> 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.