Class AbstractModProvider
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModProvider
- Direct Known Subclasses:
AbstractJarFileModProvider
,MinecraftLocator
public abstract class AbstractModProvider
extends Object
implements net.minecraftforge.forgespi.locating.IModProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraftforge.forgespi.locating.IModLocator.ModFileOrException
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.IModProvider
initArguments, name, scanFile
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MODS_TOML
- See Also:
-
MANIFEST
- See Also:
-
-
Constructor Details
-
AbstractModProvider
public AbstractModProvider()
-
-
Method Details
-
createMod
protected net.minecraftforge.forgespi.locating.IModLocator.ModFileOrException createMod(Path... path) -
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.IModProvider
-
getDefaultJarModType
-