PocketMine-MP 5.18.1 git-9381fc4172e5dce4cada1cb356050c8a2ab57b94
BlockLegacyMetadata.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\data\bedrock\block;
25
30
31 private function __construct(){
32 //NOOP
33 }
34
35 public const CORAL_VARIANT_TUBE = 0;
36 public const CORAL_VARIANT_BRAIN = 1;
37 public const CORAL_VARIANT_BUBBLE = 2;
38 public const CORAL_VARIANT_FIRE = 3;
39 public const CORAL_VARIANT_HORN = 4;
40
41 public const MULTI_FACE_DIRECTION_FLAG_DOWN = 0x01;
42 public const MULTI_FACE_DIRECTION_FLAG_UP = 0x02;
43 public const MULTI_FACE_DIRECTION_FLAG_SOUTH = 0x04;
44 public const MULTI_FACE_DIRECTION_FLAG_WEST = 0x08;
45 public const MULTI_FACE_DIRECTION_FLAG_NORTH = 0x10;
46 public const MULTI_FACE_DIRECTION_FLAG_EAST = 0x20;
47
48 public const MUSHROOM_BLOCK_ALL_PORES = 0;
49 public const MUSHROOM_BLOCK_CAP_NORTHWEST_CORNER = 1;
50 public const MUSHROOM_BLOCK_CAP_NORTH_SIDE = 2;
51 public const MUSHROOM_BLOCK_CAP_NORTHEAST_CORNER = 3;
52 public const MUSHROOM_BLOCK_CAP_WEST_SIDE = 4;
53 public const MUSHROOM_BLOCK_CAP_TOP_ONLY = 5;
54 public const MUSHROOM_BLOCK_CAP_EAST_SIDE = 6;
55 public const MUSHROOM_BLOCK_CAP_SOUTHWEST_CORNER = 7;
56 public const MUSHROOM_BLOCK_CAP_SOUTH_SIDE = 8;
57 public const MUSHROOM_BLOCK_CAP_SOUTHEAST_CORNER = 9;
58 public const MUSHROOM_BLOCK_STEM = 10;
59 //11, 12 and 13 appear the same as 0
60 public const MUSHROOM_BLOCK_ALL_CAP = 14;
61 public const MUSHROOM_BLOCK_ALL_STEM = 15;
62
63 public const RAIL_STRAIGHT_NORTH_SOUTH = 0;
64 public const RAIL_STRAIGHT_EAST_WEST = 1;
65 public const RAIL_ASCENDING_EAST = 2;
66 public const RAIL_ASCENDING_WEST = 3;
67 public const RAIL_ASCENDING_NORTH = 4;
68 public const RAIL_ASCENDING_SOUTH = 5;
69 public const RAIL_CURVE_SOUTHEAST = 6;
70 public const RAIL_CURVE_SOUTHWEST = 7;
71 public const RAIL_CURVE_NORTHWEST = 8;
72 public const RAIL_CURVE_NORTHEAST = 9;
73
74 public const VINE_FLAG_SOUTH = 0x01;
75 public const VINE_FLAG_WEST = 0x02;
76 public const VINE_FLAG_NORTH = 0x04;
77 public const VINE_FLAG_EAST = 0x08;
78}