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.Dist
getDist()
name()
protected void
runService
(String[] arguments, ModuleLayer gameLayer) Methods inherited from class net.neoforged.fml.loading.targets.NeoForgeDevLaunchHandler
collectAdditionalModFileLocators, isProduction
Methods inherited from class net.neoforged.fml.loading.targets.CommonLaunchHandler
clientService, getGroupedModFolders, launchService, preLaunch, runTarget, serverService
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
-
Field Details
-
CLASS_NAME
- See Also:
-
-
Constructor Details
-
JUnitDevLaunchTarget
public JUnitDevLaunchTarget()
-
-
Method Details
-
getDist
public net.neoforged.api.distmarker.Dist getDist()- Specified by:
getDist
in classCommonLaunchHandler
-
runService
- Specified by:
runService
in classCommonLaunchHandler
- Throws:
Throwable
-
name
-