Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 890 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 890 Bytes

Launcher

GitHub Workflow Status GitHub npm (scoped)

This library makes creating Minecraft launchers in JavaScript very easy. It'll help you managing all the stuff Minecraft requires like downloading the game and the assets.

Documentation

Installation

Install the package:

$ npm install @minecraft-js/launcher

And then import it in your JavaScript/TypeScript file

const { mcFolder } = require('@minecraft-js/launcher'); // CommonJS

import { mcFolder } from '@minecraft-js/launcher'; // ES6

Downloading assets

await mcFolder.downloadAssets('1.16.5'); // You can put any version here