Class AbstractJarFileDependencyLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
- Direct Known Subclasses:
JarInJarDependencyLocator
-
Field Summary
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
MANIFEST, MODS_TOML
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
identifyMod
(net.minecraftforge.forgespi.locating.IModFile modFile) protected Optional<net.minecraftforge.forgespi.locating.IModFile>
loadModFileFrom
(net.minecraftforge.forgespi.locating.IModFile file, Path path) protected Optional<InputStream>
loadResourceFromModFile
(net.minecraftforge.forgespi.locating.IModFile modFile, Path path) 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, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.forgespi.locating.IModLocator
initArguments, name, scanMods, scanMods
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
AbstractJarFileDependencyLocator
public AbstractJarFileDependencyLocator()
-
-
Method Details
-
loadResourceFromModFile
protected Optional<InputStream> loadResourceFromModFile(net.minecraftforge.forgespi.locating.IModFile modFile, Path path) -
loadModFileFrom
-
identifyMod
-