PlayerActionType
Enum values
35 values- 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
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.