← Type index

AgentActionType

Enum values

18 values
  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

Packet references

1 reference
  1. AgentActionEventPacket
    Action › AgentActionType
    Enum-as-Value

Wire format

1 format

Values are serialized as int32.

Raw two's-complement signed integer bytes in native byte order. Big Endian reverses the byte order. 4 bytes

Enum-as-Value

Changelog

Stable releases

Changes between stable protocol releases.

Released
Protocol
2225

Changed 1

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