public class ModsFolderLocator extends AbstractJarFileLocator
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
customName |
private static org.apache.logging.log4j.Logger |
LOGGER |
private java.nio.file.Path |
modFolder |
private static java.lang.String |
SUFFIX |
modJars
Constructor and Description |
---|
ModsFolderLocator() |
ModsFolderLocator(java.nio.file.Path modFolder) |
ModsFolderLocator(java.nio.file.Path modFolder,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
initArguments(java.util.Map<java.lang.String,?> arguments) |
java.lang.String |
name() |
java.util.List<net.minecraftforge.forgespi.locating.IModFile> |
scanMods() |
java.lang.String |
toString() |
createFileSystem, findManifest, findPath, isValid, scanFile
private static final java.lang.String SUFFIX
private static final org.apache.logging.log4j.Logger LOGGER
private final java.nio.file.Path modFolder
private final java.lang.String customName
public ModsFolderLocator()
ModsFolderLocator(java.nio.file.Path modFolder)
ModsFolderLocator(java.nio.file.Path modFolder, java.lang.String name)
public java.util.List<net.minecraftforge.forgespi.locating.IModFile> scanMods()
public java.lang.String name()
public java.lang.String toString()
toString
in class java.lang.Object
public void initArguments(java.util.Map<java.lang.String,?> arguments)