Class ExplodedDirectoryLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ExplodedDirectoryLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
public class ExplodedDirectoryLocator
extends Object
implements net.minecraftforge.forgespi.locating.IModLocator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindManifest
(Path file) void
initArguments
(Map<String, ?> arguments) boolean
isValid
(net.minecraftforge.forgespi.locating.IModFile modFile) name()
void
private void
scanIndividualPath
(Path path, Consumer<Path> pathConsumer) List<net.minecraftforge.forgespi.locating.IModFile>
scanMods()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraftforge.forgespi.locating.IModLocator
findManifestAndSigners
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
rootDirs
-
mods
-
-
Constructor Details
-
ExplodedDirectoryLocator
public ExplodedDirectoryLocator()
-
-
Method Details
-
scanMods
- Specified by:
scanMods
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
name
- Specified by:
name
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
findPath
- Specified by:
findPath
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
scanFile
public void scanFile(net.minecraftforge.forgespi.locating.IModFile modFile, Consumer<Path> pathConsumer) - Specified by:
scanFile
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
scanIndividualPath
-
toString
-
findManifest
- Specified by:
findManifest
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
initArguments
- Specified by:
initArguments
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
isValid
public boolean isValid(net.minecraftforge.forgespi.locating.IModFile modFile) - Specified by:
isValid
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-