Skip to content

Instantly share code, notes, and snippets.

@ScottoMotto
Last active October 30, 2019 23:07
Show Gist options
  • Save ScottoMotto/f5bb22e6ff5691e2465d8720ba648885 to your computer and use it in GitHub Desktop.
Save ScottoMotto/f5bb22e6ff5691e2465d8720ba648885 to your computer and use it in GitHub Desktop.
JSON patch for MultiMC for Optifine 1.14 Minecraft
{
"+tweakers": [
"optifine.OptiFineTweaker"
],
"formatVersion": 1,
"libraries": [
{
"name": "net.minecraft:launchwrapper:1.12"
},
{
"MMC-filename": "OptiFine_1.14_HD_U_F1_pre2.jar",
"MMC-hint": "local",
"name": "optifine:OptiFine:1.14_HD_U_F1_pre2"
}
],
"mainClass": "net.minecraft.launchwrapper.Launch",
"name": "OptiFine",
"requires": [
{
"equals": "1.14",
"uid": "net.minecraft"
}
],
"uid": "optifine.Optifine",
"version": "1.14_HD_U_F1_pre2"
}
@fuck-shithub
Copy link

Alright, I found a fix for 1.14.4_HD_U_F2_pre1:

  1. Have Minecraft 1.14.4 installed on the default MC launcher.
  2. Run the OptiFine installer and extract, then move the extracted JAR to your instance's libraries folder and remove the "_MOD" suffix from the filename.
  3. Run the OptiFine installer again but now Install OptiFine for default MC launcher.
  4. Go to %appdata%\.minecraft\libraries\optifine\launchwrapper-of\2.1 and copy the JAR to your instance's libraries folder.
  5. Go to the Version tab for your instance in MultiMC.
  6. Add Empty
    Name: OptiFine
    uid: optifine.Optifine
  7. Edit it
  8. Paste the following into the file
{
    "+tweakers": [
        "optifine.OptiFineTweaker"
    ],
    "formatVersion": 1,
    "libraries": [
        {
            "MMC-filename": "launchwrapper-of-2.1.jar",
            "MMC-hint": "local",
            "name": "optifine:launchwrapper-of:2.1"
        },
        {
            "MMC-filename": "OptiFine_1.14.4_HD_U_F2_pre1.jar",
            "MMC-hint": "local",
            "name": "optifine:OptiFine:1.14.4_HD_U_F2_pre1"
        }
    ],
    "mainClass": "net.minecraft.launchwrapper.Launch",
    "name": "OptiFine",
    "requires": [
        {
            "equals": "1.14.4",
            "uid": "net.minecraft"
        }
    ],
    "uid": "optifine.Optifine",
    "version": "1.14.4_HD_U_F2_pre1"
}

And you're good to go!

@maop
Copy link

maop commented Jul 30, 2019

This is what works for me:

  1. Extract Optifine and let it save as OptiFine_xxxx_MOD.jar (yes you have to make a 1.14.4 profile with the Minecraft.jar official launcher first)
  2. Go to MultiMC and Edit Instance
  3. In Version section click Add to Minecraft.jar and select OptiFine_xxxx_MOD.jar
  4. that's it, launch!

MultiMC saves the optifine's jar in /jarmods and creates the patch at /patches

I just tested with OptiFine_1.14.4_HD_U_F2.jar and everything worked just fine.

@pjlasl
Copy link

pjlasl commented Oct 30, 2019

This is what works for me:

  1. Extract Optifine and let it save as OptiFine_xxxx_MOD.jar (yes you have to make a 1.14.4 profile with the Minecraft.jar official launcher first)
  2. Go to MultiMC and Edit Instance
  3. In Version section click Add to Minecraft.jar and select OptiFine_xxxx_MOD.jar
  4. that's it, launch!

MultiMC saves the optifine's jar in /jarmods and creates the patch at /patches

I just tested with OptiFine_1.14.4_HD_U_F2.jar and everything worked just fine.

I have been looking for a solution and this worked perfect for me. It worked for OptiFine_1.14.4_HD_U_F4.jar

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