Class ModsFolderLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
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 String
private static org.apache.logging.log4j.Logger
private Path
private static String
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
MANIFEST, MODS_TOML
-
Constructor Summary
ConstructorDescriptionModsFolderLocator(Path modFolder)
ModsFolderLocator(Path modFolder, String name)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initArguments(Map<String,?> arguments)
name()
toString()
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
isValid, scanFile, scanMods
-
Field Details
-
SUFFIX
- See Also:
- Constant Field Values
-
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 classAbstractJarFileLocator
-
name
-
toString
-
initArguments
-