1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Entity identity and state components.
use crateComponent;
/// Minecraft entity type ID.
///
/// Maps to the registry entity type (e.g., 147 = player in 1.21.4).
/// Hit points for damageable entities.
/// Links an entity to a player connection.
///
/// Present on player entities to map between the ECS entity and
/// the player's network state (UUID, username, output channel).
/// Marker component for sneaking state.
///
/// Added when a player starts sneaking, removed when they stop.
/// Used by the block interaction system to determine whether
/// right-click should interact with the clicked block or place
/// a block instead.
;