← Type index

PlayerBlockActionData

Object datagramWire order
0Player Action Typevarint32 · variable (up to 5 bytes)
1PositionBlockPos · variable
2Facingvarint32 · variable (up to 5 bytes)

Fields

3 top-level fields
  1. 0Player Action TypeCompressionEnum-as-ValuePlayerActionTypeas varint32
    1. 0Unknown
    2. 1StartDestroyBlock
    3. 2AbortDestroyBlock
    4. 3StopDestroyBlock
    5. 4StartSleeping
    6. 5StopSleeping
    7. 6Respawn
    8. 7StartJump
    9. 8StartSprinting
    10. 9StopSprinting
    11. 10StartSneaking
    12. 11StopSneaking
    13. 12CreativeDestroyBlock
    14. 13ChangeDimensionAck
    15. 14StartGliding
    16. 15StopGliding
    17. 16DenyDestroyBlock
    18. 17CrackBlock
    19. 18StartSwimming
    20. 19StopSwimming
    21. 20StartSpinAttack
    22. 21StopSpinAttack
    23. 22PredictDestroyBlock
    24. 23ContinueDestroyBlock
    25. 24StartItemUseOn
    26. 25StopItemUseOn
    27. 26HandledTeleport
    28. 27MissedSwing
    29. 28StartCrawling
    30. 29StopCrawling
    31. 30StartFlying
    32. 31StopFlying
    33. 32StartUsingItem
    34. 33InternalUpdate
    35. 34Count
  2. 1PositionBlockPos
    1. 0XCompressionvarint32
    2. 1YCompressionvarint32
    3. 2ZCompressionvarint32
  3. 2FacingCompressionvarint32

Packet references

1 reference
  1. PlayerAuthInputPacketPlayer Block Actions › PlayerBlockActionData

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.