Class MinecraftLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
,net.minecraftforge.forgespi.locating.IModProvider
public class MinecraftLocator
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
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
MANIFEST, MODS_TOML
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate net.minecraftforge.forgespi.language.IModFileInfo
buildMinecraftTOML
(net.minecraftforge.forgespi.locating.IModFile iModFile) void
initArguments
(Map<String, ?> arguments) name()
void
List<net.minecraftforge.forgespi.locating.IModLocator.ModFileOrException>
scanMods()
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.IModProvider
isValid
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
MinecraftLocator
public MinecraftLocator()
-
-
Method Details
-
scanMods
- Specified by:
scanMods
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
buildMinecraftTOML
private net.minecraftforge.forgespi.language.IModFileInfo buildMinecraftTOML(net.minecraftforge.forgespi.locating.IModFile iModFile) -
name
- Specified by:
name
in interfacenet.minecraftforge.forgespi.locating.IModProvider
-
scanFile
public void scanFile(net.minecraftforge.forgespi.locating.IModFile modFile, Consumer<Path> pathConsumer) - Specified by:
scanFile
in interfacenet.minecraftforge.forgespi.locating.IModProvider
-
initArguments
- Specified by:
initArguments
in interfacenet.minecraftforge.forgespi.locating.IModProvider
-