PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
UIInventorySlotOffset.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
21
22 private function __construct(){
23 //NOOP
24 }
25
26 public const CURSOR = 0;
27 public const ANVIL = [
28 1 => 0,
29 2 => 1,
30 ];
31 public const STONE_CUTTER_INPUT = 3;
32 public const TRADE2_INGREDIENT = [
33 4 => 0,
34 5 => 1,
35 ];
36 public const TRADE_INGREDIENT = [
37 6 => 0,
38 7 => 1,
39 ];
40 public const MATERIAL_REDUCER_INPUT = 8;
41 public const LOOM = [
42 9 => 0,
43 10 => 1,
44 11 => 2,
45 ];
46 public const CARTOGRAPHY_TABLE = [
47 12 => 0,
48 13 => 1,
49 ];
50 public const ENCHANTING_TABLE = [
51 14 => 0,
52 15 => 1,
53 ];
54 public const GRINDSTONE = [
55 16 => 0,
56 17 => 1,
57 ];
58 public const COMPOUND_CREATOR_INPUT = [
59 18 => 0,
60 19 => 1,
61 20 => 2,
62 21 => 3,
63 22 => 4,
64 23 => 5,
65 24 => 6,
66 25 => 7,
67 26 => 8,
68 ];
69 public const BEACON_PAYMENT = 27;
70 public const CRAFTING2X2_INPUT = [
71 28 => 0,
72 29 => 1,
73 30 => 2,
74 31 => 3,
75 ];
76 public const CRAFTING3X3_INPUT = [
77 32 => 0,
78 33 => 1,
79 34 => 2,
80 35 => 3,
81 36 => 4,
82 37 => 5,
83 38 => 6,
84 39 => 7,
85 40 => 8,
86 ];
87 public const MATERIAL_REDUCER_OUTPUT = [
88 41 => 0,
89 42 => 1,
90 43 => 2,
91 44 => 3,
92 45 => 4,
93 46 => 5,
94 47 => 6,
95 48 => 7,
96 49 => 8,
97 ];
98 public const CREATED_ITEM_OUTPUT = 50;
99 public const SMITHING_TABLE = [
100 51 => 0, //input
101 52 => 1, //material
102 53 => 2, //template
103 ];
104}