Package com.oliveryasuna.mc.coal.fabric
Class CoalFabricMod
java.lang.Object
com.oliveryasuna.mc.coal.fabric.CoalFabricMod
- All Implemented Interfaces:
net.fabricmc.api.ModInitializer
Fabric entry point for the COAL mod.
Kicks off Coal.bootstrap() eagerly so the discovered provider name
shows up in the log at COAL mod-init, not at the first
Coal.register(Class) call from some consumer mod later.
Wires FabricPlatform.setServer(net.minecraft.server.MinecraftServer)
to server-lifecycle events so the main-thread executor targets the live
server on the server dist.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CoalFabricMod
public CoalFabricMod()
-
-
Method Details
-
onInitialize
public void onInitialize()- Specified by:
onInitializein interfacenet.fabricmc.api.ModInitializer
-