← 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. 0Breeding
    2. 1Taming
    3. 2Curing
    4. 3Crafted
    5. 4Shearing
    6. 5Milking
    7. 6Trading
    8. 7Feeding
    9. 8Igniting
    10. 9Coloring
    11. 10Naming
    12. 11Leashing
    13. 12Unleashing
    14. 13PetSleep
    15. 14Trusting
    16. 15Commanding
    17. 16Equipping
  3. 2Interaction Actor TypeCompressionvarint32
  4. 3Interaction Actor VariantCompressionvarint32
  5. 4Interaction Actor ColorCompressionuint8

Packet references

1 reference
  1. LegacyTelemetryEventPacketEvent Data › Interaction › Interaction

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.