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.
Preview builds
Changes between Minecraft Preview protocol builds.
No preview build changes are recorded for this packet.