Interface IOrderedProvider

All Known Subinterfaces:
IDependencyLocator, IModFileCandidateLocator, IModFileReader
All Known Implementing Classes:
JarInJarDependencyLocator, JarModsDotTomlModFileReader, MavenDirectoryLocator, ModsFolderLocator, NeoForgeDevProvider, NestedLibraryModReader, PathBasedLocator, ProductionClientProvider, ProductionServerProvider, UserdevLocator

public interface IOrderedProvider
Base interface for providers that support ordering.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The default priority of providers that otherwise do not specify a priority.
    static final int
    The highest priority a providers built into NeoForge will use.
    static final int
    The lowest priority a providers built into NeoForge will use.
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Gets the priority in which this provider will be called.
  • Field Details

    • DEFAULT_PRIORITY

      static final int DEFAULT_PRIORITY
      The default priority of providers that otherwise do not specify a priority.
      See Also:
    • HIGHEST_SYSTEM_PRIORITY

      static final int HIGHEST_SYSTEM_PRIORITY
      The highest priority a providers built into NeoForge will use.
      See Also:
    • LOWEST_SYSTEM_PRIORITY

      static final int LOWEST_SYSTEM_PRIORITY
      The lowest priority a providers built into NeoForge will use.
      See Also:
  • Method Details

    • getPriority

      default int getPriority()
      Gets the priority in which this provider will be called. A higher value means the provider will be called earlier.