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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindManifest(Path file) voidinitArguments(Map<String, ?> arguments) booleanisValid(net.minecraftforge.forgespi.locating.IModFile modFile) name()voidprivate voidscanIndividualPath(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, waitMethods 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:
scanModsin interfacenet.minecraftforge.forgespi.locating.IModLocator
-
name
- Specified by:
namein interfacenet.minecraftforge.forgespi.locating.IModLocator
-
findPath
- Specified by:
findPathin interfacenet.minecraftforge.forgespi.locating.IModLocator
-
scanFile
public void scanFile(net.minecraftforge.forgespi.locating.IModFile modFile, Consumer<Path> pathConsumer) - Specified by:
scanFilein interfacenet.minecraftforge.forgespi.locating.IModLocator
-
scanIndividualPath
-
toString
-
findManifest
- Specified by:
findManifestin interfacenet.minecraftforge.forgespi.locating.IModLocator
-
initArguments
- Specified by:
initArgumentsin interfacenet.minecraftforge.forgespi.locating.IModLocator
-
isValid
public boolean isValid(net.minecraftforge.forgespi.locating.IModFile modFile) - Specified by:
isValidin interfacenet.minecraftforge.forgespi.locating.IModLocator
-