Interface JarOption
Replace the minecraft client or server jar download
🏷️ Properties
agent
agent: DownloadAgent
The download agent Inherited from: DownloadBaseOptions.agent
Defined in: packages/file-transfer/download.ts:20
checksumValidatorResolver
checksumValidatorResolver: Function
Defined in: packages/installer/minecraft.ts:178
client
client: string | string[] | Function
The 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[] | Function
The version json url replacement
Defined in: packages/installer/minecraft.ts:168
server
server: string | string[] | Function
The 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: boolean
Should skip prevalidate the file Inherited from: DownloadBaseOptions.skipPrevalidate
Defined in: packages/file-transfer/download.ts:30
skipRevalidate
skipRevalidate: boolean
Re-validate the file after download success Inherited from: DownloadBaseOptions.skipRevalidate
Defined in: packages/file-transfer/download.ts:25
throwErrorImmediately
throwErrorImmediately: boolean
Inherited from: ParallelTaskOptions.throwErrorImmediately
Defined in: packages/installer/utils.ts:95