Class NeoForgeServerLaunchHandler
java.lang.Object
net.neoforged.fml.loading.targets.CommonLaunchHandler
net.neoforged.fml.loading.targets.NeoForgeServerLaunchHandler
- All Implemented Interfaces:
ILaunchHandlerService
For production dedicated server environments.
-
Field Summary
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.net.neoforged.api.distmarker.Dist
getDist()
boolean
name()
protected void
runService
(String[] arguments, ModuleLayer gameLayer) 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
-
Constructor Details
-
NeoForgeServerLaunchHandler
public NeoForgeServerLaunchHandler()
-
-
Method Details
-
name
-
getDist
public net.neoforged.api.distmarker.Dist getDist()- Specified by:
getDist
in classCommonLaunchHandler
-
isProduction
public boolean isProduction()- Specified by:
isProduction
in classCommonLaunchHandler
-
runService
- Specified by:
runService
in classCommonLaunchHandler
- Throws:
Throwable
-
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
-