Class ClasspathLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
net.minecraftforge.fml.loading.moddiscovery.ClasspathLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator,net.minecraftforge.forgespi.locating.IModProvider
@Internal
public class ClasspathLocator
extends AbstractModProvider
implements net.minecraftforge.forgespi.locating.IModLocator
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.forgespi.locating.IModLocator
net.minecraftforge.forgespi.locating.IModLocator.ModFileOrException -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate static final Attributes.NameFields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
MODS_TOML -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Pathprivate static PathgetPathFromResource(ClassLoader cl, String resource) getUrls(ClassLoader cl, String resource) name()List<net.minecraftforge.forgespi.locating.IModLocator.ModFileOrException>scanMods()Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
createMod, getDefaultJarModType, initArguments, isValid, manifestParser, scanFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.forgespi.locating.IModProvider
initArguments, isValid, scanFile
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MOD_TYPE
-
-
Constructor Details
-
ClasspathLocator
public ClasspathLocator()
-
-
Method Details
-
name
- Specified by:
namein interfacenet.minecraftforge.forgespi.locating.IModProvider
-
scanMods
- Specified by:
scanModsin interfacenet.minecraftforge.forgespi.locating.IModLocator
-
getUrls
-
getPath
-
getPathFromResource
-