MC 26.3 : AxiomPaper 5.0.4-folia.14+26.3 (Folia, anti-xray/Starlight conservés) #1

Open
wait4mi wants to merge 2 commits from prepa263wait into main
First-time contributor

Préparation Minecraft 26.3 (branche de travail de wait4mi, à fusionner quand tu veux — aucun tag, donc aucune release).

Part de main (folia.14 en prod) + ton commit de portage 26.3-pre-2 (FriendlyByteBufCompat, codec BlockHitResult, réflexion PalettedContainer), en annulant trois adaptations qui ne valaient que pour Paper 26.3-pre-2 sans Folia. Sur Folia/Lophine 26.3 final, tout est revenu :

Adaptation pre-2 Sur Folikaii 26.3
Avertissement anti-xray retiré (chunkPacketBlockController absent) Level.chunkPacketBlockController existe → avertissement remis
Paquet chunk sans modifyBlocks le constructeur à 5 arguments existe → false remis
Relight Starlight remplacé par des checkBlock vanilla bloc par bloc Starlight toujours là → starlight$serverRelightChunks remis, SetBlockBufferOperation comme en 26.2

Build :

  • paperweight.foliaDevBundle("26.3.build.26-stable") (publié), les dépôts mavenLocal du pre-2 retirés ;
  • paperweight-userdev épinglé à 2.0.0-beta.21 : le 2.0.0-SNAPSHOT actuel exige Gradle 9.7.1, le wrapper est en 9.4.1 ;
  • version 5.0.4-folia.14+26.3, protocole Axiom inchangé (10, client 6.0.x). Côté client, Ekaxiom devra aussi passer en 26.3.

