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 TypeMethodDescriptionvoid
findCandidates
(ILaunchContext context, IDiscoveryPipeline pipeline) Discovers potential mods to be loaded by FML.int
Gets the priority in which this provider will be called.toString()
-
Field Details
-
additionalContent
-
-
Constructor Details
-
ProductionServerProvider
-
-
Method Details
-
findCandidates
Description copied from interface:IModFileCandidateLocator
Discovers potential mods to be loaded by FML.- Specified by:
findCandidates
in interfaceIModFileCandidateLocator
- Parameters:
pipeline
- Adds discovered mods and issues to this pipeline.
-
toString
-
getPriority
public int getPriority()Description copied from interface:IOrderedProvider
Gets the priority in which this provider will be called. A higher value means the provider will be called earlier.- Specified by:
getPriority
in interfaceIOrderedProvider
-