CmlLib/CmlLib.Core ? reverse-engineered prompt

Reverse engineered prompt

Build me a .NET library for launching Minecraft from an app.

I want it to let me sign in with a Microsoft account, check what Minecraft versions are available, install a version if it is missing, and then start the game. It should support normal vanilla releases, plus modded setups like Forge, Fabric, OptiFine, LiteLoader, and other custom versions if possible.

It should also handle downloading Java when needed, and let me launch with common options like offline accounts for testing, custom RAM amount, screen size, JVM arguments, and direct connect to a server. Please make it work on Windows, Linux, and macOS.

If you need to, look up the current docs online so the launcher works with the latest Minecraft versions. Keep the API simple enough that I can create a launcher, ask for versions, install one, build the process, and start it with just a few lines of code.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab