Class IntegrationManager
java.lang.Object
fr.flowarg.flowupdater.integrations.IntegrationManager
The integration manager loads integration's stuff at the startup of FlowUpdater.
-
Constructor Summary
ConstructorsConstructorDescriptionIntegrationManager(@NotNull FlowUpdater updater) Construct a new Integration Manager. -
Method Summary
Modifier and TypeMethodDescriptionvoidloadCurseForgeIntegration(Path dir, ICurseForgeCompatible curseForgeCompatible) This method loads the CurseForge integration and fetches some data.voidloadModrinthIntegration(Path dir, IModrinthCompatible modrinthCompatible) voidloadOptiFineIntegration(Path dir, @NotNull IOptiFineCompatible optiFineCompatible) This method loads the OptiFine integration and fetches OptiFine data.
-
Constructor Details
-
IntegrationManager
Construct a new Integration Manager.- Parameters:
updater- aFlowUpdaterinstance.
-
-
Method Details
-
loadCurseForgeIntegration
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
-
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.
-