PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
ChunkDataKey.php
1<?php
2
3/*
4 *
5 * ____ _ _ __ __ _ __ __ ____
6 * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
7 * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
8 * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
9 * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
10 *
11 * This program is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * @author PocketMine Team
17 * @link http://www.pocketmine.net/
18 *
19 *
20 */
21
22declare(strict_types=1);
23
24namespace pocketmine\world\format\io\leveldb;
25
27
28final class ChunkDataKey{
29 private function __construct(){
30 //NOOP
31 }
32
33 public const HEIGHTMAP_AND_3D_BIOMES = "\x2b";
34 public const NEW_VERSION = "\x2c"; //since 1.16.100?
35 public const HEIGHTMAP_AND_2D_BIOMES = "\x2d"; //obsolete since 1.18
36 public const HEIGHTMAP_AND_2D_BIOME_COLORS = "\x2e"; //obsolete since 1.0
37 public const SUBCHUNK = "\x2f";
38 public const LEGACY_TERRAIN = "\x30"; //obsolete since 1.0
39 public const BLOCK_ENTITIES = "\x31";
40 public const ENTITIES = "\x32";
41 public const PENDING_SCHEDULED_TICKS = "\x33";
42 public const LEGACY_BLOCK_EXTRA_DATA = "\x34"; //obsolete since 1.2.13
43 public const BIOME_STATES = "\x35"; //TODO: is this still applicable to 1.18.0?
44 public const FINALIZATION = "\x36";
45 public const CONVERTER_TAG = "\x37"; //???
46 public const BORDER_BLOCKS = "\x38";
47 public const HARDCODED_SPAWNERS = "\x39";
48 public const PENDING_RANDOM_TICKS = "\x3a";
49 public const XXHASH_CHECKSUMS = "\x3b"; //obsolete since 1.18
50 public const GENERATION_SEED = "\x3c";
51 public const GENERATED_BEFORE_CNC_BLENDING = "\x3d";
52
53 public const OLD_VERSION = "\x76";
54
55 public const PM_DATA_VERSION = VersionInfo::TAG_WORLD_DATA_VERSION;
56
57}