类 CommonLaunchHandler

java.lang.Object
net.minecraftforge.fml.loading.targets.CommonLaunchHandler
所有已实现的接口:
cpw.mods.modlauncher.api.ILaunchHandlerService
直接已知子类:
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.
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • name

      public String name()
      指定者:
      name 在接口中 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()
    • preLaunch

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

      public cpw.mods.modlauncher.api.ServiceRunner launchService(String[] arguments, ModuleLayer gameLayer)
      指定者:
      launchService 在接口中 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
      抛出:
      Throwable
    • getPathFromResource

      protected static Path getPathFromResource(String resource)
    • getPathFromResource

      protected static Path getPathFromResource(String resource, ClassLoader cl)