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
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclientService(String[] arguments, ModuleLayer layer) voidconfigureTransformationClassLoader(cpw.mods.modlauncher.api.ITransformingClassLoaderBuilder builder) protected voiddataService(String[] arguments, ModuleLayer layer) abstract net.minecraftforge.api.distmarker.DistgetDist()abstract CommonLaunchHandler.LocatedPathsabstract StringbooleanisData()booleancpw.mods.modlauncher.api.ServiceRunnerlaunchService(String[] arguments, ModuleLayer gameLayer) protected abstract cpw.mods.modlauncher.api.ServiceRunnermakeService(String[] arguments, ModuleLayer gameLayer) protected String[]preLaunch(String[] arguments, ModuleLayer layer) protected voidrunTarget(String target, String[] arguments, ModuleLayer layer) protected voidserverService(String[] arguments, ModuleLayer layer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
configureTransformationClassLoaderin interfacecpw.mods.modlauncher.api.ILaunchHandlerService
-
preLaunch
-
getModClasses
-
launchService
public cpw.mods.modlauncher.api.ServiceRunner launchService(String[] arguments, ModuleLayer gameLayer) - Specified by:
launchServicein 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
-