From 85606925a1b9f747cc65357a1fc5e314503486d2 Mon Sep 17 00:00:00 2001 From: Dylan T <14214667+dktapps@users.noreply.github.com> Date: Fri, 12 Jul 2024 11:26:51 +0100 Subject: [PATCH] BlockStateData: add a note about CURRENT_VERSION this is not the same as current game version, as the revision is determined by some Mojang internal factors. --- src/data/bedrock/block/BlockStateData.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/data/bedrock/block/BlockStateData.php b/src/data/bedrock/block/BlockStateData.php index 51899b72b..2c67ded73 100644 --- a/src/data/bedrock/block/BlockStateData.php +++ b/src/data/bedrock/block/BlockStateData.php @@ -38,6 +38,9 @@ use function implode; final class BlockStateData{ /** * Bedrock version of the most recent backwards-incompatible change to blockstates. + * + * This is *not* the same as current game version. It should match the numbers in the + * newest blockstate upgrade schema used in BedrockBlockUpgradeSchema. */ public const CURRENT_VERSION = (1 << 24) | //major