Interface JarOption
Replace the minecraft client or server jar download
🏷️ Properties
agent optional
agent: DownloadAgent
The download agent Inherited from: DownloadBaseOptions.agent
Defined in: packages/file-transfer/download.ts:20
checksumValidatorResolver optional
checksumValidatorResolver: Function
Defined in: packages/installer/minecraft.ts:178
client optional
client: string | string[] | Function
The client jar url replacement
Defined in: packages/installer/minecraft.ts:172
headers optional
headers: Record<string, any>
The header of the request Inherited from: DownloadBaseOptions.headers
Defined in: packages/file-transfer/download.ts:16
json optional
json: string | string[] | Function
The version json url replacement
Defined in: packages/installer/minecraft.ts:168
server optional
server: string | string[] | Function
The server jar url replacement
Defined in: packages/installer/minecraft.ts:176
side optional
side: "server" | "client"
The installation side Inherited from: InstallSideOption.side
Defined in: packages/installer/minecraft.ts:185
skipPrevalidate optional
skipPrevalidate: boolean
Should skip prevalidate the file Inherited from: DownloadBaseOptions.skipPrevalidate
Defined in: packages/file-transfer/download.ts:30
skipRevalidate optional
skipRevalidate: boolean
Re-validate the file after download success Inherited from: DownloadBaseOptions.skipRevalidate
Defined in: packages/file-transfer/download.ts:25
throwErrorImmediately optional
throwErrorImmediately: boolean
Inherited from: ParallelTaskOptions.throwErrorImmediately
Defined in: packages/installer/utils.ts:95