Class ModsFolderLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileModProvider
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileModLocator
net.minecraftforge.fml.loading.moddiscovery.ModsFolderLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
,net.minecraftforge.forgespi.locating.IModProvider
Support loading mods located in JAR files in the mods folder
-
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 String
private static final org.slf4j.Logger
private final Path
private static final String
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
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.AbstractJarFileModProvider
scanFile
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
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.IModProvider
isValid, scanFile
-
Field Details
-
SUFFIX
- See Also:
-
LOGGER
private static final org.slf4j.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
-