PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
WindowTypes.php
1<?php
2
3/*
4 * This file is part of BedrockProtocol.
5 * Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol>
6 *
7 * BedrockProtocol is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 */
12
13declare(strict_types=1);
14
15namespace pocketmine\network\mcpe\protocol\types\inventory;
16
17final class WindowTypes{
18
19 private function __construct(){
20 //NOOP
21 }
22
23 public const NONE = -9;
24
25 public const INVENTORY = -1;
26 public const CONTAINER = 0;
27 public const WORKBENCH = 1;
28 public const FURNACE = 2;
29 public const ENCHANTMENT = 3;
30 public const BREWING_STAND = 4;
31 public const ANVIL = 5;
32 public const DISPENSER = 6;
33 public const DROPPER = 7;
34 public const HOPPER = 8;
35 public const CAULDRON = 9;
36 public const MINECART_CHEST = 10;
37 public const MINECART_HOPPER = 11;
38 public const HORSE = 12;
39 public const BEACON = 13;
40 public const STRUCTURE_EDITOR = 14;
41 public const TRADING = 15;
42 public const COMMAND_BLOCK = 16;
43 public const JUKEBOX = 17;
44 public const ARMOR = 18;
45 public const HAND = 19;
46 public const COMPOUND_CREATOR = 20;
47 public const ELEMENT_CONSTRUCTOR = 21;
48 public const MATERIAL_REDUCER = 22;
49 public const LAB_TABLE = 23;
50 public const LOOM = 24;
51 public const LECTERN = 25;
52 public const GRINDSTONE = 26;
53 public const BLAST_FURNACE = 27;
54 public const SMOKER = 28;
55 public const STONECUTTER = 29;
56 public const CARTOGRAPHY = 30;
57 public const HUD = 31;
58 public const JIGSAW_EDITOR = 32;
59 public const SMITHING_TABLE = 33;
60 public const CHEST_BOAT = 34;
61 public const DECORATED_POT = 35;
62 public const CRAFTER = 36;
63}