Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Complicated Mods

Janrupf edited this page Oct 9, 2020 · 4 revisions

Complicated mods

While we give our best to correctly inject mods into forge or other mod loaders, some might require a few hacks to work. Those are disabled by default, and need to be enabled in the respective configuration file for the mod.

Launchwrapper Tweakers with low tweak order (e.g. OptiFine)

Some mods require to be injected before forge itself. This is not possible without manipulating the LaunchClassLoader, and thus requires a special entry in the options key:

{
    "url": "https://my-core-mod.com/download/mod.jar",
    "options": {
        "launchwrapperTweakerForceNext": true
    }
}

Practical example (uses follows key, not required for "launchwrapperTweakerForceNext"):

{
    "url": "http://optifine.net/adloadx?f=OptiFine_1.12.2_HD_U_F5.jar",
    "follows": ["OptiFine 1.12.2 HD U F5"],
    "fileName": "Optifine_1.12.2_HD_U_F5.jar",
    "options": {
        "launchwrapperTweakerForceNext": true
    }
}

This feature is supported in version 1.0+