Class ModsFolderLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileModLocator
net.minecraftforge.fml.loading.moddiscovery.ModsFolderLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
Support loading mods located in JAR files in the mods folder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private static final org.apache.logging.log4j.Logger
private final Path
private static final String
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
MANIFEST, MODS_TOML
-
Constructor Summary
ConstructorDescriptionModsFolderLocator
(Path modFolder) ModsFolderLocator
(Path modFolder, String name) -
Method Summary
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileModLocator
scanMods
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
scanFile
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
createMod, getDefaultJarModType, isValid, manifestParser
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraftforge.forgespi.locating.IModLocator
isValid, scanFile, scanMods
-
Field Details
-
SUFFIX
- See Also:
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
modFolder
-
customName
-
-
Constructor Details
-
ModsFolderLocator
public ModsFolderLocator() -
ModsFolderLocator
ModsFolderLocator(Path modFolder) -
ModsFolderLocator
-
-
Method Details
-
scanCandidates
- Specified by:
scanCandidates
in classAbstractJarFileModLocator
-
name
-
toString
-
initArguments
-