Interface DedicatedServerModInitializer
public interface DedicatedServerModInitializer
A mod initializer which is run only on
EnvType.SERVER.
In mod manifests, the value is defined with "yumi:dedicated_server_init" key.
Currently, it is executed in Main.main(String[]), just after the EULA has been agreed to.
- 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:dedicated_server_init". -
Method Summary
Modifier and TypeMethodDescriptionvoidRuns the dedicated server mod initializer.
-
Field Details
-
ENTRYPOINT_KEY
Represents the key which this value is defined with, whose value is "yumi:dedicated_server_init".- See Also:
-
-
Method Details
-
onInitializeDedicatedServer
Runs the dedicated server mod initializer.- Parameters:
mod- the mod which is initialized
-