> ## Content Index
> Fetch the complete content index at: https://optifinepro.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# OptiFine 1.20.4, 1.20.2 and 1.20.6: builds and Forge
- URL: https://optifinepro.com/optifine-1-20-4/
- Published: 2026-11-27T14:23:37.000Z
- Updated: 2026-12-03T15:56:49.000Z
- Description: Start with OptiFine I7 for Minecraft 1.20.4. Use I8 pre4 for its preview fixes. Both list Forge 49.0.31. If your launcher shows 1.20.2 or 1.20.6, choose a separate JAR.
- Author: Tom Fletcher
- Tags: Versions & downloads

For Minecraft: Java Edition **1.20.4**, use the [OptiFine HD U I7 release](https://optifine.net/adloadx?f=OptiFine%5F1.20.4%5FHD%5FU%5FI7.jar&ref=optifinepro.com) and **Forge 49.0.31** if you play on Forge. Use [I8 pre4](https://optifine.net/adloadx?f=preview%5FOptiFine%5F1.20.4%5FHD%5FU%5FI8%5Fpre4.jar&ref=optifinepro.com) when you need a fix in the preview series. OptiFine lists the same Forge build for both files.

## Find the I7 release on optifine.net

Read the exact version in **Installations** in Minecraft Launcher. Open **Show all versions** on the [official OptiFine catalog](https://optifine.net/downloads?ref=optifinepro.com) and find **Minecraft 1.20.4**. Choose **(Mirror)** on the I7 row. The download page names **OptiFine 1.20.4 HD U I7** and the file is `OptiFine_1.20.4_HD_U_I7.jar`.

[![Minecraft 1.20.4 catalog row with OptiFine HD U I7, Mirror and Forge 49.0.31.](https://storage.ghost.io/c/32/e6/32e6ee7b-5f4d-4638-b645-87874bcd9fde/content/images/2026/11/a07-release-20261127.webp)](https://storage.ghost.io/c/32/e6/32e6ee7b-5f4d-4638-b645-87874bcd9fde/content/images/2026/11/a07-release-20261127.webp?ref=optifinepro.com)

Choose the Mirror on the I7 release row.

I would start with I7 for a new 1.20.4 profile. The [I7 changelog](https://optifine.net/changelog?f=OptiFine%5F1.20.4%5FHD%5FU%5FI7.jar&ref=optifinepro.com) includes a fix for the BlockEntity Forge patch and a fix for shader shadows when ticks are frozen. A modpack pinned to Minecraft 1.20.1 needs [a separate 1.20.1 JAR](https://optifinepro.com/optifine-1-20-1/), even if a guide for 1.20.4 appears in the results.

## Pick I8 pre4 for a specific preview fix

Under **Minecraft 1.20.4**, expand **\+ Preview versions**. Choose `preview_OptiFine_1.20.4_HD_U_I8_pre4.jar` if the preview changes address your issue. The [I8 pre2 changelog](https://optifine.net/changelog?f=preview%5FOptiFine%5F1.20.4%5FHD%5FU%5FI8%5Fpre2.jar&ref=optifinepro.com) records the moving-piston crash fix, mouse-wheel scrolling in Shaders, and Quick Info in place of Show FPS. Pre4 carries those changes forward. Its [own changelog](https://optifine.net/changelog?f=preview%5FOptiFine%5F1.20.4%5FHD%5FU%5FI8%5Fpre4.jar&ref=optifinepro.com) adds custom entity model attachments and fixes the Quick Info **All OFF** button.

[![Expanded Minecraft 1.20.4 Preview versions showing I8 pre4 and Forge 49.0.31.](https://storage.ghost.io/c/32/e6/32e6ee7b-5f4d-4638-b645-87874bcd9fde/content/images/2026/11/a07-preview-20261127.webp)](https://storage.ghost.io/c/32/e6/32e6ee7b-5f4d-4638-b645-87874bcd9fde/content/images/2026/11/a07-preview-20261127.webp?ref=optifinepro.com)

Expand Preview versions and pick I8 pre4 for the changes in that preview line.

Use one OptiFine file in each game directory. To compare I7 and I8 pre4 in a Forge pack, make a separate copy and change only that JAR so you can return to the working setup.

## Install Forge 49.0.31, then add the JAR

Expand **Show all Versions** on [Forge's 1.20.4 download list](https://files.minecraftforge.net/net/minecraftforge/forge/index%5F1.20.4.html?ref=optifinepro.com). Choose **Installer** at **49.0.31**. Run the Forge installer and select **Install client**. Launch the resulting Forge profile once and quit. [Install the OptiFine JAR with Forge](https://optifinepro.com/install-optifine-with-forge/) using the game folder for this profile.

[![Forge 49.0.31 sits between 49.0.32 and 49.0.30 with its Installer link outlined.](https://storage.ghost.io/c/32/e6/32e6ee7b-5f4d-4638-b645-87874bcd9fde/content/images/2026/11/a07-forge-20261127.webp)](https://storage.ghost.io/c/32/e6/32e6ee7b-5f4d-4638-b645-87874bcd9fde/content/images/2026/11/a07-forge-20261127.webp?ref=optifinepro.com)

In the expanded Forge list, choose Installer on the 49.0.31 row.

Under **Installations**, use the folder icon on that profile to open its game directory. Put the intact OptiFine JAR in that directory's `mods` folder and launch Forge again. If the pack already uses a different Forge version, keep the pack intact and use a separate copy for the documented pairing.

## Use the matching profile for standalone and shaders

For standalone OptiFine, [run your exact vanilla Minecraft version once](https://optifine.readthedocs.io/install%5Fvanilla.html?ref=optifinepro.com) until the title screen, then quit. Open the OptiFine JAR and choose **Install**. Select the OptiFine installation in Minecraft Launcher. If a double-click opens an archive app, run `java -jar "OptiFine_1.20.4_HD_U_I7.jar"` from the download folder. Replace the filename in quotes with the exact JAR you chose. The terminal keeps Java’s first error visible if the installer fails.

With the OptiFine installation active, open **Options > Video Settings > Shaders… > Shaders Folder**. Use a pack whose requirements cover Minecraft 1.20.4\. Return to **Shaders** and select it, following the [OptiFine pack-loading steps](https://optifine.readthedocs.io/shaders.html?ref=optifinepro.com).

## Use a separate file for 1.20.2 or 1.20.6

- **Minecraft 1.20.2.** Use the [I7 pre1 preview](https://optifine.net/adloadx?f=preview%5FOptiFine%5F1.20.2%5FHD%5FU%5FI7%5Fpre1.jar&ref=optifinepro.com) in a standalone installation. The [pre1 changelog](https://optifine.net/changelog?f=preview%5FOptiFine%5F1.20.2%5FHD%5FU%5FI7%5Fpre1.jar&ref=optifinepro.com) marks direct Forge compatibility as unavailable. Follow [the 1.20.2 standalone steps](https://optifinepro.com/optifine-1-20-2/) in your official launcher.
- **Minecraft 1.20.5.** The catalog has no matching OptiFine build. If the server and all mods allow it, move a copy to 1.20.6\. [Mojang requires Java 21 and a 64-bit operating system from 1.20.5](https://www.minecraft.net/en-us/article/minecraft-java-edition-1-20-5?ref=optifinepro.com). Back up your world before opening it in the updated installation.
- **Minecraft 1.20.6.** Use the [J1 pre18 preview](https://optifine.net/adloadx?f=preview%5FOptiFine%5F1.20.6%5FHD%5FU%5FJ1%5Fpre18.jar&ref=optifinepro.com). OptiFine pairs it with [Forge 50.1.19](https://files.minecraftforge.net/net/minecraftforge/forge/index%5F1.20.6.html?ref=optifinepro.com). If you use Fabric, the [Reforged 1.1.9 compatibility table](https://github.com/Kynarain/OptiFabric-Reforged/blob/v1.1.9-reforged%2Bmc1.20.6/docs/OPTIFINE%5FVERSIONS.md?ref=optifinepro.com) lists J1 pre18\. The [maintainer’s 1.20.6 requirements](https://www.curseforge.com/minecraft/mc-mods/optifabric-reforged?ref=optifinepro.com) specify Fabric Loader 0.19.3 or newer and Java 21 or newer. For the official launcher and Forge, follow [the 1.20.6 installation steps](https://optifinepro.com/optifine-1-20-6/).