InitializerContext

Initialization context for OptiGUI-compatible mods.

Add an entrypoint named optigui of type EntryPoint to obtain an instance of initializer context. You can initialize OptiGUI-related behavior in EntryPoint.onInitialize.

Functions

Link copied to clipboard

Registers a filter factory.

Link copied to clipboard

Registers the preprocessor for a block entity.

Registers the preprocessor for an entity.