public class FabricVersionBuilder extends ModLoaderVersionBuilder<FabricVersion,FabricVersionBuilder>
curseModPackArgument, curseModsArgument, fileDeleterArgument, modrinthModsArgument, modrinthPackArgument, modsArgument| Constructor and Description |
|---|
FabricVersionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
FabricVersion |
build()
Build a new
FabricVersion instance with provided arguments. |
FabricVersionBuilder |
withFabricVersion(java.lang.String fabricVersion) |
FabricVersionBuilder |
withOptiFine(OptiFineInfo optiFineInfo)
Append some OptiFine download's information.
|
withCurseModPack, withCurseMods, withCurseMods, withCurseMods, withCurseMods, withFileDeleter, withModrinthModPack, withModrinthMods, withModrinthMods, withModrinthMods, withModrinthMods, withMods, withMods, withMods, withModspublic FabricVersionBuilder withFabricVersion(java.lang.String fabricVersion)
fabricVersion - the Fabric version you want to install
(don't use this function if you want to use the latest fabric version).public FabricVersionBuilder withOptiFine(OptiFineInfo optiFineInfo)
optiFineInfo - OptiFine info.public FabricVersion build() throws BuilderException
FabricVersion instance with provided arguments.build in interface IBuilder<FabricVersion>build in class ModLoaderVersionBuilder<FabricVersion,FabricVersionBuilder>BuilderException - if an error occurred.