PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
ItemStackRequestActionType.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\stackrequest;
16
18
19 private function __construct(){
20 //NOOP
21 }
22
23 public const TAKE = 0;
24 public const PLACE = 1;
25 public const SWAP = 2;
26 public const DROP = 3;
27 public const DESTROY = 4;
28 public const CRAFTING_CONSUME_INPUT = 5;
29 public const CRAFTING_CREATE_SPECIFIC_RESULT = 6;
30 public const LAB_TABLE_COMBINE = 9;
31 public const BEACON_PAYMENT = 10;
32 public const MINE_BLOCK = 11;
33 public const CRAFTING_RECIPE = 12;
34 public const CRAFTING_RECIPE_AUTO = 13; //recipe book?
35 public const CREATIVE_CREATE = 14;
36 public const CRAFTING_RECIPE_OPTIONAL = 15; //anvil/cartography table rename
37 public const CRAFTING_GRINDSTONE = 16;
38 public const CRAFTING_LOOM = 17;
39 public const CRAFTING_NON_IMPLEMENTED_DEPRECATED_ASK_TY_LAING = 18;
40 public const CRAFTING_RESULTS_DEPRECATED_ASK_TY_LAING = 19; //no idea what this is for
41}