Interface JarOption
Replace the minecraft client or server jar download
🏷️ Properties
agent
agent: DownloadAgentThe download agent Inherited from: DownloadBaseOptions.agent
Defined in: packages/file-transfer/download.ts:20
checksumValidatorResolver
checksumValidatorResolver: FunctionDefined in: packages/installer/minecraft.ts:178
client
client: string | string[] | FunctionThe client jar url replacement
Defined in: packages/installer/minecraft.ts:172
headers
headers: Record<string, any>The header of the request Inherited from: DownloadBaseOptions.headers
Defined in: packages/file-transfer/download.ts:16
json
json: string | string[] | FunctionThe version json url replacement
Defined in: packages/installer/minecraft.ts:168
server
server: string | string[] | FunctionThe server jar url replacement
Defined in: packages/installer/minecraft.ts:176
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: DownloadBaseOptions.skipPrevalidate
Defined in: packages/file-transfer/download.ts:30
skipRevalidate
skipRevalidate: booleanRe-validate the file after download success Inherited from: DownloadBaseOptions.skipRevalidate
Defined in: packages/file-transfer/download.ts:25
throwErrorImmediately
throwErrorImmediately: booleanInherited from: ParallelTaskOptions.throwErrorImmediately
Defined in: packages/installer/utils.ts:95