← Type index

ItemUseOnActorInventoryTransaction

Object datagramWire order
0ActionsInventoryTransaction · variable
1Runtime IdActorRuntimeID · variable
2Action Typevarint32 · variable (up to 5 bytes)
3Slotvarint32 · variable (up to 5 bytes)
4ItemNetworkItemStackDescriptor · variable
5From PositionVec3 · variable
6Hit PositionVec3 · variable

Fields

7 top-level fields
  1. 0ActionsInventoryTransaction
    1. 0ActionsInventoryActionas array<InventoryAction>
      1. 0SourceInventorySource
        1. 0Source TypeCompressionEnum-as-ValueInventorySourceTypeas varuint32
          1. 0Container Inventory
          2. 1Global Inventory
          3. 2World Interaction
          4. 3Creative Inventory
          5. 4Non Implemented Feature TODO
        2. 1Container IDoptionalCompressionint8
        3. 2Bit FlagsoptionalCompressionEnum-as-ValueInventorySourceFlagsas varuint32
          1. 0No Flag
          2. 1World Interaction Random
      2. 1SlotCompressionvaruint32
  2. 1Runtime IdActorRuntimeID
    1. 0Actor Runtime IDCompressionvaruint64
  3. 2Action TypeCompressionEnum-as-ValueItemUseOnActorActionTypeas varint32
    1. 0Interact
    2. 1Attack
    3. 2Item Interact
  4. 3SlotCompressionvarint32
  5. 5From PositionVec3
  6. 6Hit PositionVec3

Packet references

1 reference
  1. InventoryTransactionPacketTransaction › ItemUseOnActorInventoryTransaction › ItemUseOnActorInventoryTransaction

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.