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
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate static final org.apache.logging.log4j.Loggerprivate final Pathprivate static final StringFields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
MANIFEST, MODS_TOML -
Constructor Summary
ConstructorsConstructorDescriptionModsFolderLocator(Path modFolder) ModsFolderLocator(Path modFolder, String name) -
Method Summary
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileModLocator
scanModsMethods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
scanFileMethods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
createMod, getDefaultJarModType, isValid, manifestParserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
scanCandidatesin classAbstractJarFileModLocator
-
name
-
toString
-
initArguments
-