Class NeoForgeDevLaunchHandler
java.lang.Object
net.neoforged.fml.loading.targets.CommonLaunchHandler
net.neoforged.fml.loading.targets.NeoForgeDevLaunchHandler
- All Implemented Interfaces:
ILaunchHandlerService
- Direct Known Subclasses:
JUnitDevLaunchTarget
,NeoForgeClientDataDevLaunchHandler
,NeoForgeClientDevLaunchHandler
,NeoForgeGameTestServerDevLaunchHandler
,NeoForgeServerDataDevLaunchHandler
,NeoForgeServerDevLaunchHandler
For the NeoForge development environment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final String
A file we expect to find in the classpath entry that contains the Minecraft code.Fields inherited from class net.neoforged.fml.loading.targets.CommonLaunchHandler
LOGGER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectAdditionalModFileLocators
(VersionInfo versionInfo, Consumer<IModFileCandidateLocator> output) Return additional locators to be used for locating mods when this launch handler is used.boolean
Methods inherited from class net.neoforged.fml.loading.targets.CommonLaunchHandler
clientService, getDist, getGroupedModFolders, launchService, preLaunch, runService, 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, name
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
MINECRAFT_CLASS_PATH
A file we expect to find in the classpath entry that contains the Minecraft code.- See Also:
-
-
Constructor Details
-
NeoForgeDevLaunchHandler
public NeoForgeDevLaunchHandler()
-
-
Method Details
-
isProduction
public boolean isProduction()- Specified by:
isProduction
in classCommonLaunchHandler
-
collectAdditionalModFileLocators
public void collectAdditionalModFileLocators(VersionInfo versionInfo, Consumer<IModFileCandidateLocator> output) Description copied from class:CommonLaunchHandler
Return additional locators to be used for locating mods when this launch handler is used.- Overrides:
collectAdditionalModFileLocators
in classCommonLaunchHandler
-