0

Hey guys, I'm working on a flexible Minecraft launcher in Python.

I have the code for the authentication all sorted out here to get things like the access token to log into the game and all the other necessary bits for a launcher, apart from the most important bit; I haven't got a method to actually start the game.

This isn't a duplicate of this or this, as they are for the old launcher and system. It could be classed as a duplicate for this, but that hasn't been answered for a long time.

Basically what I'm asking is, does anybody know how I can start Minecraft from a specific version such as 1.14.4? I'm making this on macOS Mojave but most of my friends who will use it are on Windows 10 so I'll need a method that can work on Windows, macOS and Linux if possible.

Thanks for any help! -Sam

Edit: I have it done for the most-part, yet when I start the game I get Error: Unable to initialize main class net.minecraft.client.main.Main Caused by: java.lang.NoClassDefFoundError: joptsimple/OptionSpec

1 Answers1

0

Is not so easy as you think :))

You try to make a custom launcher, but minecraft is Java (and bedrock edition is C++) so you need to have a little knowledge and from thins programming language.
For java you need to know how to work with files from .jar (what are just some archives)...

Is not impossible but still not easy.

  • You've linked what I also linked to in the question. It's an outdated system. I've discovered that I can download the natives, game and the command-line arguments from [this page](https://launchermeta.mojang.com/v1/packages/132979c36455cc1e17e5f9cc767b4e13c6947033/1.14.4.json) and I've just managed to get the natives system working. – Sam Carson Aug 08 '19 at 17:22