Interface JarOption
Replace the minecraft client or server jar download
🏷️ Properties
checkpointHandler optional
checkpointHandler: CheckpointHandlerThe checkpoint handler to save & restore the download progress Inherited from: DownloadBaseOptions.checkpointHandler
Defined in: packages/file-transfer/download.ts:52
checksumValidatorResolver optional
checksumValidatorResolver: (checksum: ChecksumValidatorOptions) => ValidatorDefined in: packages/installer/minecraft.ts:186
client optional
client: string | string[] | (version: ResolvedVersion) => string | string[]The client jar url replacement
Defined in: packages/installer/minecraft.ts:180
dispatcher optional
dispatcher: DispatcherThe undici dispatcher Inherited from: DownloadBaseOptions.dispatcher
Defined in: packages/file-transfer/download.ts:48
headers optional
headers: Record<string, any>The header of the request Inherited from: DownloadBaseOptions.headers
Defined in: packages/file-transfer/download.ts:40
json optional
json: string | string[] | (version: MinecraftVersionBaseInfo) => string | string[]The version json url replacement
Defined in: packages/installer/minecraft.ts:176
rangePolicy optional
rangePolicy: RangePolicyThe range policy to compute the ranges to download Inherited from: DownloadBaseOptions.rangePolicy
Defined in: packages/file-transfer/download.ts:44
server optional
server: string | string[] | (version: ResolvedVersion) => string | string[]The server jar url replacement
Defined in: packages/installer/minecraft.ts:184
side optional
side: "server" | "client"The installation side Inherited from: InstallSideOption.side
Defined in: packages/installer/minecraft.ts:193
skipHead optional
skipHead: booleanInherited from: DownloadBaseOptions.skipHead
Defined in: packages/file-transfer/download.ts:54
skipPrevalidate optional
skipPrevalidate: booleanInherited from: DownloadBaseOptions.skipPrevalidate
Defined in: packages/file-transfer/download.ts:58
skipRevalidate optional
skipRevalidate: booleanInherited from: DownloadBaseOptions.skipRevalidate
Defined in: packages/file-transfer/download.ts:56
throwErrorImmediately optional
throwErrorImmediately: booleanInherited from: ParallelTaskOptions.throwErrorImmediately
Defined in: packages/installer/utils.ts:97