Skip to content

Port to Minecraft 26.2 - #16

Merged
cuspymd merged 1 commit into
mainfrom
port-to-minecraft-26.2
Jul 6, 2026
Merged

cuspymd merged 1 commit into
mainfrom
port-to-minecraft-26.2

Conversation

@cuspymd

@cuspymd cuspymd commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Port mcp-server-mod from Minecraft 26.1 to Minecraft 26.2 (both on Mojang official/unobfuscated names).
  • Bump Fabric API to 0.154.1+26.2 and widen fabric.mod.json's minecraft dependency range from ~26.1 to ~26.2.
  • Fix ScreenshotUtils: Minecraft.getMainRenderTarget() was removed in 26.2 (which introduces an initial Vulkan renderer backend alongside OpenGL); the render target now lives on GameRenderer (client.gameRenderer.mainRenderTarget()).
  • Add docs/minecraft-26.2-migration.md with the migration details, following the precedent of docs/minecraft-26.1-migration.md.
  • Update README.md / CLAUDE.md version references.

Verification

  • ./gradlew clean build --console=plain
  • ./gradlew clean check --console=plain
  • ./gradlew runServer --console=plain — mod loads, logs MCP Server Mod initialized and dedicated-server MCP init; halts on the expected dev-environment EULA prompt.

Follow-up

  • take_screenshot and other client-only rendering paths should be re-tested in a graphical environment, ideally under both the OpenGL and Vulkan render backends.

🤖 Generated with Claude Code

Bumps minecraft/fabric-api versions and fixes the render-target
accessor that moved from Minecraft to GameRenderer with the new
Vulkan-capable renderer backend introduced in 26.2.
@cuspymd
cuspymd merged commit 43dcec5 into main Jul 6, 2026
2 checks passed
@cuspymd
cuspymd deleted the port-to-minecraft-26.2 branch July 6, 2026 14:51
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