Class JarInJarDependencyLocator

All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator

public class JarInJarDependencyLocator extends AbstractJarFileDependencyLocator
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
  • Constructor Details

    • JarInJarDependencyLocator

      public JarInJarDependencyLocator()
  • Method Details

    • name

      public String name()
    • scanMods

      public List<net.minecraftforge.forgespi.locating.IModFile> scanMods(Iterable<net.minecraftforge.forgespi.locating.IModFile> loadedMods)
    • initArguments

      public void initArguments(Map<String,?> arguments)
    • getDefaultJarModType

      protected String getDefaultJarModType()
      Overrides:
      getDefaultJarModType in class AbstractModLocator
    • 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)