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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ExplodedDirectoryLocator.ExplodedMod>
private static final org.apache.logging.log4j.Logger
private final Map<ExplodedDirectoryLocator.ExplodedMod,
net.minecraftforge.forgespi.locating.IModFile> -
Constructor Summary
-
Method Summary
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
scanMods
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
explodedMods
-
mods
private final Map<ExplodedDirectoryLocator.ExplodedMod,net.minecraftforge.forgespi.locating.IModFile> 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
-
scanFile
public void scanFile(net.minecraftforge.forgespi.locating.IModFile file, Consumer<Path> pathConsumer) - Specified by:
scanFile
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
toString
-
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
-