Class ProductionServerProvider
java.lang.Object
net.neoforged.fml.loading.moddiscovery.locators.ProductionServerProvider
- All Implemented Interfaces:
IModFileCandidateLocator,IOrderedProvider
Locates the Minecraft server files in a production environment.
-
Field Summary
FieldsFields inherited from interface net.neoforged.neoforgespi.locating.IOrderedProvider
DEFAULT_PRIORITY, HIGHEST_SYSTEM_PRIORITY, LOWEST_SYSTEM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindCandidates(ILaunchContext context, IDiscoveryPipeline pipeline) Discovers potential mods to be loaded by FML.intGets the priority in which this provider will be called.toString()
-
Field Details
-
additionalContent
-
-
Constructor Details
-
ProductionServerProvider
-
-
Method Details
-
findCandidates
Description copied from interface:IModFileCandidateLocatorDiscovers potential mods to be loaded by FML.- Specified by:
findCandidatesin interfaceIModFileCandidateLocator- Parameters:
pipeline- Adds discovered mods and issues to this pipeline.
-
toString
-
getPriority
public int getPriority()Description copied from interface:IOrderedProviderGets the priority in which this provider will be called. A higher value means the provider will be called earlier.- Specified by:
getPriorityin interfaceIOrderedProvider
-