PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
CommandParameterTypes.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\command;
16
22
23 private function __construct(){
24 //NOOP
25 }
26
27 public const INT = 1; // int
28 public const VAL = 3; // float
29 public const RVAL = 4; // value
30 public const WILDCARDINT = 5; // wildcard int
31 public const OPERATOR = 6; // operator
32 public const COMPAREOPERATOR = 7; // compare operator
33 public const SELECTION = 8; // target
34 public const WILDCARDSELECTION = 10; // target
35 public const PATHCOMMAND = 17; // filepath
36 public const FULLINTEGERRANGE = 23; // integer range
37 public const EQUIPMENTSLOTENUM = 47; // equipment slots
38 public const ID = 56; // string
39 public const POSITION = 64; // x y z
40 public const POSITION_FLOAT = 65; // x y z
41 public const MESSAGE_ROOT = 68; // message
42 public const RAWTEXT = 70; // text
43 public const JSON_OBJECT = 74; // json
44 public const BLOCK_STATE_ARRAY = 84; // block states
45 public const CODEBUILDERARGS = 87; // command
46}