Skip to content

Minecraft 26.x support - #833

Merged
devnatan merged 1 commit into
mainfrom
feat/minecraft-26x-support
Jul 29, 2026
Merged

Minecraft 26.x support#833
devnatan merged 1 commit into
mainfrom
feat/minecraft-26x-support

Conversation

@devnatan

Copy link
Copy Markdown
Owner

Bumps Spigot/Paper to 26.1.x and branches all NMS reflection lookups (ReflectionUtils, InventoryUpdate, AnvilInputNMS) on a new McVersion#isModern() flag, using clean Mojang-mapped names on modern (1.17+) servers while preserving every legacy/obfuscated lookup for older versions.

Why i did not use paperweight-userdev: this library accesses NMS purely through runtime reflection, and applying paperweight to platform-bukkit would createa circular Gradle task dependency with anvil-input, since paperweight makes reobfJar the module's effective output artifact. A plain compileOnly against the bumped Spigot/Paper coordinates avoids this entirely.

@devnatan
devnatan force-pushed the feat/minecraft-26x-support branch 2 times, most recently from 6396a3a to eaeafb1 Compare July 29, 2026 18:34
@devnatan
devnatan merged commit 5421d18 into main Jul 29, 2026
4 of 5 checks passed
@devnatan
devnatan deleted the feat/minecraft-26x-support branch July 29, 2026 18:34
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