Class EarlyServiceDiscovery

java.lang.Object
net.neoforged.fml.loading.EarlyServiceDiscovery

final class EarlyServiceDiscovery extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • SERVICES

      private static final Set<Class<?>> SERVICES
  • Constructor Details

    • EarlyServiceDiscovery

      private EarlyServiceDiscovery()
  • Method Details

    • findEarlyServiceJars

      public static List<ModFile> findEarlyServiceJars(StartupArgs startupArgs, Path directory)
      Find and load early services from the mods directory.
    • findClasspathServices

      private static void findClasspathServices(StartupArgs startupArgs, Set<Path> candidates)
    • getEarlyServiceModFile

      private static ModFile getEarlyServiceModFile(Path path)
    • createEarlyServiceModFile

      private static ModFile createEarlyServiceModFile(Path path) throws IOException
      Throws:
      IOException