Class AbstractJarFileDependencyLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileModProvider
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IDependencyLocator
,net.minecraftforge.forgespi.locating.IModProvider
- Direct Known Subclasses:
JarInJarDependencyLocator
public abstract class AbstractJarFileDependencyLocator
extends AbstractJarFileModProvider
implements net.minecraftforge.forgespi.locating.IDependencyLocator
-
Field Summary
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
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.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, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.forgespi.locating.IDependencyLocator
scanMods
Methods inherited from interface net.minecraftforge.forgespi.locating.IModProvider
initArguments, isValid, name, scanFile
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
AbstractJarFileDependencyLocator
public AbstractJarFileDependencyLocator()
-
-
Method Details
-
loadResourceFromModFile
protected Optional<InputStream> loadResourceFromModFile(net.minecraftforge.forgespi.locating.IModFile modFile, Path path) -
loadModFileFrom
-
identifyMod
-