Skip to content

Interface InstallOptifineOptions

Shared install options

🏷️ Properties

inheritsFrom optional

inheritsFrom: string

When you want to install a version over another one.

Like, you want to install liteloader over a forge version. You should fill this with that forge version id. Inherited from: InstallOptions.inheritsFrom

Defined in: packages/installer/utils.ts:107

java optional

java: string

The java exectable path. It will use java by default. Inherited from:

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

spawn optional

spawn: Function

Inherited from: SpawnJavaOptions.spawn

Defined in: packages/installer/utils.ts:48

useForgeTweaker optional

useForgeTweaker: boolean

Use "optifine.OptiFineForgeTweaker" instead of "optifine.OptiFineTweaker" for tweakClass.

If you want to install upon forge, you should use this.

Defined in: packages/installer/optifine.ts:14

versionId optional

versionId: string

Override the newly installed version id.

If this is absent, the installed version id will be either generated or provided by installer. Inherited from: InstallOptions.versionId

Defined in: packages/installer/utils.ts:114