Package dev.yumi.mc.core.api.entrypoint
Interface ModInitializer
public interface ModInitializer
A mod initializer.
In mod manifests, the value is defined with the "yumi:init" key.
Currently, it is executed in Bootstrap.bootStrap(), just before the freezing of built-in registries.
- Since:
- 1.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRepresents the key which this value is defined with, whose value is "yumi:init". -
Method Summary
-
Field Details
-
ENTRYPOINT_KEY
Represents the key which this value is defined with, whose value is "yumi:init".- See Also:
-
-
Method Details
-
onInitialize
Runs the mod initializer.- Parameters:
mod- the mod which is initialized
-