Class FMLCommonLaunchHandler

java.lang.Object
net.minecraftforge.fml.loading.FMLCommonLaunchHandler
Direct Known Subclasses:
FMLClientLaunchProvider, FMLDevClientLaunchProvider, FMLDevServerLaunchProvider, FMLServerLaunchProvider, FMLUserdevLaunchProvider

public abstract class FMLCommonLaunchHandler extends Object
  • Field Details

    • LOGGER

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

      private static final List<String> SKIPPACKAGES
    • additionalLibraries

      private final List<Path> additionalLibraries
  • Constructor Details

    • FMLCommonLaunchHandler

      public FMLCommonLaunchHandler()
  • Method Details

    • getPackagePredicate

      protected Predicate<String> getPackagePredicate()
    • getForgePath

      public Path getForgePath(String mcVersion, String forgeVersion, String forgeGroup)
    • getMCPaths

      public Path[] getMCPaths(String mcVersion, String mcpVersion, String forgeVersion, String forgeGroup)
    • configureTransformationClassLoader

      public void configureTransformationClassLoader(cpw.mods.modlauncher.api.ITransformingClassLoaderBuilder builder)
    • setup

      public void setup(cpw.mods.modlauncher.api.IEnvironment environment, Map<String,?> arguments)
    • getDist

      public abstract net.minecraftforge.api.distmarker.Dist getDist()
    • beforeStart

      protected void beforeStart(cpw.mods.modlauncher.api.ITransformingClassLoader launchClassLoader)
    • processModClassesEnvironmentVariable

      protected void processModClassesEnvironmentVariable(Map<String,List<org.apache.commons.lang3.tuple.Pair<Path,List<Path>>>> arguments)
    • buildModPair

      private org.apache.commons.lang3.tuple.Pair<String,Path> buildModPair(String[] splitString)
    • validatePaths

      protected void validatePaths(Path forgePath, Path[] mcPaths, String forgeVersion, String mcVersion, String mcpVersion)
    • getClassLoaderResourceEnumerationFunction

      protected Function<String,Enumeration<URL>> getClassLoaderResourceEnumerationFunction()
    • getClassLoaderManifestLocatorFunction

      protected Function<URLConnection,Optional<Manifest>> getClassLoaderManifestLocatorFunction()
    • getNaming

      protected abstract String getNaming()
    • addLibraries

      void addLibraries(List<ModFile> libraries)
    • isProduction

      public boolean isProduction()
    • isData

      public boolean isData()