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
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
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this type.
Preview builds
Changes between Minecraft Preview protocol builds.
No preview build changes are recorded for this type.