I am creating my own Minecraft launcher and I want to know the terminal command for opening Minecraft Java. I've tried many solutions online but most of them are outdated or only for Windows.
I already authenticated with https://authserver.mojang.com/authenticate, and now I want to run a terminal command which opens Minecraft given the username/password or access token.
Thanks!