feat(spigot): add Minecraft 26.2 support#24
Open
clawd131662[bot] wants to merge 2 commits into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
bukkit-helper-26-2module — reflection-based helper modelled onbukkit-helper-121-11, compiled against the Paper 26.2 dev bundle (26.2.build.25-alpha) on a JDK 25 toolchain.BlockState.getLightBlock()→getLightDampening()(renamed in 26.x)LevelChunk.loadedaccess —getChunkIfLoaded()already returnsnullwhen a chunk isn't loaded.paperweight.userdev2.0.0-beta.19→2.0.0-beta.21(required for the data-version-8 dev bundle).MOJANG_PRODUCTIONsince Paper 26.x no longer ships reobf mappings.paper-api; the consumable variant is exposed at target JVM 8 so the multi-version Spigot plugin can embed it.settings.gradle,spigot/build.gradle, and version detection inHelper.java(MC 26.x).26.2-beta.0to track the new drop (and to satisfy theauto-tag-betaworkflow's<base>.<N>requirement).Verification
./gradlew :spigot:buildsucceeds locally (Gradle on JDK 21, paperweight using JDK 25). The resultingDynmap-26.2-beta.0-spigot.jarbundles theorg.dynmap.bukkit.helper.v26_2.*classes as Java 21 bytecode.🤖 Generated with Claude Code