PocketMine-MP 5.28.3 git-dca2665e17355a6d99695b2e34cdd9070dfcfc39
Loading...
Searching...
No Matches
pocketmine\data\bedrock\WorldDataVersions Class Reference
+ Collaboration diagram for pocketmine\data\bedrock\WorldDataVersions:

Public Attributes

const BLOCK_STATES
 
const CHUNK = ChunkVersion::v1_21_40
 
const LAST_OPENED_IN
 
const NETWORK = 800
 
const STORAGE = 10
 
const SUBCHUNK = SubChunkVersion::PALETTED_MULTI
 

Detailed Description

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

Definition at line 33 of file WorldDataVersions.php.

Member Data Documentation

◆ BLOCK_STATES

const pocketmine\data\bedrock\WorldDataVersions::BLOCK_STATES
Initial value:
=
(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.

Definition at line 40 of file WorldDataVersions.php.

◆ CHUNK

const pocketmine\data\bedrock\WorldDataVersions::CHUNK = ChunkVersion::v1_21_40

Definition at line 46 of file WorldDataVersions.php.

◆ LAST_OPENED_IN

const pocketmine\data\bedrock\WorldDataVersions::LAST_OPENED_IN
Initial value:
= [
1,
21,
80,
3,
0
]

Definition at line 59 of file WorldDataVersions.php.

◆ NETWORK

const pocketmine\data\bedrock\WorldDataVersions::NETWORK = 800

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.

Definition at line 57 of file WorldDataVersions.php.

◆ STORAGE

const pocketmine\data\bedrock\WorldDataVersions::STORAGE = 10

Definition at line 49 of file WorldDataVersions.php.

◆ SUBCHUNK

const pocketmine\data\bedrock\WorldDataVersions::SUBCHUNK = SubChunkVersion::PALETTED_MULTI

Definition at line 47 of file WorldDataVersions.php.


The documentation for this class was generated from the following file: