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

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

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

Public Member Functions

void onInitializeServer ()
 Runs the mod initializer on the server environment.

Detailed Description

A mod initializer ran only on EnvType#SERVER.

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

See also
ModInitializer
ClientModInitializer
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/DedicatedServerModInitializer.java