minecraft-launcher-core-node icon indicating copy to clipboard operation
minecraft-launcher-core-node copied to clipboard

@xmcl/core doesn't recognize Forge

Open WeroCode opened this issue 1 year ago • 2 comments

  • Electron version: 20.0.1 (latest)

  • @xmcl/core version: 2.10.1 (latest)

My code: carbon (1)

Output: MissingVersionJson: ENOENT: no such file or directory, open 'C:\Users\User\AppData\Roaming\.minecraft\versions\1.12.2\1.12.2.json'

Why does @xmcl/core remove everything and leave only "1.12.2"?

WeroCode avatar Aug 04 '22 19:08 WeroCode

Interesting fact: with the latest version of Minecraft everything is exactly the same

WeroCode avatar Aug 04 '22 20:08 WeroCode

Install Dependencies also does not work, version.parse also gives "1.12.2"

WeroCode avatar Aug 05 '22 06:08 WeroCode

I need to highlight this in the docs...

The installForge only install forge over a Minecraft version. You need to first await install(aVersion, minecraft); to install the 1.12.2 Minecraft.

ci010 avatar Oct 25 '22 04:10 ci010