Interface InstallProfileOption
Change the library host url
🏷️ Properties
agent
agent: DownloadAgentThe download agent Inherited from: LibraryOptions.agent
Defined in: packages/file-transfer/download.ts:20
checksumValidatorResolver
checksumValidatorResolver: FunctionInherited from: LibraryOptions.checksumValidatorResolver
Defined in: packages/installer/minecraft.ts:117
headers
headers: Record<string, any>The header of the request Inherited from: LibraryOptions.headers
Defined in: packages/file-transfer/download.ts:16
java
java: stringNew forge (>=1.13) require java to install. Can be a executor or java executable path.
Defined in: packages/installer/profile.ts:71
librariesDownloadConcurrency
librariesDownloadConcurrency: numberControl how many libraries download task should run at the same time. It will override the maxConcurrencyOption if this is presented.
This will be ignored if you have your own downloader assigned. Inherited from: LibraryOptions.librariesDownloadConcurrency
Defined in: packages/installer/minecraft.ts:115
libraryHost
libraryHost: LibraryHostA more flexiable way to control library download url. Inherited from: LibraryOptions.libraryHost
Defined in: packages/installer/minecraft.ts:104
mavenHost
mavenHost: string | string[]The alterative maven host to download library. It will try to use these host from the [0] to the [maven.length - 1]Inherited from: LibraryOptions.mavenHost
Defined in: packages/installer/minecraft.ts:108
side
side: "server" | "client"The installation side Inherited from: InstallSideOption.side
Defined in: packages/installer/minecraft.ts:185
skipPrevalidate
skipPrevalidate: booleanShould skip prevalidate the file Inherited from: LibraryOptions.skipPrevalidate
Defined in: packages/file-transfer/download.ts:30
skipRevalidate
skipRevalidate: booleanRe-validate the file after download success Inherited from: LibraryOptions.skipRevalidate
Defined in: packages/file-transfer/download.ts:25
spawn
spawn: FunctionInherited from: SpawnJavaOptions.spawn
Defined in: packages/installer/utils.ts:48
throwErrorImmediately
throwErrorImmediately: booleanInherited from: LibraryOptions.throwErrorImmediately
Defined in: packages/installer/utils.ts:95