Interface InstallJavaOptions
🏷️ Properties
cacheDir optional
cacheDir: string
The cached directory which compressed java lzma will be download to.
Defined in: packages/installer/java.ts:36
checkpointHandler optional
checkpointHandler: CheckpointHandler
The checkpoint handler to save & restore the download progress Inherited from: DownloadBaseOptions.checkpointHandler
Defined in: packages/file-transfer/download.ts:52
destination
destination: string
The destination of this installation
Defined in: packages/installer/java.ts:31
dispatcher optional
dispatcher: Dispatcher
The 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: Platform
The platform to install. It will be auto-resolved by default.
Defined in: packages/installer/java.ts:41
rangePolicy optional
rangePolicy: RangePolicy
The range policy to compute the ranges to download Inherited from: DownloadBaseOptions.rangePolicy
Defined in: packages/file-transfer/download.ts:44
skipHead optional
skipHead: boolean
Inherited from: DownloadBaseOptions.skipHead
Defined in: packages/file-transfer/download.ts:54
skipPrevalidate optional
skipPrevalidate: boolean
Inherited from: DownloadBaseOptions.skipPrevalidate
Defined in: packages/file-transfer/download.ts:58
skipRevalidate optional
skipRevalidate: boolean
Inherited from: DownloadBaseOptions.skipRevalidate
Defined in: packages/file-transfer/download.ts:56
unpackLZMA
unpackLZMA: UnpackLZMAFunction
Unpack lzma function. It must present, else it will not be able to unpack mojang provided LZMA.
Defined in: packages/installer/java.ts:45