Aarush
Aarush
> window: { width: launcher_settings.minecraft.res.width, // config file (int) height: launcher_settings.minecraft.res.width, // config file (int) fullscreen: launcher_settings.minecraft.fullscreen, // config file (bool) }, Are these three entries being set/read correctly?
I don't know too much about this specifically but there are a few ways you may be able to achieve this: 1. Change the version.json file to use your custom...
A quick google search finds [this Minecraft Forum](https://www.minecraftforum.net/forums/support/java-edition-support/2947305-unable-to-launch-java-lang-classnotfoundexception) that says your MC files have been corrupted. I suggest checking that 1. "Optifine 1.18.jar" exists 2. Your custom server libraries are...
I think Mojang's Launcher has a few automatic features that you need to do here manually. Have you tried 4?
Honestly from what I can tell you should be fine. The issue could be with the folder you're launching from (it could be downloading the assets to a different folder?)
You have a invalid OpenAI key. You'll need to grab a working one from the API section of your OpenAI account.