Skip to content

迁移 Fabric Mod 至 Minecraft 26.2#4

Open
FFDVDGD wants to merge 11 commits into
WenHe233:masterfrom
FFDVDGD:mc/26.2-fabric
Open

迁移 Fabric Mod 至 Minecraft 26.2#4
FFDVDGD wants to merge 11 commits into
WenHe233:masterfrom
FFDVDGD:mc/26.2-fabric

Conversation

@FFDVDGD

@FFDVDGD FFDVDGD commented Jul 10, 2026

Copy link
Copy Markdown

代码由 codex 生成(没错我被Claude封号了QWQ),已通过构建与开发客户端启动验证,功能正常。

请勿直接合并到 master。请创建 mc/26.2-fabric 分支。

修改

  • 迁移至 Minecraft 26.2、Java 25、Fabric Loader 0.19.3、Loom 1.17.13 和 Gradle 9.5.1
  • 适配 26.2 HUD、屏幕及容器输入 API
  • 加入整条扩展热栏的循环滚动
  • 保留 Litematica/Tweakeroo 滚轮兼容

Wen_He and others added 11 commits June 6, 2026 23:03
Converts the NeoForge mod to a client-only Forge 1.19.2 build using a row-flip
mechanic (scroll past the edge swaps a whole inventory row into the real hotbar
via container clicks, accepted by vanilla servers). Removes all networking and
server-side mixin overrides. Adds GitHub Actions CI/release workflows and the
.github/ci/java-version JDK hint for the branch matrix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Forge 1.20.1 (Java 17). Rewrites GuiMixin onto the 1.20.x GuiGraphics API (blit via
guiGraphics, no RenderSystem), still using the widgets/icons atlases. Simplifies
InventoryMixin to drop the level-side guard (swapPaint is client-only; onScroll guards
on Minecraft.player) to stay version-agnostic. compileJava + mixin refmap validated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Forge 1.21.1 (52.1.14, Java 21). Rewrites GuiMixin onto the 1.21.x sprite API
(guiGraphics.blitSprite + DeltaTracker); Util now holds hud sprite ids. Bumps the
Gradle wrapper to 8.8 (Tencent mirror; aliyun lacks 8.8) for Java 21 toolchain support,
build toolchain + .github/ci/java-version to 21, mixin compatLevel JAVA_21, pack_format 34.
compileJava + mixin refmap validated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fabric 1.21.1 (Java 21), sprite-era GuiMixin. Loom requires the Gradle JVM itself to be Java 21 for 1.21 (not just the toolchain), so .github/ci/java-version=21 is required for this branch. Build validated locally with a JDK 21.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
When tweakeroo's zoom is active (toggle keybind held, zoom activate held,
or spyglass zoom), skip hotbar scroll interception and let the scroll event
pass through to tweakeroo/malilib for FOV adjustment.

Uses FabricLoader mod detection + cached reflection to avoid a hard
dependency on tweakeroo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FFDVDGD
FFDVDGD marked this pull request as ready for review July 10, 2026 17:27
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