Skip to content

@loontail/minecraft-kit v0.8.14 / LaunchResolutionOptions

Type alias: LaunchResolutionOptions

ts
type LaunchResolutionOptions: {
  height: number;
  width: number;
};

Optional resolution / window configuration.

Example

ts
import type { LaunchResolutionOptions } from "@loontail/minecraft-kit";

const resolution: LaunchResolutionOptions = { width: 1280, height: 720 };
await kit.launch.compose(target, { auth, resolution });

Type declaration

MemberType
heightnumber
widthnumber

Source

src/types/launch.ts:31

MIT License