Class NeoForgeVersionBuilder
java.lang.Object
fr.flowarg.flowupdater.versions.ModLoaderVersionBuilder<NeoForgeVersion,NeoForgeVersionBuilder>
fr.flowarg.flowupdater.versions.neoforge.NeoForgeVersionBuilder
- All Implemented Interfaces:
IBuilder<NeoForgeVersion>
public class NeoForgeVersionBuilder
extends ModLoaderVersionBuilder<NeoForgeVersion,NeoForgeVersionBuilder>
-
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.withNeoForgeVersion(String neoForgeVersion) 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
-
NeoForgeVersionBuilder
public NeoForgeVersionBuilder()
-
-
Method Details
-
withNeoForgeVersion
- Parameters:
neoForgeVersion- the NeoForge version you want to install. For 1.20.1, it should be in the format "1.20.1-47.1.x" (vanilla version-NeoForge version). (forge format) For 1.21 and above, it should only be the NeoForge version (for example: 21.8.31) (NeoForge version only).- Returns:
- the builder.
-
withOptiFine
Append some OptiFine download's information.- Parameters:
optiFineInfo- OptiFine info.- Returns:
- the builder.
-
build
Description copied from interface:IBuilderBuild aIBuilderobject.- Specified by:
buildin interfaceIBuilder<NeoForgeVersion>- Specified by:
buildin classModLoaderVersionBuilder<NeoForgeVersion,NeoForgeVersionBuilder> - Returns:
- a
IBuilderobject. - Throws:
BuilderException- if an error occurred when building an object.
-