Class ForgeVersionBuilder
java.lang.Object
fr.flowarg.flowupdater.versions.ModLoaderVersionBuilder<ForgeVersion,ForgeVersionBuilder>
fr.flowarg.flowupdater.versions.forge.ForgeVersionBuilder
- All Implemented Interfaces:
IBuilder<ForgeVersion>
Builder for
ForgeVersion-
Field Summary
Fields inherited from class fr.flowarg.flowupdater.versions.ModLoaderVersionBuilder
curseModPackArgument, curseModsArgument, fileDeleterArgument, modrinthModsArgument, modrinthPackArgument, modsArgument -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build aIBuilderobject.withForgeVersion(String forgeVersion) withOptiFine(OptiFineInfo optiFineInfo) Append some OptiFine download's information.Methods inherited from class fr.flowarg.flowupdater.versions.ModLoaderVersionBuilder
withCurseModPack, withCurseMods, withCurseMods, withCurseMods, withCurseMods, withFileDeleter, withModrinthModPack, withModrinthMods, withModrinthMods, withModrinthMods, withModrinthMods, withMods, withMods, withMods, withMods
-
Constructor Details
-
ForgeVersionBuilder
public ForgeVersionBuilder()
-
-
Method Details
-
withForgeVersion
- Parameters:
forgeVersion- the Forge version you want to install. You should be very precise with the string you give. For instance, "1.18.2-40.2.21", "1.12.2-14.23.5.2860", "1.8.9-11.15.1.2318-1.8.9", "1.7.10-10.13.4.1614-1.7.10" are correct. Download an installer and check the name of it to get the correct version you should provide here if you are not sure.- Returns:
- the builder.
-
withOptiFine
Append some OptiFine download's information.- Parameters:
optiFineInfo- provided information.- Returns:
- the builder.
-
build
Description copied from interface:IBuilderBuild aIBuilderobject.- Specified by:
buildin interfaceIBuilder<ForgeVersion>- Specified by:
buildin classModLoaderVersionBuilder<ForgeVersion,ForgeVersionBuilder> - Returns:
- a
IBuilderobject. - Throws:
BuilderException- if an error occurred when building an object.
-