PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
EntityMetadataFlags.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\entity;
16
18
19 private function __construct(){
20 //NOOP
21 }
22 public const ONFIRE = 0;
23 public const SNEAKING = 1;
24 public const RIDING = 2;
25 public const SPRINTING = 3;
26 public const ACTION = 4;
27 public const INVISIBLE = 5;
28 public const TEMPTED = 6;
29 public const INLOVE = 7;
30 public const SADDLED = 8;
31 public const POWERED = 9;
32 public const IGNITED = 10;
33 public const BABY = 11;
34 public const CONVERTING = 12;
35 public const CRITICAL = 13;
36 public const CAN_SHOW_NAMETAG = 14;
37 public const ALWAYS_SHOW_NAMETAG = 15;
38 public const IMMOBILE = 16, NO_AI = 16;
39 public const SILENT = 17;
40 public const WALLCLIMBING = 18;
41 public const CAN_CLIMB = 19;
42 public const SWIMMER = 20;
43 public const CAN_FLY = 21;
44 public const WALKER = 22;
45 public const RESTING = 23;
46 public const SITTING = 24;
47 public const ANGRY = 25;
48 public const INTERESTED = 26;
49 public const CHARGED = 27;
50 public const TAMED = 28;
51 public const ORPHANED = 29;
52 public const LEASHED = 30;
53 public const SHEARED = 31;
54 public const GLIDING = 32;
55 public const ELDER = 33;
56 public const MOVING = 34;
57 public const BREATHING = 35;
58 public const CHESTED = 36;
59 public const STACKABLE = 37;
60 public const SHOWBASE = 38;
61 public const REARING = 39;
62 public const VIBRATING = 40;
63 public const IDLING = 41;
64 public const EVOKER_SPELL = 42;
65 public const CHARGE_ATTACK = 43;
66 public const WASD_CONTROLLED = 44;
67 public const CAN_POWER_JUMP = 45;
68 public const CAN_DASH = 46;
69 public const LINGER = 47;
70 public const HAS_COLLISION = 48;
71 public const AFFECTED_BY_GRAVITY = 49;
72 public const FIRE_IMMUNE = 50;
73 public const DANCING = 51;
74 public const ENCHANTED = 52;
75 public const SHOW_TRIDENT_ROPE = 53; // tridents show an animated rope when enchanted with loyalty after they are thrown and return to their owner. To be combined with DATA_OWNER_EID
76 public const CONTAINER_PRIVATE = 54; //inventory is private, doesn't drop contents when killed if true
77 public const TRANSFORMING = 55;
78 public const SPIN_ATTACK = 56;
79 public const SWIMMING = 57;
80 public const BRIBED = 58; //dolphins have this set when they go to find treasure for the player
81 public const PREGNANT = 59;
82 public const LAYING_EGG = 60;
83 public const RIDER_CAN_PICK = 61; //???
84 public const TRANSITION_SITTING = 62;
85 public const EATING = 63;
86 public const LAYING_DOWN = 64;
87 public const SNEEZING = 65;
88 public const TRUSTING = 66;
89 public const ROLLING = 67;
90 public const SCARED = 68;
91 public const IN_SCAFFOLDING = 69;
92 public const OVER_SCAFFOLDING = 70;
93 public const FALL_THROUGH_SCAFFOLDING = 71;
94 public const BLOCKING = 72; //shield
95 public const TRANSITION_BLOCKING = 73;
96 public const BLOCKED_USING_SHIELD = 74;
97 public const BLOCKED_USING_DAMAGED_SHIELD = 75;
98 public const SLEEPING = 76;
99 public const WANTS_TO_WAKE = 77;
100 public const TRADE_INTEREST = 78;
101 public const DOOR_BREAKER = 79; //...
102 public const BREAKING_OBSTRUCTION = 80;
103 public const DOOR_OPENER = 81; //...
104 public const ILLAGER_CAPTAIN = 82;
105 public const STUNNED = 83;
106 public const ROARING = 84;
107 public const DELAYED_ATTACKING = 85;
108 public const AVOIDING_MOBS = 86;
109 public const AVOIDING_BLOCK = 87;
110 public const FACING_TARGET_TO_RANGE_ATTACK = 88;
111 public const HIDDEN_WHEN_INVISIBLE = 89; //??????????????????
112 public const IS_IN_UI = 90;
113 public const STALKING = 91;
114 public const EMOTING = 92;
115 public const CELEBRATING = 93;
116 public const ADMIRING = 94;
117 public const CELEBRATING_SPECIAL = 95;
118 public const OUT_OF_CONTROL = 96;
119 public const RAM_ATTACK = 97;
120 public const PLAYING_DEAD = 98;
121 public const IN_ASCENDABLE_BLOCK = 99;
122 public const OVER_DESCENDABLE_BLOCK = 100;
123 public const CROAKING = 101;
124 public const EAT_MOB = 102;
125 public const JUMP_GOAL_JUMP = 103;
126 public const EMERGING = 104;
127 public const SNIFFING = 105;
128 public const DIGGING = 106;
129 public const SONIC_BOOM = 107;
130 public const HAS_DASH_COOLDOWN = 108;
131 public const PUSH_TOWARDS_CLOSEST_SPACE = 109;
132 public const SCENTING = 110;
133 public const RISING = 111;
134 public const HAPPY = 112;
135 public const SEARCHING = 113;
136 public const CRAWLING = 114;
137 public const TIMER_FLAG_1 = 115;
138 public const TIMER_FLAG_2 = 116;
139 public const TIMER_FLAG_3 = 117;
140 public const BODY_ROTATION_BLOCKED = 118;
141}