Skip to content

Make OptiFine be compatible with Forge.

License

Notifications You must be signed in to change notification settings

bendoerr/OptiForge

 
 

Repository files navigation

OptiForge (CurseForge)

Compatibility: (2020-06-22)
OptiForge-0.1.25
Forge-1.15.2-31.2.15 or newer version
OptiFine-1.15.2-G1-pre30 or newer version

How to Use

  1. Download OptiFine 1.15.2
  2. Download MixinBootstrap
  3. Download OptiForge at the release page
  4. Put the above mods into the mods folder.
  5. Launch Minecraft!

Notice: If you find a bug, please report it to OptiForge first unless you are sure it is an OptiFine bug.

About reporting crash

I recommend installing MoreCrashInfo mod. This mod will print more useful information to crash reports, and these can help us locate errors faster.

For Development Environment

  1. There is a project called OptiFineDevTweaker can help us use OptiFine under development environment. You should put OptiFine itself and OptiFineDevTweaker mod to <projectDir>/run/mods folder.
  2. If your project doesn't depend on Mixin, you should put MixinBootstrap mod to mods folder.
  3. You should also put OptiForge jar with -deobf suffix to mods folder.

Notice:
1. If you redefined your Gradle user home, you should add a VM argument:
-Dofdev.mcjar=<gradle.user.home>\caches\forge_gradle\minecraft_repo\versions\1.15.2\client.jar
2. OptiFineDevTweaker will dump all deobfuscated OptiFine classes to ./run/.optifineDev.classes folder.
3. There are some useful Mixin properties for debugging: Mixin Java System Properties
I recommend you add -Dmixin.debug.export=true, it can dump all mixed classes to ./run/.mixin.out/class folder.
4. The recommended mcp mappings version is snapshot_20200612-1.15.1

Screenshots

OF0.png

About

Make OptiFine be compatible with Forge.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.8%
  • JavaScript 2.2%