Skip to content

MC 26.1 (beta): add 26.1.2 NeoForge target - #20

Merged
KoSHeroff merged 1 commit into
mainfrom
feature-mc26.1-neoforge
Jul 24, 2026
Merged

MC 26.1 (beta): add 26.1.2 NeoForge target#20
KoSHeroff merged 1 commit into
mainfrom
feature-mc26.1-neoforge

Conversation

@KoSHeroff

Copy link
Copy Markdown
Member

Adds a 26.1.2 NeoForge target. 26.1 is the released MC line (NeoForge 26.1.2.86 is non-beta; MCEF 2.2.0-26.1.1 supports 26.1.1/26.1.2).

API delta 26.1 vs 26.2: the screen accessor moved into Gui only in 26.2. In 26.1 it's still Minecraft.screen / Minecraft.setScreen() (same as 1.21.11). So the screen/setScreen guards are narrowed >=26>=26.2-neoforge (the -neoforge suffix is required because stonecutter treats the loader tag as a semver prerelease, so 26.2-neoforge < 26.2.0). Everything else — sendSystemMessage, GuiGraphicsExtractor/extractRenderState, MouseHandler.onButton(MouseButtonInfo) — is identical across 26.1 and 26.2.

CI/release: 26.1.2 added to the build matrix (JDK 25) and release publish as a non-blocking beta (continue-on-error), mirroring 26.2.

Verified in-game on a real 26.1.2 NeoForge client (Prism): NeoForge mod loading … for MC 26.1.2, WebGUI bridge ready, Chromium Embedded Framework initialized, no crash. All 5 stable targets + 26.2 unaffected (compiled).

26.1 is the released MC line (NeoForge 26.1.2.86 is non-beta), MCEF
2.2.0-26.1.1 supports it. Add the 26.1.2-neoforge target (Java 25).

26.1 keeps the pre-26.2 screen API: Minecraft.screen / setScreen (the
gui.screen()/gui.setScreen() move happened in 26.2). Narrow those guards
from >=26 to >=26.2-neoforge so 26.1 falls back to client.screen, same as
1.21.11. Everything else (sendSystemMessage, GuiGraphicsExtractor,
MouseHandler.onButton) is identical across 26.1/26.2.

CI: 26.1.2 added to the build matrix and release (beta, non-blocking).
Verified in-game on a real 26.1.2 NeoForge client: WebGUI bridge ready,
Chromium initialized. Stable targets + 26.2 unaffected.
@KoSHeroff
KoSHeroff merged commit 81a67c7 into main Jul 24, 2026
8 checks passed
@KoSHeroff
KoSHeroff deleted the feature-mc26.1-neoforge branch July 24, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant