Quilt Loader 1
Loading...
Searching...
No Matches
net.fabricmc.api.ClientModInitializer Interface Reference

A mod initializer ran only on EnvType#CLIENT. More...

Inheritance diagram for net.fabricmc.api.ClientModInitializer:
org.quiltmc.loader.api.entrypoint.GameEntrypoint

Public Member Functions

void onInitializeClient ()
 Runs the mod initializer on the client environment.

Detailed Description

A mod initializer ran only on EnvType#CLIENT.

This entrypoint is suitable for setting up client-specific logic, such as rendering or integrated server tweaks.

In fabric.mod.json, the entrypoint is defined with client key.

See also
ModInitializer
DedicatedServerModInitializer
net.fabricmc.loader.api.FabricLoader#getEntrypointContainers(String, Class)
Deprecated
Please migrate to using QSL entrypoints, or use your own mixins.

The documentation for this interface was generated from the following file:
  • src/fabric/api/java/net/fabricmc/api/ClientModInitializer.java