@xnlc/core (1.0.0)
Installation
@xnlc:registry=npm install @xnlc/core@1.0.0"@xnlc/core": "1.0.0"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, andoptifine - 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
MIT
Dependencies
Dependencies
| ID | Version |
|---|---|
| @xnlc/types | * |
| adm-zip | ^0.5.17 |
Keywords
minecraft
launcher
fabric
quilt
neoforge
forge
liteloader
optifine
minecraft-launcher
xnlc
xneon
Details
2026-06-03 08:58:08 +00:00
Assets (1)
Versions (1)
View all
npm
4
MAINER4IK
MIT
latest
99 KiB
core-1.0.0.tgz
99 KiB
1.0.0
2026-06-03