Class CurseForgeIntegration
java.lang.Object
fr.flowarg.flowupdater.integrations.Integration
fr.flowarg.flowupdater.integrations.curseforgeintegration.CurseForgeIntegration
This integration supports all CurseForge stuff that FlowUpdater needs such as retrieve mods and mod packs from CurseForge.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class fr.flowarg.flowupdater.integrations.Integration
folder, logger -
Constructor Summary
ConstructorsConstructorDescriptionCurseForgeIntegration(fr.flowarg.flowlogger.ILogger logger, Path folder) Default constructor of a basic Integration. -
Method Summary
Modifier and TypeMethodDescriptionfetchMod(CurseFileInfo curseFileInfo) fetchModLink(@NotNull CurseFileInfo curseFileInfo) Get a CurseForge's mod pack object with a project identifier and a file identifier.
-
Constructor Details
-
CurseForgeIntegration
Default constructor of a basic Integration.- Parameters:
logger- the logger used.folder- the folder where the plugin can work.- Throws:
Exception- if an error occurred.
-
-
Method Details
-
fetchMod
-
fetchModLink
-
getCurseModPack
Get a CurseForge's mod pack object with a project identifier and a file identifier.- Parameters:
info- CurseForge's mod pack info.- Returns:
- the curse's mod pack corresponding to given parameters.
- Throws:
Exception- if an error occurred.
-