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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Represents the key which this value is defined with, whose value is "yumi:dedicated_server_init".
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Runs the dedicated server mod initializer.
  • Field Details

    • ENTRYPOINT_KEY

      static final String ENTRYPOINT_KEY
      Represents the key which this value is defined with, whose value is "yumi:dedicated_server_init".
      See Also:
  • Method Details

    • onInitializeDedicatedServer

      void onInitializeDedicatedServer(ModContainer mod)
      Runs the dedicated server mod initializer.
      Parameters:
      mod - the mod which is initialized