Class MinecraftLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
public class MinecraftLocator
extends AbstractModLocator
implements net.minecraftforge.forgespi.locating.IModLocator
-
Field Summary
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
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.IModFile>
scanMods()
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
isValid, scanMods
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.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.IModLocator
-
scanFile
public void scanFile(net.minecraftforge.forgespi.locating.IModFile modFile, Consumer<Path> pathConsumer) - Specified by:
scanFile
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
initArguments
- Specified by:
initArguments
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-