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
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clientService
(String[] arguments, ModuleLayer layer) void
configureTransformationClassLoader
(cpw.mods.modlauncher.api.ITransformingClassLoaderBuilder builder) protected void
dataService
(String[] arguments, ModuleLayer layer) abstract net.minecraftforge.api.distmarker.Dist
getDist()
abstract CommonLaunchHandler.LocatedPaths
abstract String
boolean
isData()
boolean
cpw.mods.modlauncher.api.ServiceRunner
launchService
(String[] arguments, ModuleLayer gameLayer) protected abstract cpw.mods.modlauncher.api.ServiceRunner
makeService
(String[] arguments, ModuleLayer gameLayer) protected String[]
preLaunch
(String[] arguments, ModuleLayer layer) protected void
runTarget
(String target, String[] arguments, ModuleLayer layer) protected void
serverService
(String[] arguments, ModuleLayer layer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cpw.mods.modlauncher.api.ILaunchHandlerService
getPaths, name
-
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
-
isProduction
public boolean isProduction() -
isData
public boolean isData() -
getMinecraftPaths
-
configureTransformationClassLoader
public void configureTransformationClassLoader(cpw.mods.modlauncher.api.ITransformingClassLoaderBuilder builder) - Specified by:
configureTransformationClassLoader
in interfacecpw.mods.modlauncher.api.ILaunchHandlerService
-
preLaunch
-
getModClasses
-
launchService
public cpw.mods.modlauncher.api.ServiceRunner launchService(String[] arguments, ModuleLayer gameLayer) - Specified by:
launchService
in interfacecpw.mods.modlauncher.api.ILaunchHandlerService
-
makeService
protected abstract cpw.mods.modlauncher.api.ServiceRunner makeService(String[] arguments, ModuleLayer gameLayer) -
clientService
- Throws:
Throwable
-
serverService
- Throws:
Throwable
-
dataService
- Throws:
Throwable
-
runTarget
- Throws:
Throwable
-