Class JarInJarDependencyLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator
net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator
- All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
-
Field Summary
Fields inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
MANIFEST, MODS_TOML
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected EarlyLoadingException
exception
(Collection<net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile>> failedDependencies) private @NotNull String
formatError
(JarInJarDependencyLocator.ModWithVersionRange modWithVersionRange) protected String
private @NotNull String
getErrorTranslationKey
(net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile> entry) private @NotNull Stream<JarInJarDependencyLocator.ModWithVersionRange>
getModWithVersionRangeStream
(net.minecraftforge.jarjar.selection.JarSelector.SourceWithRequestedVersionRange<net.minecraftforge.forgespi.locating.IModFile> file) void
initArguments
(Map<String, ?> arguments) name()
List<net.minecraftforge.forgespi.locating.IModFile>
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator
identifyMod, loadModFileFrom, loadResourceFromModFile
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
scanFile
Methods inherited from class net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
createMod, isValid, manifestParser
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
scanMods
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
JarInJarDependencyLocator
public JarInJarDependencyLocator()
-
-
Method Details
-
name
-
scanMods
-
initArguments
-
getDefaultJarModType
- Overrides:
getDefaultJarModType
in classAbstractModLocator
-
exception
protected EarlyLoadingException exception(Collection<net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile>> failedDependencies) -
getErrorTranslationKey
@NotNull private @NotNull String getErrorTranslationKey(net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile> entry) -
getModWithVersionRangeStream
@NotNull private @NotNull Stream<JarInJarDependencyLocator.ModWithVersionRange> getModWithVersionRangeStream(net.minecraftforge.jarjar.selection.JarSelector.SourceWithRequestedVersionRange<net.minecraftforge.forgespi.locating.IModFile> file) -
formatError
@NotNull private @NotNull String formatError(JarInJarDependencyLocator.ModWithVersionRange modWithVersionRange)
-