Class AbstractModLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
- Direct Known Subclasses:
AbstractJarFileLocator
,MinecraftLocator
public abstract class AbstractModLocator
extends Object
implements net.minecraftforge.forgespi.locating.IModLocator
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<net.minecraftforge.forgespi.locating.IModFile>
protected String
boolean
isValid
(net.minecraftforge.forgespi.locating.IModFile modFile) protected net.minecraftforge.forgespi.language.IModFileInfo
manifestParser
(net.minecraftforge.forgespi.locating.IModFile mod) 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
initArguments, name, scanFile, scanMods, scanMods
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
MODS_TOML
- See Also:
-
MANIFEST
- See Also:
-
-
Constructor Details
-
AbstractModLocator
public AbstractModLocator()
-
-
Method Details
-
createMod
-
manifestParser
protected net.minecraftforge.forgespi.language.IModFileInfo manifestParser(net.minecraftforge.forgespi.locating.IModFile mod) -
isValid
public boolean isValid(net.minecraftforge.forgespi.locating.IModFile modFile) - Specified by:
isValid
in interfacenet.minecraftforge.forgespi.locating.IModLocator
-
getDefaultJarModType
-