Skip to content

SubChunkVersion ​

final class · pocketmine\world\format\io\leveldb\SubChunkVersion · source

Constants ​

CLASSIC ​

php
public const CLASSIC = 0

Original subchunk format as of MCPE 1.0

CLASSIC_BUG_2 ​

php
public const CLASSIC_BUG_2 = 2

CLASSIC_BUG_3 ​

php
public const CLASSIC_BUG_3 = 3

CLASSIC_BUG_4 ​

php
public const CLASSIC_BUG_4 = 4

CLASSIC_BUG_5 ​

php
public const CLASSIC_BUG_5 = 5

CLASSIC_BUG_6 ​

php
public const CLASSIC_BUG_6 = 6

CLASSIC_BUG_7 ​

php
public const CLASSIC_BUG_7 = 7

PALETTED_MULTI ​

php
public const PALETTED_MULTI = 8

Paletted with layers, almost identical to v1, but includes a length prefix and 0 or more storages. First seen in 1.4 Update Aquatic to support water inside other blocks.

PALETTED_MULTI_WITH_OFFSET ​

php
public const PALETTED_MULTI_WITH_OFFSET = 9

Paletted with layers, identical to v8 except for a height byte after the layercount byte. This seems like a pointless change, but newest versions of the game use it. First seen in 1.18 for Caves and Cliffs update (and some experimental versions prior to 1.18).

PALETTED_SINGLE ​

php
public const PALETTED_SINGLE = 1

First paletted version, seen in 1.2.13

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