PlayerBlockActionData
0Player Action Typevarint32 · variable (up to 5 bytes)
1PositionBlockPos · variable
2Facingvarint32 · variable (up to 5 bytes)
Fields
3 top-level fields0Player Action TypeThe server-authoritative block action type.CompressionEnum-as-ValuePlayerActionTypeas
varint32- 0
Unknown - 1
StartDestroyBlock - 2
AbortDestroyBlock - 3
StopDestroyBlock - 4
StartSleeping - 5
StopSleeping - 6
Respawn - 7
StartJump - 8
StartSprinting - 9
StopSprinting - 10
StartSneaking - 11
StopSneaking - 12
CreativeDestroyBlock - 13
ChangeDimensionAck - 14
StartGliding - 15
StopGliding - 16
DenyDestroyBlock - 17
CrackBlock - 18
StartSwimming - 19
StopSwimming - 20
StartSpinAttack - 21
StopSpinAttack - 22
PredictDestroyBlock - 23
ContinueDestroyBlock - 24
StartItemUseOn - 25
StopItemUseOn - 26
HandledTeleport - 27
MissedSwing - 28
StartCrawling - 29
StopCrawling - 30
StartFlying - 31
StopFlying - 32
StartUsingItem - 33
InternalUpdate - 34
Count
- 0
- 2FacingFacing, or action-specific integer data for AbortDestroyBlock.Compression
varint32
Packet references
1 reference- PlayerAuthInputPacketPlayer Block Actions › PlayerBlockActionData
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this type.
All builds
Changes between consecutive stable releases and preview builds.
No changes are recorded for this type.