Interface IOrderedProvider
- All Known Subinterfaces:
IDependencyLocator,IModFileCandidateLocator,IModFileReader
- All Known Implementing Classes:
GameLocator,InDevFolderLocator,InDevJarLocator,JarInJarDependencyLocator,JarModsDotTomlModFileReader,ModsFolderLocator,NestedLibraryModReader,PathBasedLocator
public interface IOrderedProvider
Base interface for providers that support ordering.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default priority of providers that otherwise do not specify a priority.static final intThe highest priority a providers built into NeoForge will use.static final intThe lowest priority a providers built into NeoForge will use. -
Method Summary
Modifier and TypeMethodDescriptiondefault intGets 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.
-