public class ClasspathLocator extends AbstractJarFileLocator
Modifier and Type | Field and 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 |
modJars
Constructor and Description |
---|
ClasspathLocator() |
Modifier and Type | Method and 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() |
createFileSystem, findManifest, findPath, isValid, scanFile
private static final org.apache.logging.log4j.Logger LOGGER
private static final java.lang.String MODS_TOML
private static final java.lang.String MANIFEST
private java.util.Set<java.nio.file.Path> modCoords
public java.util.List<net.minecraftforge.forgespi.locating.IModFile> scanMods()
public java.lang.String name()
public 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) throws java.io.IOException
java.io.IOException