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
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final Attributes.Name
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
MODS_TOML
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static Path
private static Path
getPathFromResource
(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, scanFile
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.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:
name
in interfacenet.minecraftforge.forgespi.locating.IModProvider
-
scanMods
- Specified by:
scanMods
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
getUrls
-
getPath
-
getPathFromResource
-