PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\world\format\io\leveldb\SubChunkVersion Class Reference
+ Collaboration diagram for pocketmine\world\format\io\leveldb\SubChunkVersion:

Public Attributes

const CLASSIC = 0
 
const CLASSIC_BUG_2 = 2
 
const CLASSIC_BUG_3 = 3
 
const CLASSIC_BUG_4 = 4
 
const CLASSIC_BUG_5 = 5
 
const CLASSIC_BUG_6 = 6
 
const CLASSIC_BUG_7 = 7
 
const PALETTED_MULTI = 8
 
const PALETTED_MULTI_WITH_OFFSET = 9
 
const PALETTED_SINGLE = 1
 

Detailed Description

Definition at line 26 of file SubChunkVersion.php.

Member Data Documentation

◆ CLASSIC

const pocketmine\world\format\io\leveldb\SubChunkVersion::CLASSIC = 0

Original subchunk format as of MCPE 1.0

Definition at line 32 of file SubChunkVersion.php.

◆ CLASSIC_BUG_2

const pocketmine\world\format\io\leveldb\SubChunkVersion::CLASSIC_BUG_2 = 2

Definition at line 38 of file SubChunkVersion.php.

◆ CLASSIC_BUG_3

const pocketmine\world\format\io\leveldb\SubChunkVersion::CLASSIC_BUG_3 = 3

Definition at line 39 of file SubChunkVersion.php.

◆ CLASSIC_BUG_4

const pocketmine\world\format\io\leveldb\SubChunkVersion::CLASSIC_BUG_4 = 4

Definition at line 40 of file SubChunkVersion.php.

◆ CLASSIC_BUG_5

const pocketmine\world\format\io\leveldb\SubChunkVersion::CLASSIC_BUG_5 = 5

Definition at line 41 of file SubChunkVersion.php.

◆ CLASSIC_BUG_6

const pocketmine\world\format\io\leveldb\SubChunkVersion::CLASSIC_BUG_6 = 6

Definition at line 42 of file SubChunkVersion.php.

◆ CLASSIC_BUG_7

const pocketmine\world\format\io\leveldb\SubChunkVersion::CLASSIC_BUG_7 = 7

Definition at line 43 of file SubChunkVersion.php.

◆ PALETTED_MULTI

const pocketmine\world\format\io\leveldb\SubChunkVersion::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.

Definition at line 49 of file SubChunkVersion.php.

◆ PALETTED_MULTI_WITH_OFFSET

const pocketmine\world\format\io\leveldb\SubChunkVersion::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).

Definition at line 56 of file SubChunkVersion.php.

◆ PALETTED_SINGLE

const pocketmine\world\format\io\leveldb\SubChunkVersion::PALETTED_SINGLE = 1

First paletted version, seen in 1.2.13

Definition at line 34 of file SubChunkVersion.php.


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