Skip to content

WorldDataVersions ​

final class · pocketmine\data\bedrock\WorldDataVersions · source

All version infos related to current Minecraft data version support These are mostly related to world storage but may also influence network stuff

Constants ​

BLOCK_STATES ​

php
public const BLOCK_STATES = 1 << 24 | 21 << 16 | 60 << 8 | 33

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.

CHUNK ​

php
public const CHUNK = \pocketmine\world\format\io\leveldb\ChunkVersion::v1_21_120

LAST_OPENED_IN ​

php
public const LAST_OPENED_IN = [
    1,
    //major
    26,
    //minor
    52,
    //patch
    3,
    //revision
    0,
]

NETWORK ​

php
public const NETWORK = 2193

Highest NetworkVersion of Bedrock worlds currently supported by PocketMine-MP.

This may be lower than the current protocol version if PocketMine-MP does not yet support features of the newer version. This allows the protocol to be updated independently of world format support.

STORAGE ​

php
public const STORAGE = 10

SUBCHUNK ​

php
public const SUBCHUNK = \pocketmine\world\format\io\leveldb\SubChunkVersion::PALETTED_MULTI

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.