Class CommonLaunchHandler
java.lang.Object
net.minecraftforge.fml.loading.targets.CommonLaunchHandler
- All Implemented Interfaces:
- cpw.mods.modlauncher.api.ILaunchHandlerService
- Direct Known Subclasses:
- 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.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static final recordstatic final record
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final CommonLaunchHandler.LaunchTypeprotected static final CommonLaunchHandler.LaunchTypeprotected static final org.slf4j.Loggerprivate final Stringprotected static final CommonLaunchHandler.LaunchTypeprotected static final CommonLaunchHandler.LaunchTypeprivate final CommonLaunchHandler.LaunchType
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCommonLaunchHandler(CommonLaunchHandler.LaunchType type, String prefix) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidconfigureTransformationClassLoader(cpw.mods.modlauncher.api.ITransformingClassLoaderBuilder builder) net.minecraftforge.api.distmarker.DistgetDist()abstract CommonLaunchHandler.LocatedPathsabstract StringbooleanisData()booleancpw.mods.modlauncher.api.ServiceRunnerlaunchService(String[] arguments, ModuleLayer gameLayer) protected cpw.mods.modlauncher.api.ServiceRunnermakeService(String[] arguments, ModuleLayer gameLayer) name()protected String[]preLaunch(String[] arguments, ModuleLayer layer) protected voidrunTarget(String module, String target, String[] arguments, ModuleLayer layer) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cpw.mods.modlauncher.api.ILaunchHandlerServicegetPaths
- 
Field Details- 
LOGGERprotected static final org.slf4j.Logger LOGGER
- 
type
- 
prefix
- 
CLIENT
- 
DATA
- 
SERVER
- 
SERVER_GAMETEST
 
- 
- 
Constructor Details- 
CommonLaunchHandler
 
- 
- 
Method Details- 
name- Specified by:
- namein interface- cpw.mods.modlauncher.api.ILaunchHandlerService
 
- 
getDistpublic net.minecraftforge.api.distmarker.Dist getDist()
- 
isDatapublic boolean isData()
- 
isProductionpublic boolean isProduction()
- 
getNaming
- 
getMinecraftPaths
- 
configureTransformationClassLoaderpublic void configureTransformationClassLoader(cpw.mods.modlauncher.api.ITransformingClassLoaderBuilder builder) - Specified by:
- configureTransformationClassLoaderin interface- cpw.mods.modlauncher.api.ILaunchHandlerService
 
- 
preLaunch
- 
launchServicepublic cpw.mods.modlauncher.api.ServiceRunner launchService(String[] arguments, ModuleLayer gameLayer) - Specified by:
- launchServicein interface- cpw.mods.modlauncher.api.ILaunchHandlerService
 
- 
makeServiceprotected cpw.mods.modlauncher.api.ServiceRunner makeService(String[] arguments, ModuleLayer gameLayer) 
- 
runTargetprotected void runTarget(String module, String target, String[] arguments, ModuleLayer layer) throws Throwable - Throws:
- Throwable
 
 
-