Multi MC and optifine 1.18.2
Optifine for 1.18.2
from: MMC Wiki
Make a new instance in MultiMC with the wanted version of Minecraft.
Click Edit Instance – it should open the Version page of the instance.
Click Add Empty.
Set uid to optifine.OptiFine and name to OptiFine.
Select the newly created component and click Edit – this should open the file in a text editor.
Edit the JSON and paste the code from below.
Download OptiFine and save the jar file in /libraries/. Create the libraries folder if it doesn’t exist.
If you look at the whole path, it should be something like this:
JSON
{
"formatVersion": 1,
"name": "OptiFine",
"+libraries": [
{
"name": "optifine:launchwrapper-of:2.3",
"MMC-hint": "local",
"MMC-filename": "launchwrapper-of-2.3.jar"
},
{
"name": "optifine:OptiFine:1.18.2_HD_U_H6_pre1",
"MMC-hint": "local",
"MMC-filename": "OptiFine_1.18.2_HD_U_H6_pre1.jar"
}
],
"+tweakers": [ "optifine.OptiFineTweaker" ],
"mainClass": "net.minecraft.launchwrapper.Launch",
"requires": [
{
"uid": "net.minecraft",
"equals": "1.18.2"
}
],
"uid": "optifine.OptiFine",
"version": "1.18"
}