Skip to content

Repository files navigation

OptiRefine 目前没有可用版本,请勿在任何实际场景下载安装。暂不接受由OptiRefine引发崩溃或错误的issue。但你仍然可以反馈OptiFine本身在Cleanroom环境下存在的问题,需要的特性。

OptiRefine

OptiRefine is a mod that utilizes Mixin to patch Optifine, keeping optifine compatible with cleanroom and reducing its destructiveness.

Post incompatible issues of optifine here!

Project Steps

[✔] Make the patches

[✔] Disable OptiFineClassTransformer as it make file replacement

[✔] Reimplement OptiFine with mixin (122/122)

[✔] Migrate build toolchain to the CleanroomModTemplate mixin branch (Gradle 9.6.1 / unimined 1.4.26-kappa / Cleanroom loader 0.5.17-alpha / JDK 26) and make gradlew build pass

[] Runtime verification in-game (mixin apply, AccessibleOperation, cursed mixin extensions)

[] Fix optifine and update to lwjgl3

High Priority:

Cleanroom conflict fixes

Mod conflict fixes

Medium Priority:

Latest GL support

Latest OptiFine features

Low Priority:

Syntax sugar

Continue optimization

Build

Requires JDK 26 (JAVA_HOME must point to it). Then:

./gradlew build

Note: mixins are written against the vanilla MCP classes on the compile classpath; OptiFine-only members are accessed via @AccessibleOperation / @Shadow (see FOR_AGENT.md).

Feats

Cleanroom removed Realms

OptiRefine does not perform any special repairs, which may prove to be universal.

with Fugue

image

with OptiRefine

image

About

OptiRefine is a mod that utilizes Mixin to patch Optifine, keeping optifine compatible with cleanroom and reducing its destructiveness.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages