Interface ClientModInitializer


public interface ClientModInitializer
A mod initializer.

In quilt.mod.json, the entrypoint is defined with "client_init" key.

Currently, it is executed in BlockGame.create(), at it's tail after the common ModInitializer

Since:
2.3.0
  • Field Summary

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

    Modifier and Type
    Method
    Description
    void
    onInitializeClient(org.quiltmc.loader.api.ModContainer mod)
    Runs the mod initializer on the client environment.
  • Field Details

    • ENTRYPOINT_KEY

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

    • onInitializeClient

      void onInitializeClient(org.quiltmc.loader.api.ModContainer mod)
      Runs the mod initializer on the client environment.
      Parameters:
      mod - the mod which is initialized