Skip to content

Interface InstallJavaOptions

🏷️ Properties

agent optional

ts
agent: DownloadAgent

The download agent Inherited from: DownloadBaseOptions.agent

Defined in: packages/file-transfer/download.ts:20

cacheDir optional

ts
cacheDir: string

The cached directory which compressed java lzma will be download to.

Defined in: packages/installer/java.ts:36

destination

ts
destination: string

The destination of this installation

Defined in: packages/installer/java.ts:31

dispatcher optional

ts
dispatcher: Dispatcher

The dispatcher for API

Defined in: packages/installer/java.ts:49

headers optional

ts
headers: Record<string, any>

The header of the request Inherited from: DownloadBaseOptions.headers

Defined in: packages/file-transfer/download.ts:16

platform optional

ts
platform: Platform

The platform to install. It will be auto-resolved by default.

Defined in: packages/installer/java.ts:41

skipPrevalidate optional

ts
skipPrevalidate: boolean

Should skip prevalidate the file Inherited from: DownloadBaseOptions.skipPrevalidate

Defined in: packages/file-transfer/download.ts:30

skipRevalidate optional

ts
skipRevalidate: boolean

Re-validate the file after download success Inherited from: DownloadBaseOptions.skipRevalidate

Defined in: packages/file-transfer/download.ts:25

unpackLZMA

ts
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