Package net.neoforged.neoforgespi
Interface ILaunchContext
- All Known Implementing Classes:
LaunchContext
public interface ILaunchContext
Provides context for various FML plugins about the current launch operation.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
addLocated
(Path path) Marks a path as being located and returns true if it was not previously located.The Modlauncher environment.boolean
Checks if a given path was already found by a previous locator, or may be already loaded.<T> Stream
<ServiceLoader.Provider<T>> loadServices
(Class<T> serviceClass) modLists()
mods()
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER
-
-
Method Details
-
environment
IEnvironment environment()The Modlauncher environment. -
loadServices
-
modLists
-
mods
-
mavenRoots
-
isLocated
Checks if a given path was already found by a previous locator, or may be already loaded. -
addLocated
Marks a path as being located and returns true if it was not previously located.
-