Class CommonLaunchHandler

java.lang.Object
net.minecraftforge.fml.loading.targets.CommonLaunchHandler
All Implemented Interfaces:
cpw.mods.modlauncher.api.ILaunchHandlerService
Direct Known Subclasses:
CommonDevLaunchHandler, ForgeProdLaunchHandler

public abstract class CommonLaunchHandler extends Object implements cpw.mods.modlauncher.api.ILaunchHandlerService
This is required by FMLLoader because ILaunchHandlerService doesn't have the context we need. I need to clean this up to make proper api. But that involves editing ModLauncher itself which i'm not gunna do right now. So until that happens, guess this is public api.
  • Field Details

  • Constructor Details

  • Method Details

    • name

      public String name()
      Specified by:
      name in interface cpw.mods.modlauncher.api.ILaunchHandlerService
    • getDist

      public net.minecraftforge.api.distmarker.Dist getDist()
    • isData

      public boolean isData()
    • isProduction

      public boolean isProduction()
    • getNaming

      public abstract String getNaming()
    • getMinecraftPaths

      public abstract List<Path> getMinecraftPaths()
    • configureTransformationClassLoader

      public void configureTransformationClassLoader(cpw.mods.modlauncher.api.ITransformingClassLoaderBuilder builder)
      Specified by:
      configureTransformationClassLoader in interface cpw.mods.modlauncher.api.ILaunchHandlerService
    • preLaunch

      protected String[] preLaunch(String[] arguments, ModuleLayer layer)
    • launchService

      public cpw.mods.modlauncher.api.ServiceRunner launchService(String[] arguments, ModuleLayer gameLayer)
      Specified by:
      launchService in interface cpw.mods.modlauncher.api.ILaunchHandlerService
    • makeService

      protected cpw.mods.modlauncher.api.ServiceRunner makeService(String[] arguments, ModuleLayer gameLayer)
    • runTarget

      protected void runTarget(String module, String target, String[] arguments, ModuleLayer layer) throws Throwable
      Throws:
      Throwable