Package net.minecraftforge.userdev
Class ClasspathLocator
- java.lang.Object
-
- net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
-
- net.minecraftforge.userdev.ClasspathLocator
-
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
public class ClasspathLocator extends AbstractJarFileLocator
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
LOGGER
private static java.lang.String
MANIFEST
private java.util.Set<java.nio.file.Path>
modCoords
private static java.lang.String
MODS_TOML
-
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
modJars
-
-
Constructor Summary
Constructors Constructor Description ClasspathLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initArguments(java.util.Map<java.lang.String,?> arguments)
private void
locateMods(java.lang.String resource, java.lang.String name, java.util.function.Predicate<java.nio.file.Path> filter)
java.lang.String
name()
java.util.List<net.minecraftforge.forgespi.locating.IModFile>
scanMods()
-
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
createFileSystem, findManifest, findManifestAndSigners, findPath, isValid, scanFile
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
MODS_TOML
private static final java.lang.String MODS_TOML
- See Also:
- Constant Field Values
-
MANIFEST
private static final java.lang.String MANIFEST
- See Also:
- Constant Field Values
-
modCoords
private java.util.Set<java.nio.file.Path> modCoords
-
-
Method Detail
-
scanMods
public java.util.List<net.minecraftforge.forgespi.locating.IModFile> scanMods()
-
name
public java.lang.String name()
-
initArguments
public void initArguments(java.util.Map<java.lang.String,?> arguments)
-
locateMods
private void locateMods(java.lang.String resource, java.lang.String name, java.util.function.Predicate<java.nio.file.Path> filter) throws java.io.IOException
- Throws:
java.io.IOException
-
-