Class MavenDirectoryLocator
java.lang.Object
net.neoforged.fml.loading.moddiscovery.locators.MavenDirectoryLocator
- All Implemented Interfaces:
IModFileCandidateLocator
,IOrderedProvider
Locates mod-file candidates from Maven repository folder-structures.
Maven coordinates for mods must be provided via the FML command line.
-
Field Summary
Fields 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.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.neoforged.neoforgespi.locating.IOrderedProvider
getPriority
-
Constructor Details
-
MavenDirectoryLocator
public MavenDirectoryLocator()
-
-
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
-