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
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static org.apache.logging.log4j.Loggerprivate Pathprivate static StringFields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
MANIFEST, MODS_TOML -
Constructor Summary
ConstructorsConstructorDescriptionModsFolderLocator(Path modFolder)ModsFolderLocator(Path modFolder, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitArguments(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:
scanCandidatesin classAbstractJarFileLocator
-
name
-
toString
-
initArguments
-