PlayerActionType
Enum values
35 values- -1
Unknown - 0
StartDestroyBlock - 1
AbortDestroyBlock - 2
StopDestroyBlock - 5
StartSleeping - 6
StopSleeping - 7
Respawn - 8
StartJump - 9
StartSprinting - 10
StopSprinting - 11
StartSneaking - 12
StopSneaking - 13
CreativeDestroyBlock - 14
ChangeDimensionAck - 15
StartGliding - 16
StopGliding - 17
DenyDestroyBlock - 18
CrackBlock - 21
StartSwimming - 22
StopSwimming - 23
StartSpinAttack - 24
StopSpinAttack - 26
PredictDestroyBlock - 27
ContinueDestroyBlock - 28
StartItemUseOn - 29
StopItemUseOn - 30
HandledTeleport - 31
MissedSwing - 32
StartCrawling - 33
StopCrawling - 34
StartFlying - 35
StopFlying - 37
StartUsingItem - 38
InternalUpdate - 39
Count
Packet references
2 references- PlayerActionPacketAction › PlayerActionType
- PlayerAuthInputPacketPlayer Block Actions › PlayerBlockActionData › Player Action Type › PlayerActionType
Wire format
1 formatValues are serialized as varint32.
ZigZag-encoded, then written as base-128 groups with the high bit indicating continuation. 1-5 bytes
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.
- Released
- Protocol
- 2207
- Previous build
- 1.26.51
Changed 1
- Changed enum value
Unknownfrom0to-1. - Changed enum value
StartDestroyBlockfrom1to0. - Changed enum value
AbortDestroyBlockfrom2to1. - Changed enum value
StopDestroyBlockfrom3to2. - Changed enum value
StartSleepingfrom4to5. - Changed enum value
StopSleepingfrom5to6. - Changed enum value
Respawnfrom6to7. - Changed enum value
StartJumpfrom7to8. - Changed enum value
StartSprintingfrom8to9. - Changed enum value
StopSprintingfrom9to10. - Changed enum value
StartSneakingfrom10to11. - Changed enum value
StopSneakingfrom11to12. - Changed enum value
CreativeDestroyBlockfrom12to13. - Changed enum value
ChangeDimensionAckfrom13to14. - Changed enum value
StartGlidingfrom14to15. - Changed enum value
StopGlidingfrom15to16. - Changed enum value
DenyDestroyBlockfrom16to17. - Changed enum value
CrackBlockfrom17to18. - Changed enum value
StartSwimmingfrom18to21. - Changed enum value
StopSwimmingfrom19to22. - Changed enum value
StartSpinAttackfrom20to23. - Changed enum value
StopSpinAttackfrom21to24. - Changed enum value
PredictDestroyBlockfrom22to26. - Changed enum value
ContinueDestroyBlockfrom23to27. - Changed enum value
StartItemUseOnfrom24to28. - Changed enum value
StopItemUseOnfrom25to29. - Changed enum value
HandledTeleportfrom26to30. - Changed enum value
MissedSwingfrom27to31. - Changed enum value
StartCrawlingfrom28to32. - Changed enum value
StopCrawlingfrom29to33. - Changed enum value
StartFlyingfrom30to34. - Changed enum value
StopFlyingfrom31to35. - Changed enum value
StartUsingItemfrom32to37. - Changed enum value
InternalUpdatefrom33to38. - Changed enum value
Countfrom34to39.