0x0A S0APacketUseBed
Makes the player lie down in a bed at the specified position.
Fields
| Field | Type | Description |
|---|---|---|
| player | VarInt | Player entity ID |
| bedPos | BlockPos | Bed block position |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Entity ID | VarInt | |
| Bed Position | BlockPos (long) |
MCP References
MCP
NetHandlerPlayClient.handleUseBed()Handler Interface
HND
INetHandlerPlayClientimplementation Implementation Cases
AntiBed
Detect when another player sleeps in a bed.
BedAura
Detect when another player sleeps in a bed.