Interface ClassProcessorProvider

All Known Implementing Classes:
NeoForgeCoreMod

public interface ClassProcessorProvider
A provider can be implemented and exposed using the Java ServiceLoader to contribute class processors to the launching game. You can also provide ClassProcessor implementations using service loader directly, but this interface allows the launch environment to be inspected and processors to be added conditionally.
  • Method Details

    • createProcessors

      void createProcessors(ClassProcessorProvider.Context context, ClassProcessorProvider.Collector collector)
      Called by the loader when it collects all class processors to apply to the game. Providers must add any processors they want to activate for the currently launching game to collector.