← Type index

CommandOriginData

Object datagramWire order
0Typestring · variable
1UUIDmce::UUID · variable
2RequestIdstring · variable
3PlayerIdint64 · 8 bytes

Fields

4 top-level fields
  1. 0TypeThe command origin type.string
    1. "Player"Player
    2. "DevConsole"DevConsole
    3. "Test"Test
    4. "AutomationPlayer"AutomationPlayer
  2. 1UUIDThe unique UUID that represents an instantiation of a command. Each time a command is run it should be given a UUID to represent that instance.mce::UUID
    1. 0Most Significant Bitsuint64
    2. 1Least Significant Bitsuint64
  3. 2RequestIdThe request Id.string
  4. 3PlayerIdThe player Id.int64

Packet references

2 references
  1. CommandOutputPacket
    Origin Data › CommandOriginData
  2. CommandRequestPacket
    Origin › CommandOriginData

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.