Interface ClientModInitializer


public interface ClientModInitializer
A mod initializer which is run only on EnvType.CLIENT.

This value is suitable for setting up client-specific logic, such as rendering or integrated server tweaks.

In mod manifests, the value is defined with "yumi:client_init" key.

Currently, it is executed in the Minecraft constructor, just before the initialization of the Options.

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:client_init".
  • Method Summary

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

    • ENTRYPOINT_KEY

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

    • onInitializeClient

      void onInitializeClient(ModContainer mod)
      Runs the client mod initializer.
      Parameters:
      mod - the mod which is initialized