Interface ILaunchContext

All Known Implementing Classes:
FMLLoader.LaunchContextAdapter

public interface ILaunchContext
Provides context for various FML plugins about the current launch operation.
  • Field Details

    • LOGGER

      static final org.slf4j.Logger LOGGER
  • Method Details

    • getRequiredDistribution

      net.neoforged.api.distmarker.Dist getRequiredDistribution()
    • gameDirectory

      Path gameDirectory()
      The game directory.
    • loadServices

      <T> Stream<ServiceLoader.Provider<T>> loadServices(Class<T> serviceClass)
    • isLocated

      boolean isLocated(Path path)
      Checks if a given path was already found by a previous locator, or may be already loaded.
    • addLocated

      boolean addLocated(Path path)
      Marks a path as being located and returns true if it was not previously located.
    • getVersions

      VersionInfo getVersions()