Class ModDiscoverer
- java.lang.Object
-
- net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer
-
public class ModDiscoverer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ModDiscoverer.LocatorClassLoader
private static class
ModDiscoverer.MinecraftLocator
-
Field Summary
Fields Modifier and Type Field Description private static java.nio.file.Path
INVALID_PATH
private ModDiscoverer.LocatorClassLoader
locatorClassLoader
private java.util.List<net.minecraftforge.forgespi.locating.IModLocator>
locatorList
private java.util.ServiceLoader<net.minecraftforge.forgespi.locating.IModLocator>
locators
private static org.apache.logging.log4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description ModDiscoverer(java.util.List<net.minecraftforge.forgespi.locating.IModLocator> locatorList)
ModDiscoverer(java.util.Map<java.lang.String,?> arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackgroundScanHandler
discoverMods()
-
-
-
Field Detail
-
INVALID_PATH
private static final java.nio.file.Path INVALID_PATH
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
locators
private final java.util.ServiceLoader<net.minecraftforge.forgespi.locating.IModLocator> locators
-
locatorList
private final java.util.List<net.minecraftforge.forgespi.locating.IModLocator> locatorList
-
locatorClassLoader
private final ModDiscoverer.LocatorClassLoader locatorClassLoader
-
-
Method Detail
-
discoverMods
public BackgroundScanHandler discoverMods()
-
-