Pierce01 / MinecraftLauncher-core

Lightweight module that downloads and runs Minecraft using javascript / NodeJS
MIT License
356 stars 81 forks source link

ES6 syntax #115

Closed AlucardDEVer closed 8 months ago

AlucardDEVer commented 12 months ago

Please add ES6 syntax support to your module

HerozDotExe commented 8 months ago

I managed to launch 1.16.5 (vanilla) in a .mjs file by importing it like this :

import mclc from "minecraft-launcher-core"
const { Client, Authenticator } = mclc
const launcher = new Client();