Package forgottentowns.mod.api
Interface GameMod
public interface GameMod
Startup entry point for a trusted, locally enabled Java mod.
-
Method Summary
Modifier and TypeMethodDescriptionvoidregister(ModContext context) Registers immutable extensions before gameplay registries initialize.
-
Method Details
-
register
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
-