类 JarInJarDependencyLocator
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator
- 所有已实现的接口:
net.minecraftforge.forgespi.locating.IDependencyLocator
,net.minecraftforge.forgespi.locating.IModProvider
@Internal
public class JarInJarDependencyLocator
extends AbstractModProvider
implements net.minecraftforge.forgespi.locating.IDependencyLocator
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private static final String
private static final String
private static final org.slf4j.Logger
private static final String
private static final String
private static final String
从类继承的字段 net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
MODS_TOML, MODULE_INFO
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static EarlyLoadingException.ExceptionData
buildExceptionData
(net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile> entry) protected EarlyLoadingException
exception
(Collection<net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile>> failedDependencies) private static @NotNull String
formatError
(JarInJarDependencyLocator.ModWithVersionRange modWithVersionRange) protected String
private static @NotNull String
getErrorTranslationKey
(net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile> entry) private static @NotNull Stream
<JarInJarDependencyLocator.ModWithVersionRange> getModWithVersionRangeStream
(net.minecraftforge.jarjar.selection.JarSelector.SourceWithRequestedVersionRange<net.minecraftforge.forgespi.locating.IModFile> file) protected String
identifyMod
(net.minecraftforge.forgespi.locating.IModFile modFile) protected Optional
<net.minecraftforge.forgespi.locating.IModFile> loadModFileFrom
(net.minecraftforge.forgespi.locating.IModFile file, Path path) protected Optional
<InputStream> loadResourceFromModFile
(net.minecraftforge.forgespi.locating.IModFile modFile, Path path) name()
List
<net.minecraftforge.forgespi.locating.IModFile> 从类继承的方法 net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
createMod, createMod, createMod, initArguments, isValid, manifestParser, scanFile
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.forgespi.locating.IModProvider
initArguments, isValid, scanFile
-
字段详细资料
-
COLOR_CODE
- 另请参阅:
-
RESET
- 另请参阅:
-
YELLOW
- 另请参阅:
-
RED
- 另请参阅:
-
GREEN
- 另请参阅:
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
构造器详细资料
-
JarInJarDependencyLocator
public JarInJarDependencyLocator()
-
-
方法详细资料
-
name
- 指定者:
name
在接口中net.minecraftforge.forgespi.locating.IModProvider
-
scanMods
public List<net.minecraftforge.forgespi.locating.IModFile> scanMods(Iterable<net.minecraftforge.forgespi.locating.IModFile> loadedMods) - 指定者:
scanMods
在接口中net.minecraftforge.forgespi.locating.IDependencyLocator
-
getDefaultJarModType
-
loadModFileFrom
-
exception
protected EarlyLoadingException exception(Collection<net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile>> failedDependencies) -
buildExceptionData
@NotNull private static EarlyLoadingException.ExceptionData buildExceptionData(net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile> entry) -
getErrorTranslationKey
@NotNull private static @NotNull String getErrorTranslationKey(net.minecraftforge.jarjar.selection.JarSelector.ResolutionFailureInformation<net.minecraftforge.forgespi.locating.IModFile> entry) -
getModWithVersionRangeStream
@NotNull private static @NotNull Stream<JarInJarDependencyLocator.ModWithVersionRange> getModWithVersionRangeStream(net.minecraftforge.jarjar.selection.JarSelector.SourceWithRequestedVersionRange<net.minecraftforge.forgespi.locating.IModFile> file) -
loadResourceFromModFile
protected Optional<InputStream> loadResourceFromModFile(net.minecraftforge.forgespi.locating.IModFile modFile, Path path) -
formatError
@NotNull private static @NotNull String formatError(JarInJarDependencyLocator.ModWithVersionRange modWithVersionRange) -
identifyMod
-