public class NeoForgeVersionBuilder extends ModLoaderVersionBuilder<NeoForgeVersion,NeoForgeVersionBuilder>
curseModPackArgument, curseModsArgument, fileDeleterArgument, modrinthModsArgument, modrinthPackArgument, modsArgument
Constructor and Description |
---|
NeoForgeVersionBuilder() |
Modifier and Type | Method and Description |
---|---|
NeoForgeVersion |
build()
Build a
T object. |
NeoForgeVersionBuilder |
withNeoForgeVersion(java.lang.String neoForgeVersion) |
NeoForgeVersionBuilder |
withOptiFine(OptiFineInfo optiFineInfo)
Append some OptiFine download's information.
|
withCurseModPack, withCurseMods, withCurseMods, withCurseMods, withCurseMods, withFileDeleter, withModrinthModPack, withModrinthMods, withModrinthMods, withModrinthMods, withModrinthMods, withMods, withMods, withMods, withMods
public NeoForgeVersionBuilder withNeoForgeVersion(java.lang.String neoForgeVersion)
neoForgeVersion
- the NeoForge version you want to install.public NeoForgeVersionBuilder withOptiFine(OptiFineInfo optiFineInfo)
optiFineInfo
- OptiFine info.public NeoForgeVersion build() throws BuilderException
IBuilder
T
object.build
in interface IBuilder<NeoForgeVersion>
build
in class ModLoaderVersionBuilder<NeoForgeVersion,NeoForgeVersionBuilder>
T
object.BuilderException
- if an error occurred when building an object.