Class MinecraftLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
public class MinecraftLocator
extends Object
implements net.minecraftforge.forgespi.locating.IModLocator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate net.minecraftforge.forgespi.language.IModFileInfo
buildMinecraftTOML(net.minecraftforge.forgespi.locating.IModFile iModFile)
void
initArguments(Map<String,?> arguments)
boolean
isValid(net.minecraftforge.forgespi.locating.IModFile modFile)
name()
void
List<net.minecraftforge.forgespi.locating.IModFile>
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
-
isValid
public boolean isValid(net.minecraftforge.forgespi.locating.IModFile modFile)- Specified by:
isValid
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-