Skip to content

Update to Minecraft 26.3 - #17

Open
craftycorvid wants to merge 1 commit into
mainfrom
claude/minecraft-fabric-26-3-update-ffw9j6
Open

craftycorvid wants to merge 1 commit into
mainfrom
claude/minecraft-fabric-26-3-update-ffw9j6

Conversation

@craftycorvid

Copy link
Copy Markdown
Owner

Summary

Ports the mod from Minecraft 26.2 to 26.3, following the Fabric 26.3 announcement.

Dependency and toolchain bumps (gradle.properties, fabric.mod.json, Gradle wrapper)

Dependency 26.2 26.3
Minecraft 26.2 26.3
Fabric Loader 0.19.3 0.19.5
Fabric API 0.156.0+26.2 0.161.0+26.3
Polymer 0.17.3+26.2 0.18.2+26.3
Server Translations API 3.1.0+26.2 3.2.0+26.3
YACL 3.9.4+26.2-fabric 3.9.5+26.3-fabric
Mod Menu 20.0.1 21.0.0-beta.1
Gradle 9.5.1 9.6.0

Loom stays on 1.17 and Java stays on 25, both as the announcement recommends. Mod version bumped to 1.1 so the release does not collide with the existing v1.0 tag.

Code change: 26.3 replaces GLFW with SDL, so key codes must come from vanilla InputConstants. The atlas key binding now uses InputConstants.Type.KEYBOARD and InputConstants.KEY_M instead of InputConstants.Type.KEYSYM and GLFW.GLFW_KEY_M. That is the only source change needed: every other vanilla, Fabric API and Polymer member this mod calls or mixes into was checked against the 26.3 sources and is unchanged.

Needs a manual step: .github/workflows/publish.yml

The credentials available in this session are not allowed to modify workflow files, so this diff still needs to be applied by hand on the branch:

-  VERSION: 1.0
-  RELEASE_NAME: Improved Maps 1.0 for Minecraft 26.2
+  VERSION: 1.1
+  RELEASE_NAME: Improved Maps 1.1 for Minecraft 26.3
   CHANGE_LOG: |
-    - Only resolve atlases of the dimension the player is in
+    - Updated to Minecraft 26.3

Verification

  • The Fabric 26.3 post was read from the fabricmc.net site source. Its only change affecting this mod is the GLFW to SDL move; the removed Fabric APIs (fuel, composting, brewing, block transformers) are not used here.
  • Fabric API modules used by the mod (key mapping, rendering/HUD, networking, lifecycle, resource loader) were diffed between 0.156.0+26.2 and 0.161.0+26.3: no API changes beyond the KeyMapping javadoc.
  • Polymer's PolymerItem, PolymerSyncedObject, PolymerItemUtils events and resource pack helpers are unchanged between 0.17.3 and 0.18.2.
  • Vanilla members the mixins target (MapItem, MapItemSavedData, BundleItem, BundleContents.Mutable, CartographyTableMenu, MapRenderer, KeyMapping, Screen, GuiGraphicsExtractor, SavedDataType, ClientboundMapItemDataPacket) were checked against the 26.3 patch context in the NeoForge and Paper 26.3 branches and match the existing code.
  • The new wrapper was generated by Gradle itself and launches Gradle 9.6.0.
  • Not verified: a full ./gradlew build. The session's network policy blocks maven.fabricmc.net and Mojang's servers and only JDK 21 is installed, so the build could not run here. CI on this PR is the first real compile. Three mixin details cannot be confirmed from source alone and are the places to look first if CI fails: MapInstanceMixin (local variable ordinal in MapTextureManager$MapInstance.updateTextureIfNeeded), ToastManagerMixin (int local in ToastManager.extractRenderState) and ClientBundleTooltipMixin (extractBundleWithItemsTooltip signature).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WVrP6wzcUU6e7p266T5Shq


Generated by Claude Code

Bump the toolchain and dependencies to their 26.3 releases: Fabric
Loader 0.19.5, Fabric API 0.161.0+26.3, Polymer 0.18.2+26.3, Server
Translations API 3.2.0+26.3, YACL 3.9.5+26.3-fabric and Mod Menu
21.0.0-beta.1. Raise the loader and Minecraft requirements in
fabric.mod.json to match, and move the Gradle wrapper to 9.6.0 as the
Fabric 26.3 announcement recommends.

26.3 drops GLFW for SDL, so key codes must come from the vanilla
InputConstants class: the atlas key binding now uses
InputConstants.Type.KEYBOARD with InputConstants.KEY_M instead of
GLFW.GLFW_KEY_M. Nothing else this mod calls changed between 26.2 and
26.3.

Bump the mod version to 1.1.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WVrP6wzcUU6e7p266T5Shq
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