Class ExplodedDirectoryLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ExplodedDirectoryLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
,net.minecraftforge.forgespi.locating.IModProvider
public class ExplodedDirectoryLocator
extends Object
implements net.minecraftforge.forgespi.locating.IModLocator
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.forgespi.locating.IModLocator
net.minecraftforge.forgespi.locating.IModLocator.ModFileOrException
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ExplodedDirectoryLocator.ExplodedMod>
private static final org.slf4j.Logger
private final Map<ExplodedDirectoryLocator.ExplodedMod,
net.minecraftforge.forgespi.locating.IModFile> -
Constructor Summary
-
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.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.IModProvider
-
scanFile
public void scanFile(net.minecraftforge.forgespi.locating.IModFile file, Consumer<Path> pathConsumer) - Specified by:
scanFile
in interfacenet.minecraftforge.forgespi.locating.IModProvider
-
toString
-
initArguments
- Specified by:
initArguments
in interfacenet.minecraftforge.forgespi.locating.IModProvider
-
isValid
public boolean isValid(net.minecraftforge.forgespi.locating.IModFile modFile) - Specified by:
isValid
in interfacenet.minecraftforge.forgespi.locating.IModProvider
-