Class CommonLaunchHandler

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

public abstract class CommonLaunchHandler extends Object implements cpw.mods.modlauncher.api.ILaunchHandlerService
  • Field Details

    • LOGGER

      protected static final org.slf4j.Logger LOGGER
  • Constructor Details

    • CommonLaunchHandler

      public CommonLaunchHandler()
  • Method Details

    • getDist

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

      public abstract String getNaming()
    • isProduction

      public boolean isProduction()
    • isData

      public boolean isData()
    • getMinecraftPaths

      public abstract CommonLaunchHandler.LocatedPaths 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)
    • getModClasses

      protected final Map<String,List<Path>> getModClasses()
    • launchService

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

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

      protected void clientService(String[] arguments, ModuleLayer layer) throws Throwable
      Throws:
      Throwable
    • serverService

      protected void serverService(String[] arguments, ModuleLayer layer) throws Throwable
      Throws:
      Throwable
    • dataService

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

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