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 List<ExplodedDirectoryLocator.ExplodedMod>
private static org.apache.logging.log4j.Logger
private Map<ExplodedDirectoryLocator.ExplodedMod,net.minecraftforge.forgespi.locating.IModFile>
-
Constructor Summary
-
Method Summary
-
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
-