hotfix: fix 26.3 boot crash (renderLevel signature + screen field moved to Gui) — 0.9.8+mc26.3 #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bot/hotfix-0.9.8"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Crash log from the shipped v0.9.5+mc26.3 (01:34 2026-09-19, client):
Root cause (verified against fabric-loom 26.3 minecraft-merged.jar with javap):
GameRenderer.renderLevel()no longer takes aDeltaTrackerparameter (26.2 wasrenderLevel(DeltaTracker)). The injected handler must beresetBobMatrix(CallbackInfo); any other descriptor makes Mixin fail at boot. Both the released 0.9.5/0.9.4 jars andorigin/mainstill carry the old 26.2 signature.MinecraftClientMixinshadows thescreenfield onMinecraft, which no longer exists in 26.3 (it moved toGui). 0.9.5'sclient.gui.screen()/gui.setScreen()rewrite was correct; this fix restores that access for the null-check and keepssetScreenAndShow(Screen)(the method still exists in 26.3 and does exactly what it did in 26.2:gui.setScreen+ a forced renderFrame).bobHurt/bobViewandMouseMixintargets were verified unchanged in 26.3.Changes: GameRendererMixin handler signature; MinecraftClientMixin screen access; mod_version 0.9.4+mc26.3 -> 0.9.8+mc26.3 (0.9.5 was the last shipped tag).
Pins: minecraft 26.3, loader 0.19.5, fabric-api 0.160.7+26.3 (unchanged on main). Local
./gradlew buildgreen.