Package net.fabricmc.api
Interface ModInitializer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A mod initializer.
In fabric.mod.json
, the entrypoint is defined with main
key.
-
Method Summary
-
Method Details
-
onInitialize
void onInitialize()Runs the mod initializer.
-