Class JUnitDevLaunchTarget
java.lang.Object
net.neoforged.fml.loading.targets.CommonLaunchHandler
net.neoforged.fml.loading.targets.NeoForgeDevLaunchHandler
net.neoforged.fml.loading.targets.JUnitDevLaunchTarget
- All Implemented Interfaces:
ILaunchHandlerService
A launch target for bootstrapping a slim Minecraft environment in forgedev, to be used in JUnit tests.
-
Field Summary
FieldsFields inherited from class net.neoforged.fml.loading.targets.CommonLaunchHandler
LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.neoforged.api.distmarker.DistgetDist()name()protected voidrunService(String[] arguments, ModuleLayer gameLayer) Methods inherited from class net.neoforged.fml.loading.targets.NeoForgeDevLaunchHandler
collectAdditionalModFileLocators, isProductionMethods inherited from class net.neoforged.fml.loading.targets.CommonLaunchHandler
clientService, getGroupedModFolders, launchService, preLaunch, runTarget, serverServiceMethods 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
-
Field Details
-
CLASS_NAME
- See Also:
-
-
Constructor Details
-
JUnitDevLaunchTarget
public JUnitDevLaunchTarget()
-
-
Method Details
-
getDist
public net.neoforged.api.distmarker.Dist getDist()- Specified by:
getDistin classCommonLaunchHandler
-
runService
- Specified by:
runServicein classCommonLaunchHandler- Throws:
Throwable
-
name
-