Interface InstallJavaOptions
🏷️ Properties
cacheDir optional
cacheDir: stringThe cached directory which compressed java lzma will be download to.
Defined in: packages/installer/java.ts:36
checkpointHandler optional
checkpointHandler: CheckpointHandlerThe checkpoint handler to save & restore the download progress Inherited from: DownloadBaseOptions.checkpointHandler
Defined in: packages/file-transfer/download.ts:52
destination
destination: stringThe destination of this installation
Defined in: packages/installer/java.ts:31
dispatcher optional
dispatcher: DispatcherThe dispatcher for API
Defined in: packages/installer/java.ts:49
headers optional
headers: Record<string, any>The header of the request Inherited from: DownloadBaseOptions.headers
Defined in: packages/file-transfer/download.ts:40
platform optional
platform: PlatformThe platform to install. It will be auto-resolved by default.
Defined in: packages/installer/java.ts:41
rangePolicy optional
rangePolicy: RangePolicyThe range policy to compute the ranges to download Inherited from: DownloadBaseOptions.rangePolicy
Defined in: packages/file-transfer/download.ts:44
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
unpackLZMA
unpackLZMA: UnpackLZMAFunctionUnpack lzma function. It must present, else it will not be able to unpack mojang provided LZMA.
Defined in: packages/installer/java.ts:45