Package net.neoforged.neoforge.client
Class ClientLifecycleHooks
java.lang.Object
net.neoforged.neoforge.client.ClientLifecycleHooks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
handleClientStarted
(net.minecraft.client.Minecraft minecraft) Emits the ClientStartedEvent right before the client ticks for the first time.static void
handleClientStopped
(net.minecraft.client.Minecraft minecraft) Emits the ClientStoppedEvent right after the client has freed all of its resources and is about to shut down the process.static void
handleClientStopping
(net.minecraft.client.Minecraft minecraft) Emits the ClientStoppingEvent when the client is about to free all of its resources.
-
Constructor Details
-
ClientLifecycleHooks
public ClientLifecycleHooks()
-
-
Method Details
-
handleClientStarted
public static void handleClientStarted(net.minecraft.client.Minecraft minecraft) Emits the ClientStartedEvent right before the client ticks for the first time. -
handleClientStopping
public static void handleClientStopping(net.minecraft.client.Minecraft minecraft) Emits the ClientStoppingEvent when the client is about to free all of its resources. -
handleClientStopped
public static void handleClientStopped(net.minecraft.client.Minecraft minecraft) Emits the ClientStoppedEvent right after the client has freed all of its resources and is about to shut down the process.
-