Interface GameMod


public interface GameMod
Startup entry point for a trusted, locally enabled Java mod.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Registers immutable extensions before gameplay registries initialize.
  • Method Details

    • register

      void register(ModContext context)
      Registers immutable extensions before gameplay registries initialize. Implementations must not initialize game registries or retain the context. The host constructs the entry point through a public no-argument constructor and invokes this method on the startup thread. Use the final-registry callback for content-dependent checks.
      Parameters:
      context - registrations scoped to this manifest's namespace