Packet 36
PlayerActionPacket
The expected actions change depending on the ServerAuthMovementMode specified in the StartGamePacket. See the PlayerActionType enum for details on which have differing behavior. See also PlayerAuthInputPacket and InventoryTransactionPacket for similar types of player actions.
HeaderID 36varuint
0Player Runtime IDActorRuntimeID · variable
1Actionvarint32 · variable (up to 5 bytes)
2Block PositionBlockPos · variable
3Result PosBlockPos · variable
4Facevarint32 · variable (up to 5 bytes)
Serialized fields
5 top-level fields0Player Runtime IDActorRuntimeID
- 0Actor Runtime IDCompression
varuint64
1ActionCompressionEnum-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
- 4FaceCompression
varint32
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this packet.
All builds
Changes between consecutive stable releases and preview builds.
- Released
- Protocol
- 2207
- Previous build
- 1.26.51
Packet
1 entryChanged 1
- Changed supporting type
PlayerActionType: Changed enum valueUnknownfrom0to-1. - Changed supporting type
PlayerActionType: Changed enum valueStartDestroyBlockfrom1to0. - Changed supporting type
PlayerActionType: Changed enum valueAbortDestroyBlockfrom2to1. - Changed supporting type
PlayerActionType: Changed enum valueStopDestroyBlockfrom3to2. - Changed supporting type
PlayerActionType: Changed enum valueStartSleepingfrom4to5. - Changed supporting type
PlayerActionType: Changed enum valueStopSleepingfrom5to6. - Changed supporting type
PlayerActionType: Changed enum valueRespawnfrom6to7. - Changed supporting type
PlayerActionType: Changed enum valueStartJumpfrom7to8. - Changed supporting type
PlayerActionType: Changed enum valueStartSprintingfrom8to9. - Changed supporting type
PlayerActionType: Changed enum valueStopSprintingfrom9to10. - Changed supporting type
PlayerActionType: Changed enum valueStartSneakingfrom10to11. - Changed supporting type
PlayerActionType: Changed enum valueStopSneakingfrom11to12. - Changed supporting type
PlayerActionType: Changed enum valueCreativeDestroyBlockfrom12to13. - Changed supporting type
PlayerActionType: Changed enum valueChangeDimensionAckfrom13to14. - Changed supporting type
PlayerActionType: Changed enum valueStartGlidingfrom14to15. - Changed supporting type
PlayerActionType: Changed enum valueStopGlidingfrom15to16. - Changed supporting type
PlayerActionType: Changed enum valueDenyDestroyBlockfrom16to17. - Changed supporting type
PlayerActionType: Changed enum valueCrackBlockfrom17to18. - Changed supporting type
PlayerActionType: Changed enum valueStartSwimmingfrom18to21. - Changed supporting type
PlayerActionType: Changed enum valueStopSwimmingfrom19to22. - Changed supporting type
PlayerActionType: Changed enum valueStartSpinAttackfrom20to23. - Changed supporting type
PlayerActionType: Changed enum valueStopSpinAttackfrom21to24. - Changed supporting type
PlayerActionType: Changed enum valuePredictDestroyBlockfrom22to26. - Changed supporting type
PlayerActionType: Changed enum valueContinueDestroyBlockfrom23to27. - Changed supporting type
PlayerActionType: Changed enum valueStartItemUseOnfrom24to28. - Changed supporting type
PlayerActionType: Changed enum valueStopItemUseOnfrom25to29. - Changed supporting type
PlayerActionType: Changed enum valueHandledTeleportfrom26to30. - Changed supporting type
PlayerActionType: Changed enum valueMissedSwingfrom27to31. - Changed supporting type
PlayerActionType: Changed enum valueStartCrawlingfrom28to32. - Changed supporting type
PlayerActionType: Changed enum valueStopCrawlingfrom29to33. - Changed supporting type
PlayerActionType: Changed enum valueStartFlyingfrom30to34. - Changed supporting type
PlayerActionType: Changed enum valueStopFlyingfrom31to35. - Changed supporting type
PlayerActionType: Changed enum valueStartUsingItemfrom32to37. - Changed supporting type
PlayerActionType: Changed enum valueInternalUpdatefrom33to38. - Changed supporting type
PlayerActionType: Changed enum valueCountfrom34to39.