OptiFine 1.12.2 with Forge: mods folder, Forge #2847 and older modpacks

G5 lists Forge #2847, but RLCraft 2.9 requires 14.23.5.2860. Choose the pack first, add the exact JAR to its instance, and change one thing per startup check.

A glowing hearth inside a low stone workshop at the end of a stepped path.

Put OptiFine_1.12.2_HD_U_G5.jar in your Minecraft: Java Edition 1.12.2 Forge instance's mods folder. OptiFine lists Forge 14.23.5.2847 with G5. For RLCraft 2.9, keep the pack's Forge build and use the G5 file its author links. Close the game before adding the JAR.

Check the pack before choosing Forge

The OptiFine downloads page lists G5 under Minecraft 1.12.2. Its G5 changelog names Forge #2847. Use that pairing for a compatible Forge instance and check any additional requirements from your pack author.

For an existing pack, first record its exact release, Minecraft version and Forge build. Check the author's OptiFine instructions before changing any of them. A working pack is the starting point; changing Forge and adding OptiFine together leaves two possible causes if startup fails.

The RLCraft 2.9 release notes call for OptiFine G5 or later and Forge 2860 or later. The pack's manual-install instructions link to G5, warn that E3 can crash, and name 14.23.5.2860 as the packaged Forge build. If you use another release or another pack, follow its own loader requirements.

Add the G5 JAR to the correct instance

On the OptiFine downloads page, choose Show all versions and find Minecraft 1.12.2. Click (Mirror) in the G5 row, then Download on the official G5 page. If search takes you to E3, F5 or the G6 pre1 preview, return to the G5 row and check for OptiFine_1.12.2_HD_U_G5.jar.

The following route is for a Forge pack that already starts in Prism Launcher. If your pack uses another launcher, use that launcher's instance controls; the destination is the pack's own mods folder. The default Minecraft folder may belong to a different installation.

  1. Establish the starting point. Launch the unchanged pack to its title screen, then exit. Keep an independent backup of the instance and any worlds you need before modifying it. Keep the original world closed during the startup check.
  2. Select the pack instance. In Prism, open that instance's Edit menu. Check Minecraft 1.12.2 and its Forge build in the Version tab, then switch to Mods. The Prism OptiFine instructions name Add file as the control for selecting the downloaded JAR.
    Minecraft 1.12.2 and Forge 14.23.5.2847 in the launcher’s Version tab.
    Check Minecraft and Forge in Version before opening Mods.
  3. Add the exact file. Select OptiFine_1.12.2_HD_U_G5.jar. Prism's Mods view reflects the mods folder inside that pack's game folder. Selecting the instance this way avoids assuming a default OS path.
    Add file highlighted on the right side of the Mods tab.
    Choose Add file in the Forge instance’s Mods tab, then select the G5 JAR.
  4. Make this the only addition for the next launch. The OptiFine FAQ says to install OptiFine last, except for mods specifically designed to be installed after it. That advice doesn't mean renaming files to force a loading order.

Apply RLCraft's graphics conditions

Once RLCraft 2.9 reaches its title screen, go to Options > Video Settings > Performance and set Fast Render to OFF. Then select (internal) in Video Settings > Shaders for your first world check. The pack author's graphics instructions call for at least the built-in shaders and warn that Fast Render can cause a black screen when certain effects activate.

Performance Settings with Fast Render set to OFF in the second row.
Set Fast Render to OFF before checking RLCraft’s effects.

Open a disposable world after applying those settings. Test the effect you want to use there before loading an important save.

Temporarily disable the addition if startup fails

Close the game and return to the same instance's Mods view. Clear the checkbox beside G5: Prism documents that checkbox as a temporary disable control. Launch the pack again with its original Forge build and other mods unchanged.

If the pack starts again, adding G5 introduced the failing combination; that result doesn't identify which interaction caused it. Keep G5 disabled while checking the pack's instructions and error log. If the pack still fails, the disable step has not restored the working result. Stop adding files and compare the instance with your backup. Don't remove the pack's other mods or configs as an improvised repair.

For a different launcher, follow the instance-selection steps in adding OptiFine to a modpack. Use OptiFine 1.12.2 builds to compare G5 with the preview, or OptiFine with Forge when you're setting up the loader itself. Browse Forge and NeoForge for the related loader guides.