Skip to content

prepend missing extraLibraries#15

Open
Trial97 wants to merge 1 commit intoPrismLauncher:masterfrom
Trial97:fix_class_path
Open

prepend missing extraLibraries#15
Trial97 wants to merge 1 commit intoPrismLauncher:masterfrom
Trial97:fix_class_path

Conversation

@Trial97
Copy link
Copy Markdown
Member

@Trial97 Trial97 commented Mar 28, 2026

fixes PrismLauncher/PrismLauncher#5255

Tested on:

  • forge for mc1.13.2
  • forge for mc1.16.2
  • forge for mc1.17.1
  • forge for mc1.18.2
  • forge for mc1.19.2
  • forge for mc1.21.1
  • neoforge for mc1.21.1
  • forge for mc26.1
  • neoforge for mc26.1

How to test:

  • download the archive from the GH actions
  • extract it as you only need the ForgeWrapper-prism-....jar file
  • copy the mentioned file in the libraries folder from your instance (you can access that folder from instance version settings on the left side there is one libraries)
  • now back to prism in the versions tab select the modloader then hit Customize then Edit
  • this should open <instance root>/patches/net.neoforged.json
  • identify the object that contains ForgeWrapper and replace it with:
{
      "MMC-hint": "local",
      "name": "io.github.zekerzhayard:ForgeWrapper:prism-..."
    },
  • hit Launch in PrismLauncher

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Copy link
Copy Markdown
Member

@Ryex Ryex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a viable solution to keep ForgeWrapper working.
I'd prefer this over the hard fix in the launcher.

@LexManos
Copy link
Copy Markdown

LexManos commented Apr 2, 2026

The basic concept is fine, its basically how any transforming class loader works. Returning its own stuff before returning from parent.

I would still advise just running the installer process once instead of every launch for the sake of end user's time.
But I've argued that for years and nobody cares so do as you wish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to launch Forge 62.0.1 (26.1)

3 participants