类 CommonLaunchHandler
java.lang.Object
net.minecraftforge.fml.loading.targets.CommonLaunchHandler
- 所有已实现的接口:
cpw.mods.modlauncher.api.ILaunchHandlerService
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.
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明protected static final CommonLaunchHandler.LaunchType
protected static final CommonLaunchHandler.LaunchType
protected static final CommonLaunchHandler.LaunchType
protected net.minecraftforge.api.distmarker.Dist
protected boolean
protected static final org.slf4j.Logger
protected String
protected String
private final String
protected static final CommonLaunchHandler.LaunchType
protected static final CommonLaunchHandler.LaunchType
-
构造器概要
构造器限定符构造器说明protected
CommonLaunchHandler
(String name) protected
CommonLaunchHandler
(CommonLaunchHandler.LaunchType type, String prefix) -
方法概要
修饰符和类型方法说明net.minecraftforge.api.distmarker.Dist
getDist()
abstract String
protected static Path
getPathFromResource
(String resource) protected static Path
getPathFromResource
(String resource, ClassLoader cl) boolean
isData()
boolean
cpw.mods.modlauncher.api.ServiceRunner
launchService
(String[] arguments, ModuleLayer gameLayer) protected cpw.mods.modlauncher.api.ServiceRunner
makeService
(String[] arguments, ModuleLayer gameLayer) name()
protected String[]
preLaunch
(String[] arguments, ModuleLayer layer) protected void
runTarget
(String module, String target, String[] arguments, ModuleLayer layer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 cpw.mods.modlauncher.api.ILaunchHandlerService
configureTransformationClassLoader, getPaths
-
字段详细资料
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
name
-
dist
protected net.minecraftforge.api.distmarker.Dist dist -
isData
protected boolean isData -
module
-
main
-
CLIENT
-
CLIENT_DATA
-
DATA
-
SERVER
-
SERVER_GAMETEST
-
-
构造器详细资料
-
CommonLaunchHandler
-
CommonLaunchHandler
-
-
方法详细资料
-
name
- 指定者:
name
在接口中cpw.mods.modlauncher.api.ILaunchHandlerService
-
getDist
public net.minecraftforge.api.distmarker.Dist getDist() -
isData
public boolean isData() -
isProduction
public boolean isProduction() -
getNaming
-
getMinecraftPaths
-
preLaunch
-
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
-
getPathFromResource
-