Skip to content

Run Local Versions like OPTIFINE MODS etc #36

@andfont

Description

@andfont

There is no way to run local mods like optifine or similar, is there a way?
example error:
java.io.IOException: Couldn't parse version json: 1.19.2-Aristois
at org.to2mbn.jmccc.version.parsing.Versions.resolveVersion(Versions.java:44)
at org.to2mbn.jmccc.option.LaunchOption.requireVersion(LaunchOption.java:125)
at org.to2mbn.jmccc.option.LaunchOption.(LaunchOption.java:101)
at launcherabf.menu.ejecutarmc(menu.java:344)
at launcherabf.menu$2.actionPerformed(menu.java:103)

public static Version resolveVersion(MinecraftDirectory minecraftDir, String version) throws IOException {
Objects.requireNonNull(minecraftDir);
Objects.requireNonNull(version);

    if (doesVersionExist(minecraftDir, version)) {
        try {
            return getVersionParser().parseVersion(resolveVersionHierarchy(version, minecraftDir), PlatformDescription.current());
        } catch (JSONException e) {
            throw new IOException("Couldn't parse version json: " + version, e);
        }
    } else {
        return null;
    }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions