public abstract class ClasspathModHandler
extends java.lang.Object
| Constructor and Description |
|---|
ClasspathModHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCaches() |
static void |
fixIndevForceLoadAsModDependencies()
Indev, Mixin puts jars using 'ForceLoadAsMod' on Forge's reparseable coremod list, which Forge's classpath mod discovery skips
Mixin only exempts ForgeGradle 2 dependencies ("deobfedDeps"), so with ForgeGradle 3+ those dependencies run their coremod and mixins but never load as mods
This takes such jars back off that list if they are on the launch classpath and not in the mods folder
Based on PR #10 by fresh-Glitch
|
static java.util.List<java.io.File> |
getModFileCandidates()
Same candidates Forge's Loader searches for mods: mods folder, mods/version folder, --mods and extracted contained dependencies
|
public static java.util.List<java.io.File> getModFileCandidates()
public static void clearCaches()
public static void fixIndevForceLoadAsModDependencies()