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
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptiondefault int
Gets the priority in which this provider will be called.
-
Field Details
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITYThe default priority of providers that otherwise do not specify a priority.- See Also:
-
HIGHEST_SYSTEM_PRIORITY
static final int HIGHEST_SYSTEM_PRIORITYThe highest priority a providers built into NeoForge will use.- See Also:
-
LOWEST_SYSTEM_PRIORITY
static final int LOWEST_SYSTEM_PRIORITYThe 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.
-