← Packet index

Packet 181

AgentActionEventPacket

packet containing data of Agent Action Type

Packet datagramWire order
HeaderID 181varuint
0Request Idstring · variable
1Actionint32 · 4 bytes
2ResponseJson::Value · variable

Serialized fields

3 top-level fields
  1. 0Request Idstring
  2. 1ActionEnum-as-ValueAgentActionTypeas int32
    1. 0Attack
    2. 1Collect
    3. 2Destroy
    4. 3DetectRedstone
    5. 4DetectObstacle
    6. 5Drop
    7. 6DropAll
    8. 7Inspect
    9. 8InspectData
    10. 9InspectItemCount
    11. 10InspectItemDetail
    12. 11InspectItemSpace
    13. 12Interact
    14. 13Move
    15. 14PlaceBlock
    16. 15Till
    17. 16TransferItemTo
    18. 17Turn
  3. 2ResponseJson::Value

Changelog

Stable releases

Changes between stable protocol releases.

Released
Protocol
2225

Packet

1 entry

Changed 1

AgentActionEventPacket18 changes · ID 181
  • Changed supporting type AgentActionType: Changed enum value Attack from 0 to 1.
  • Changed supporting type AgentActionType: Changed enum value Collect from 1 to 2.
  • Changed supporting type AgentActionType: Changed enum value Destroy from 2 to 3.
  • Changed supporting type AgentActionType: Changed enum value DetectRedstone from 3 to 4.
  • Changed supporting type AgentActionType: Changed enum value DetectObstacle from 4 to 5.
  • Changed supporting type AgentActionType: Changed enum value Drop from 5 to 6.
  • Changed supporting type AgentActionType: Changed enum value DropAll from 6 to 7.
  • Changed supporting type AgentActionType: Changed enum value Inspect from 7 to 8.
  • Changed supporting type AgentActionType: Changed enum value InspectData from 8 to 9.
  • Changed supporting type AgentActionType: Changed enum value InspectItemCount from 9 to 10.
  • Changed supporting type AgentActionType: Changed enum value InspectItemDetail from 10 to 11.
  • Changed supporting type AgentActionType: Changed enum value InspectItemSpace from 11 to 12.
  • Changed supporting type AgentActionType: Changed enum value Interact from 12 to 13.
  • Changed supporting type AgentActionType: Changed enum value Move from 13 to 14.
  • Changed supporting type AgentActionType: Changed enum value PlaceBlock from 14 to 15.
  • Changed supporting type AgentActionType: Changed enum value Till from 15 to 16.
  • Changed supporting type AgentActionType: Changed enum value TransferItemTo from 16 to 17.
  • Changed supporting type AgentActionType: Changed enum value Turn from 17 to 18.