Class IntegrationManager

java.lang.Object
fr.flowarg.flowupdater.integrations.IntegrationManager

public class IntegrationManager extends Object
The integration manager loads integration's stuff at the startup of FlowUpdater.
  • Constructor Details

    • IntegrationManager

      public IntegrationManager(@NotNull @NotNull FlowUpdater updater)
      Construct a new Integration Manager.
      Parameters:
      updater - a FlowUpdater instance.
  • Method Details

    • loadCurseForgeIntegration

      public void loadCurseForgeIntegration(Path dir, ICurseForgeCompatible curseForgeCompatible)
      This method loads the CurseForge integration and fetches some data.
      Parameters:
      dir - the installation directory.
      curseForgeCompatible - a version that accepts CurseForge's feature stuff.
    • loadModrinthIntegration

      public void loadModrinthIntegration(Path dir, IModrinthCompatible modrinthCompatible)
    • loadOptiFineIntegration

      public void loadOptiFineIntegration(Path dir, @NotNull @NotNull IOptiFineCompatible optiFineCompatible)
      This method loads the OptiFine integration and fetches OptiFine data.
      Parameters:
      dir - the installation directory.
      optiFineCompatible - the current Forge version.