Skip to content

Interface InstallOptifineOptions

Shared install options

🏷️ Properties

inheritsFrom

ts
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

ts
java: string

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

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

spawn

ts
spawn: Function

Inherited from: SpawnJavaOptions.spawn

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

useForgeTweaker

ts
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

ts
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

Released under the MIT License.