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
FieldsFields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
MANIFEST, MODS_TOML -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate net.minecraftforge.forgespi.language.IModFileInfobuildMinecraftTOML(net.minecraftforge.forgespi.locating.IModFile iModFile) voidinitArguments(Map<String, ?> arguments) name()voidList<net.minecraftforge.forgespi.locating.IModFile>scanMods()Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
createMod, getDefaultJarModType, isValid, manifestParserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
scanModsin interfacenet.minecraftforge.forgespi.locating.IModLocator
-
buildMinecraftTOML
private net.minecraftforge.forgespi.language.IModFileInfo buildMinecraftTOML(net.minecraftforge.forgespi.locating.IModFile iModFile) -
name
- Specified by:
namein interfacenet.minecraftforge.forgespi.locating.IModLocator
-
scanFile
public void scanFile(net.minecraftforge.forgespi.locating.IModFile modFile, Consumer<Path> pathConsumer) - Specified by:
scanFilein interfacenet.minecraftforge.forgespi.locating.IModLocator
-
initArguments
- Specified by:
initArgumentsin interfacenet.minecraftforge.forgespi.locating.IModLocator
-