@xnlc/core (1.0.4)

Published 2026-08-19 19:19:02 +00:00 by MAINER4IK in MAINER4IK/Xneon-Launcher

Installation

@xnlc:registry=
npm install @xnlc/core@1.0.4
"@xnlc/core": "1.0.4"

About this package

@xnlc/core

XNLC Core is a Minecraft launcher library for version resolution, loader installation, asset management, and game launching.

Installation

npm install @xnlc/core

Features

  • Launch Minecraft with vanilla, fabric, quilt, neoforge, forge, liteloader, and optifine
  • Automatically install supported loaders
  • Resolve versions and dependencies
  • Manage assets and libraries
  • Detect and prepare Java automatically
  • Support offline and Microsoft authentication

Usage

import { Xnlc } from "@xnlc/core";

const xnlc = new Xnlc({
  gameDir: "/path/to/.minecraft",
});

const versions = await xnlc.getOptifineSupportedVersions();

await xnlc.installLoader("1.20.4", "neoforge", "21.0.167");

await xnlc.launch(
  { mcVersion: "1.20.4", loaderType: "neoforge", loaderVersion: "21.0.167" },
  auth,
  { javaPath: "/usr/bin/java", memoryMax: "4G" },
);

License

GPL-3.0

Dependencies

Dependencies

ID Version
@xnlc/types *
adm-zip ^0.6.0

Keywords

minecraft launcher fabric quilt neoforge forge liteloader optifine minecraft-launcher xnlc xneon
Details
npm
2026-08-19 19:19:02 +00:00
5
MAINER4IK
MIT
106 KiB
Assets (1)
core-1.0.4.tgz 106 KiB
Versions (6) View all
1.0.5 2026-08-23
1.0.4 2026-08-19
1.0.3 2026-08-13
1.0.2 2026-08-10
1.0.1 2026-07-21