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 TypeMethodDescriptionvoidcollectAdditionalModFileLocators(VersionInfo versionInfo, Consumer<IModFileCandidateLocator> output) Return additional locators to be used for locating mods when this launch handler is used.net.neoforged.api.distmarker.DistgetDist()booleanname()protected voidrunService(String[] arguments, ModuleLayer gameLayer) Methods 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
-
Constructor Details
-
NeoForgeServerLaunchHandler
public NeoForgeServerLaunchHandler()
-
-
Method Details
-
name
-
getDist
public net.neoforged.api.distmarker.Dist getDist()- Specified by:
getDistin classCommonLaunchHandler
-
isProduction
public boolean isProduction()- Specified by:
isProductionin classCommonLaunchHandler
-
runService
- Specified by:
runServicein classCommonLaunchHandler- Throws:
Throwable
-
collectAdditionalModFileLocators
public void collectAdditionalModFileLocators(VersionInfo versionInfo, Consumer<IModFileCandidateLocator> output) Description copied from class:CommonLaunchHandlerReturn additional locators to be used for locating mods when this launch handler is used.- Overrides:
collectAdditionalModFileLocatorsin classCommonLaunchHandler
-