Class ModDirTransformerDiscoverer

java.lang.Object
net.minecraftforge.fml.loading.ModDirTransformerDiscoverer
All Implemented Interfaces:
cpw.mods.modlauncher.serviceapi.ITransformerDiscoveryService

@Internal public class ModDirTransformerDiscoverer extends Object implements cpw.mods.modlauncher.serviceapi.ITransformerDiscoveryService
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • SERVICES

      private static final Set<String> SERVICES
    • found

      private static final List<cpw.mods.modlauncher.api.NamedPath> found
  • Constructor Details

    • ModDirTransformerDiscoverer

      public ModDirTransformerDiscoverer()
  • Method Details

    • candidates

      public List<cpw.mods.modlauncher.api.NamedPath> candidates(Path gameDirectory, String launchTarget)
      Specified by:
      candidates in interface cpw.mods.modlauncher.serviceapi.ITransformerDiscoveryService
    • earlyInitialization

      public void earlyInitialization(String launchTarget, String[] arguments)
      Specified by:
      earlyInitialization in interface cpw.mods.modlauncher.serviceapi.ITransformerDiscoveryService
    • candidates

      public List<cpw.mods.modlauncher.api.NamedPath> candidates(Path gameDirectory)
      Specified by:
      candidates in interface cpw.mods.modlauncher.serviceapi.ITransformerDiscoveryService
    • allExcluded

      public static List<Path> allExcluded()
    • scan

      private static void scan(Path gameDirectory)
    • visitFile

      private static void visitFile(Path path)
    • isServiceProvider

      public static boolean isServiceProvider(Path path)