home / java340 / serverbound / player-block-placement
Player block placement
Encode/decode this packet in Sandbox
Id: 31
Id (hex): 1F
Id (bin): 00011111
Clientbound: ✖️
Serverbound: ✔️
Fields
| Name | Type |
|---|---|
| position | ulong |
| face | varuint |
| hand | varuint |
| cursor position | float<xyz> |
hand
Constants:
| Name | Value |
|---|---|
| main hand | 0 |
| off hand | 1 |