Skip to content

feat(spigot): add Minecraft 26.2 support#24

Open
clawd131662[bot] wants to merge 2 commits into
v3.0-forkfrom
claude/tender-planck-mnl81v
Open

feat(spigot): add Minecraft 26.2 support#24
clawd131662[bot] wants to merge 2 commits into
v3.0-forkfrom
claude/tender-planck-mnl81v

Conversation

@clawd131662

@clawd131662 clawd131662 Bot commented Jun 21, 2026

Copy link
Copy Markdown

Summary

Adds Spigot/Paper support for the Minecraft 26.2 ("Chaos Cubed") drop — the first release on Mojang's new calendar-based version scheme (released 2026-06-16).

This builds on the fork's existing reflection-based, paperweight-driven helper approach (bukkit-helper-121-11). Only the Spigot path is currently active in the build (Fabric/Forge remain disabled since the Gradle 9 migration), so support targets Spigot/Paper.

Changes

  • New bukkit-helper-26-2 module — reflection-based helper modelled on bukkit-helper-121-11, compiled against the Paper 26.2 dev bundle (26.2.build.25-alpha) on a JDK 25 toolchain.
  • 26.2 NMS adaptations:
    • BlockState.getLightBlock()getLightDampening() (renamed in 26.x)
    • Removed the now-private LevelChunk.loaded access — getChunkIfLoaded() already returns null when a chunk isn't loaded.
  • Build tooling:
    • Bumped paperweight.userdev 2.0.0-beta.192.0.0-beta.21 (required for the data-version-8 dev bundle).
    • Uses MOJANG_PRODUCTION since Paper 26.x no longer ships reobf mappings.
    • Emits Java 21 bytecode (so the existing Shadow plugin can bundle it) while resolving the Java 25 paper-api; the consumable variant is exposed at target JVM 8 so the multi-version Spigot plugin can embed it.
  • Wiring: settings.gradle, spigot/build.gradle, and version detection in Helper.java (MC 26.x).
  • Version: project version set to 26.2-beta.0 to track the new drop (and to satisfy the auto-tag-beta workflow's <base>.<N> requirement).

Verification

./gradlew :spigot:build succeeds locally (Gradle on JDK 21, paperweight using JDK 25). The resulting Dynmap-26.2-beta.0-spigot.jar bundles the org.dynmap.bukkit.helper.v26_2.* classes as Java 21 bytecode.

🤖 Generated with Claude Code

claude and others added 2 commits June 21, 2026 03:50
Add a Spigot/Paper helper for the Minecraft 26.2 ("Chaos Cubed") drop,
which is the first release on Mojang's new calendar-based version scheme.

- New reflection-based bukkit-helper-26-2 module modelled on
  bukkit-helper-121-11, built against the Paper 26.2 dev bundle
  (26.2.build.25-alpha) on a JDK 25 toolchain.
- Adapt to 26.2 NMS changes: BlockState.getLightBlock() ->
  getLightDampening(), and drop the now-private LevelChunk.loaded access
  (getChunkIfLoaded already returns null when a chunk is not loaded).
- Bump paperweight.userdev 2.0.0-beta.19 -> 2.0.0-beta.21 to support the
  data-version-8 dev bundle, and use MOJANG_PRODUCTION since Paper 26.x no
  longer ships reobf mappings.
- Emit Java 21 bytecode (so the existing Shadow plugin can bundle it) while
  resolving the Java 25 paper-api, and expose the consumable variant at
  target JVM 8 so the multi-version Spigot plugin can embed it.
- Wire the module into settings.gradle, spigot/build.gradle and the
  version detection in Helper.java (MC 26.x).
- Set project version to 26.2-beta.0 to track the new drop.

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