← Type index

Interaction

Object datagramWire order
0Interacted Entity IDvarint64 · variable (up to 10 bytes)
1Interaction Typeuint8 · 1 byte
2Interaction Actor Typevarint32 · variable (up to 5 bytes)
3Interaction Actor Variantvarint32 · variable (up to 5 bytes)
4Interaction Actor Coloruint8 · 1 byte

Fields

5 top-level fields
  1. 0Interacted Entity IDCompressionvarint64
  2. 1Interaction TypeCompressionEnum-as-ValueMinecraftEventing::InteractionTypeas uint8
    1. 1Breeding
    2. 2Taming
    3. 3Curing
    4. 4Crafted
    5. 5Shearing
    6. 6Milking
    7. 7Trading
    8. 8Feeding
    9. 9Igniting
    10. 10Coloring
    11. 11Naming
    12. 12Leashing
    13. 13Unleashing
    14. 14PetSleep
    15. 15Trusting
    16. 16Commanding
    17. 17Equipping
  3. 2Interaction Actor TypeCompressionvarint32
  4. 3Interaction Actor VariantCompressionvarint32
  5. 4Interaction Actor ColorCompressionuint8

Packet references

1 reference
  1. LegacyTelemetryEventPacket
    Event Data › Interaction › Interaction

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.