Conversation
Minecraft 26.3 reuses every block-data property the plugin already exposes. The only API changes are the new ShelfMushroom interface, which only extends Ageable and Directional, and the removal of the deprecated PinkPetals interface, which the plugin never referenced. Every new 26.3 block (the POPLAR wood set, SHELF_MUSHROOM, STRAW_BED, and the wool and concrete slabs and stairs) maps onto interfaces that are already handled. An audit against the 26.3 API confirms every property-bearing BlockData interface is covered; only the BlockData base interface itself is unmapped, which is intended. PacketEvents 2.13.0 cannot load on 26.3, so the plugin needs the 2.14 line. No 2.14 release exists yet, so the build and the runtime tests use the 2.14.0 development build. - paper-api 26.3.build.33-alpha - packetevents-spigot 2.14.0-SNAPSHOT - add 26.3 to the Paper and Folia runtime matrices - reassemble the installable PacketEvents JAR from the CodeMC modules in the runtime tests, because only unshaded modules are published Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
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 Minecraft 26.3 support.
Minecraft 26.3 needs no new block-data handling. Diffing
paper-api26.2 against 26.3, the only changes are:org.bukkit.block.data.type.ShelfMushroomadded. It only extendsAgeableandDirectionaland declares no methods of its own, so the existing handlers already cover it.org.bukkit.block.data.type.PinkPetalsinterface removed. The plugin never referenced it (it already goes throughFlowerBed).Every block added in 26.3 maps onto interfaces the plugin already exposes:
SHELF_MUSHROOMShelfMushroomAgeableData,DirectionalDataPOPLAR_*(log, wood, planks, slab, stairs, fence, gate, door, trapdoor, button, pressure plate, sign, hanging sign, sapling)*_POPLAR_LEAVESLeavesLeavesDistanceData,LeavesPersistentDataSTRAW_BEDBedBedData,DirectionalData*_WOOL_SLAB/*_CONCRETE_SLABSlabSlabData*_WOOL_STAIRS/*_CONCRETE_STAIRSStairsStairsDataThe cushions are the new
Cushionentity, not blocks, so they carry no block data.An audit of all 123
org.bukkit.block.datainterfaces confirms every property-bearing interface is referenced byBlockDataSeparater. Only theBlockDatabase interface is unmapped, which is intended.PacketEvents
packetevents-spigot2.13.0 cannot load on Minecraft 26.3 — its NMS reflection comes back null and DebugStickPro fails to enable. PacketEvents merged 26.3 support on 2026-09-19 but has not released it, so this targets the2.14.0-SNAPSHOTdevelopment build.Since PacketEvents only publishes its unshaded modules to CodeMC,
integration/packeteventsreassembles the installable plugin JAR from the same artifacts the official release is built from (with Netty and JetBrains annotations excluded, matching the release). Once 2.14.0 is released, that fixture can be dropped and the version bumped back to a release.Changes
paper-api→26.3.build.33-alphapacketevents-spigot→2.14.0-SNAPSHOTTesting
Real servers, DebugStickPro 0.5.4 with PacketEvents 2.14.0-SNAPSHOT:
Server-side block-data probe on Paper 26.3, driving
BlockDataSeparaterdirectly:SHELF_MUSHROOM→ Ageable + Directional,POPLAR_SHELF→ Directional + Powerable + Waterlogged + SideChaining,STRAW_BED→ Bed + DirectionalRegression with the new PacketEvents: Paper 1.19.4 and Folia 1.19.4 (Java 17, in-game tests), Paper 1.20.6, Paper 1.21.11 and Paper 26.2 all pass.
26.3 uses
startupmode like the other 26.x rows because mineflayer has no 26.3 protocol data yet.Pre-existing Spigot-only failures (not introduced here)
Testing on Spigot surfaced that some properties fail there, because the Spigot API diverges from the Paper API at the same Minecraft version. On Spigot 26.3 the
Leaves,FlowerBed,LevelledandPointedDripstonelookups throw during separation: Spigot has noLeaves.getMaximumDistance(),Levelled.getMinimumLevel()orFlowerBed.getMinimumFlowerAmount(), andgetThickness()returnsPointedDripstone.Thicknessrather thanSpeleothem.Thickness.This is pre-existing and unrelated to 26.3 — the current
mainbuild (paper-api 26.2) shows the identical failures on Spigot 26.2, and the Spigot 26.2 and 26.3 APIs are the same for those classes. I left it out to keep this PR focused, but it deserves a follow-up if Spigot is meant to be fully supported, since the runtime matrix only runs Paper and Folia today.