Vérifié : clean build OK (ce qui confirme que Starlight / anti-xray / modifyBlocks existent dans l'API Folia 26.3), le plugin démarre sur Folikaii 26.3 (exo/folikaii#7). Pas encore testé en jeu (copier/coller, relight après une grosse édition).

Pour builder en local : libs/CoreProtect-23.1.jar (ignoré par git) est toujours nécessaire.

🤖 Generated with Claude Code

Préparation **Minecraft 26.3** (branche de travail de wait4mi, à fusionner quand tu veux — aucun tag, donc aucune release). Part de `main` (folia.14 en prod) + ton commit de portage 26.3-pre-2 (`FriendlyByteBufCompat`, codec `BlockHitResult`, réflexion `PalettedContainer`), **en annulant trois adaptations qui ne valaient que pour Paper 26.3-pre-2 sans Folia**. Sur Folia/Lophine 26.3 final, tout est revenu : | Adaptation pre-2 | Sur Folikaii 26.3 | |---|---| | Avertissement anti-xray retiré (`chunkPacketBlockController` absent) | `Level.chunkPacketBlockController` existe → avertissement remis | | Paquet chunk sans `modifyBlocks` | le constructeur à 5 arguments existe → `false` remis | | Relight Starlight remplacé par des `checkBlock` vanilla bloc par bloc | Starlight toujours là → `starlight$serverRelightChunks` remis, `SetBlockBufferOperation` comme en 26.2 | Build : - `paperweight.foliaDevBundle("26.3.build.26-stable")` (publié), les dépôts `mavenLocal` du pre-2 retirés ; - `paperweight-userdev` épinglé à `2.0.0-beta.21` : le `2.0.0-SNAPSHOT` actuel exige Gradle 9.7.1, le wrapper est en 9.4.1 ; - version `5.0.4-folia.14+26.3`, protocole Axiom inchangé (10, client 6.0.x). Côté client, **Ekaxiom devra aussi passer en 26.3**. Vérifié : `clean build` OK (ce qui confirme que Starlight / anti-xray / `modifyBlocks` existent dans l'API Folia 26.3), le plugin **démarre** sur Folikaii 26.3 (exo/folikaii#7). Pas encore testé en jeu (copier/coller, relight après une grosse édition). Pour builder en local : `libs/CoreProtect-23.1.jar` (ignoré par git) est toujours nécessaire. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Builds against the local io.papermc.paper:dev-bundle:26.3-pre-2.local-SNAPSHOT
(mavenLocal filtered to io.papermc.paper). Version 5.0.4-folia.14+26.3-pre2,
api-version stays 26.2, protocol API_VERSION stays 10 (client 6.0.x).

Compile fixes (all tagged `// 26.3:`):
- FriendlyByteBuf lost writeCollection/readCollection/readList/writeMap/readMap/
  limitValue (vanilla moved to ByteBufCodecs stream codecs): new
  compat/FriendlyByteBufCompat with byte-identical 26.2 bodies, 30 call sites
  in 13 files rewritten mechanically.
- FriendlyByteBuf.readBlockHitResult removed: use BlockHitResult.STREAM_CODEC
  (same layout: BlockPos, Direction, 3 floats, inside, worldBorderHit).
- ServerLevel.chunkPacketBlockController gone (Paper 26.3-pre-2 has no anti-xray
  wiring): drop the anti-xray warning in WorldExtension.onPlayerJoin.
- ClientboundLevelChunkWithLightPacket lost Paper's trailing modifyBlocks flag.
- ThreadedLevelLightEngine.starlight$serverRelightChunks gone (Moonrise/Starlight
  removed): SetBlockBufferOperation now queues vanilla per-block
  LevelLightEngine.checkBlock for blocks whose light properties changed;
  WorldExtension only drains the pending-relight set.
- PalettedContainer.data is private again: ViaVersionHelper reads
  data.configuration().bitsInMemory() via reflection (jar is Mojang-mapped).

Folia scheduler code is untouched; the plugin is not Folia-required on Paper.

(cherry picked from commit 47d761aa9a)
MC 26.3 on Folia: keep anti-xray, modifyBlocks and Starlight relight; Folia 26.3 dev bundle
Some checks failed
release.yml / MC 26.3 on Folia: keep anti-xray, modifyBlocks and Starlight relight; Folia 26.3 dev bundle (pull_request) Failing after 0s
release.yml / MC 26.3 on Folia: keep anti-xray, modifyBlocks and Starlight relight; Folia 26.3 dev bundle (push) Failing after 0s
plugbench/bench plugbench gate failure
plugbench / bench (pull_request) Failing after 48s
Build / build (pull_request) Successful in 2m36s
755a0f1709
On top of the cherry-picked 26.3-pre-2 port (FriendlyByteBufCompat, BlockHitResult codec, PalettedContainer
reflection), revert the three adaptations that only applied to plain Paper 26.3-pre-2:
- WorldExtension.onPlayerJoin: anti-xray warning back (Level.chunkPacketBlockController exists in 26.3 final);
- ClientboundLevelChunkWithLightPacket: modifyBlocks=false argument back;
- relight: Starlight starlight$serverRelightChunks back (Folia/Lophine 26.3 keeps Moonrise Starlight),
  SetBlockBufferOperation back to the 26.2 chunkLightChanged flag (no per-block vanilla checkBlock).
Build: paperweight.foliaDevBundle(26.3.build.26-stable), mavenLocal pre-2 repos removed, paperweight-userdev
pinned to 2.0.0-beta.21 (the current 2.0.0-SNAPSHOT requires Gradle 9.7.1, wrapper is 9.4.1).
Version 5.0.4-folia.14+26.3. Builds and enables on Folikaii 26.3 (exo/folikaii#7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Some checks failed
release.yml / MC 26.3 on Folia: keep anti-xray, modifyBlocks and Starlight relight; Folia 26.3 dev bundle (pull_request) Failing after 0s
release.yml / MC 26.3 on Folia: keep anti-xray, modifyBlocks and Starlight relight; Folia 26.3 dev bundle (push) Failing after 0s
plugbench/bench plugbench gate failure
Required
Details
plugbench / bench (pull_request) Failing after 48s
Build / build (pull_request) Successful in 2m36s
Some required checks were not successful.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin prepa263wait:prepa263wait
git switch prepa263wait
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
exo/axiom-paper-folia!1
No description provided.