Class ClientLifecycleEvents

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

@Deprecated public final class ClientLifecycleEvents extends Object
Deprecated.
Use Quilt Lifecycle Events' ClientLifecycleEvents instead.
  • Field Details

    • CLIENT_STARTED

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