Skip to content

@loontail/minecraft-kit / LaunchComposition

Type Alias: LaunchComposition

ts
type LaunchComposition = {
  auth: LaunchAuth;
  classpath: readonly string[];
  directory: string;
  env?: Readonly<Record<string, string>>;
  gameArgs: readonly string[];
  javaPath: string;
  jvmArgs: readonly string[];
  mainClass: string;
  nativesDirectory: string;
  targetId: string;
  workingDirectory: string;
};

Defined in: src/types/launch.ts:44

Fully composed launch command, ready to be passed to kit.launch.run.

Properties

PropertyModifierTypeDescriptionDefined in
authreadonlyLaunchAuth-src/types/launch.ts:53
classpathreadonlyreadonly string[]-src/types/launch.ts:51
directoryreadonlystring-src/types/launch.ts:46
env?readonlyReadonly<Record<string, string>>Environment variables to set on the spawned process.src/types/launch.ts:57
gameArgsreadonlyreadonly string[]-src/types/launch.ts:50
javaPathreadonlystring-src/types/launch.ts:47
jvmArgsreadonlyreadonly string[]-src/types/launch.ts:49
mainClassreadonlystring-src/types/launch.ts:48
nativesDirectoryreadonlystring-src/types/launch.ts:52
targetIdreadonlystring-src/types/launch.ts:45
workingDirectoryreadonlystringSpawn working directory (almost always equal to directory).src/types/launch.ts:55

MIT License