public class IntegrationManager
extends java.lang.Object
Constructor and Description |
---|
IntegrationManager(@NotNull FlowUpdater updater)
Construct a new Integration Manager.
|
Modifier and Type | Method and Description |
---|---|
void |
loadCurseForgeIntegration(java.nio.file.Path dir,
ICurseForgeCompatible curseForgeCompatible)
This method loads the CurseForge integration and fetches some data.
|
void |
loadModrinthIntegration(java.nio.file.Path dir,
IModrinthCompatible modrinthCompatible) |
void |
loadOptiFineIntegration(java.nio.file.Path dir,
@NotNull IOptiFineCompatible optiFineCompatible)
This method loads the OptiFine integration and fetches OptiFine data.
|
public IntegrationManager(@NotNull @NotNull FlowUpdater updater)
updater
- a FlowUpdater
instance.public void loadCurseForgeIntegration(java.nio.file.Path dir, ICurseForgeCompatible curseForgeCompatible)
dir
- the installation directory.curseForgeCompatible
- a version that accepts CurseForge's feature stuff.public void loadModrinthIntegration(java.nio.file.Path dir, IModrinthCompatible modrinthCompatible)
public void loadOptiFineIntegration(java.nio.file.Path dir, @NotNull @NotNull IOptiFineCompatible optiFineCompatible)
dir
- the installation directory.optiFineCompatible
- the current Forge version.