From e3424f6308677fb3910d6b846394ec7055159445 Mon Sep 17 00:00:00 2001 From: DallasCarraher Date: Mon, 14 Sep 2026 01:00:16 -0700 Subject: [PATCH] Add PC 26.2 chunk implementation mapping Minecraft 26.2 (protocol 776) uses the same chunk section format as 26.1, so it maps to the existing 1.18-family implementation rather than needing a new one. Without this, prismarine-chunk throws "No chunk implementation for pc 26.2 found" for any consumer (mineflayer, etc.) as soon as minecraft-data has data for 26.2. Tested against PrismarineJS/minecraft-data#1298 (26.2 support, not yet merged): full test suite passes (328/328), standard lint clean. Co-Authored-By: Claude Sonnet 5 --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index b4a2abe4..ca4181ce 100644 --- a/src/index.js +++ b/src/index.js @@ -14,7 +14,8 @@ const chunkImplementations = { 1.19: require('./pc/1.18/chunk'), '1.20': require('./pc/1.18/chunk'), 1.21: require('./pc/1.18/chunk'), - 26.1: require('./pc/1.18/chunk') + 26.1: require('./pc/1.18/chunk'), + 26.2: require('./pc/1.18/chunk') }, bedrock: { 0.14: require('./bedrock/0.14/chunk'),