minified-launch/com.dervarex.minified.launch.launch.modding.forge.installer
LegacyForgeGameJar
@API(status = INTERNAL)
public final class LegacyForgeGameJarForge up to 1.5.2 changes the Minecraft classes themselves, which fails with the signed vanilla jar So these versions get their own game jar without the signature, with the mods of Forge copied over it
Fields
JAR_MODS_KEY
staticSource
public static final String JAR_MODS_KEY = "minified:jarMods"Set on the version JSON for Forge up to 1.5.1, the relative paths of the zips that have to be copied into the game jar
Methods
void prepare(JsonObject, LaunchConfiguration)Builds the game jar returned by resolve, if the version needs one.Path resolve(JsonObject, LaunchConfiguration)public static void prepare(JsonObject loaderProfile, LaunchConfiguration config)Builds the game jar returned by
resolve, if the version needs one. Has to run after the vanilla jar was downloaded| Parameters | ||
|---|---|---|
loaderProfile | JsonObject | |
config | LaunchConfiguration | |
public static Path resolve(JsonObject loaderProfile, LaunchConfiguration config)| Parameters | ||
|---|---|---|
loaderProfile | JsonObject | The Forge version JSON |
config | LaunchConfiguration | |
| Returns | ||
Path | The game jar to use instead of the vanilla one, or null if the vanilla one works | |