Repository navigation
1.0.4 — 基准 jar 按世代选择(支持 26.2 K2_pre5)
1.0.4: era-aware base jar, so OptiFine 26.2 K2_pre5 works automatically
Three fixes, each measured:
- The launcher profile jar (versions/<--version>/.jar) is now a base candidate. It is the correct base for
1.17-1.21 (an old diagnose recorded "base 1.21.8-forge-58.1.26.jar"); the old discovery only looked at
forge-*-client.jar and versions//.jar and missed it. - Candidates are ordered by era: 26.x patches the unobfuscated vanilla jar (Forge-binpatched classes make the
payload produce structurally broken output - javap reports "Bad tag (99)"), every other line prefers the profile
jar, then the Forge client jar, then vanilla. The payload-MD5 gate that rejected profile/Forge jars is gone. - Mapping and access transformers:
- index.txt lists two entries, so the "only bundled table" fallback never fired and 1.21.8 reported "mapping
table: none available"; selection now falls back on a version prefix (1.21.8 -> 1.21) and 26.x never remaps. - the bundled table has no f_379621_, but Forge writes the readable name in a comment
("... RenderPipelines f_379621_ # GUI_TEXTURED_SNIPPET"); grants now match that name too. Without it
ForgeRenderTypes$Internal died with IllegalAccessError.
- index.txt lists two entries, so the "only bundled table" fallback never fired and 1.21.8 reported "mapping
Verified in game (each reached the title screen with an empty crash-reports):
- 26.2 + OptiFine HD_U_K2_pre5: base 26.2.jar, 571 classes patched, 0 failures, 198-206 [OptiFine] lines.
- 26.1.2 + HD_U_K1_pre2: base 26.1.2.jar, 566 classes, 0 failures, 189 lines.
- 1.21.8 + J6_pre13: base 1.21.8-forge-58.1.26.jar, 515 classes, 0 failures, 238 lines, ATs replayed to 35 classes.
- 1.20.1 + I6: base 1.20.1-forge-47.4.20.jar, 412 classes, 0 failures, 118 lines, ATs replayed to 40 classes.
-Doptiforge.vanilla still forces a specific base, but 26.x no longer needs it. Artifacts unchanged otherwise.