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.
This commit is contained in:
Dylan T
2024-07-12 11:26:51 +01:00
committed by GitHub
parent 616f96a703
commit 85606925a1

View File

@ -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