← Type index

InventoryTransaction

Object datagramWire order
0Actionsarray<InventoryAction> · variable

Fields

1 top-level fields
  1. 0ActionsList of inventory slot changes. Each action describes which container slot is changing and what the item descriptor transitions from and to.InventoryActionas array<InventoryAction>
    1. 0SourceThe inventory source identifying which container this action targets.InventorySource
      1. 0Source TypeThe inventory source type.CompressionEnum-as-ValueInventorySourceTypeas varuint32
        1. 0Container Inventory
        2. 1Global Inventory
        3. 2World Interaction
        4. 3Creative Inventory
        5. 99999Non Implemented Feature TODO
      2. 1Container IDoptionalContainer window ID. Present only for ContainerInventory and NonImplementedFeatureTODO source types.Compressionint8
      3. 2Bit FlagsoptionalSource flags. Present only for WorldInteraction source type.CompressionEnum-as-ValueInventorySourceFlagsas varuint32
        1. 0No Flag
        2. 1World Interaction Random
    2. 1SlotThe slot index within the source container.Compressionvaruint32
    3. 2From ItemThe item descriptor representing the state of the slot before this action.NetworkItemStackDescriptor
    4. 3To ItemThe item descriptor representing the desired state of the slot after this action.NetworkItemStackDescriptor

Packet references

6 references
  1. InventoryTransactionPacket
    Transaction › InventoryMismatchData › InventoryMismatchData › Actions › InventoryTransaction
  2. InventoryTransactionPacket
    Transaction › ItemReleaseInventoryTransaction › ItemReleaseInventoryTransaction › Actions › InventoryTransaction
  3. InventoryTransactionPacket
    Transaction › ItemUseInventoryTransaction › ItemUseInventoryTransaction › Actions › InventoryTransaction
  4. InventoryTransactionPacket
    Transaction › ItemUseOnActorInventoryTransaction › ItemUseOnActorInventoryTransaction › Actions › InventoryTransaction
  5. InventoryTransactionPacket
    Transaction › NormalTransactionData › NormalTransactionData › Actions › InventoryTransaction
  6. PlayerAuthInputPacket
    Item Use Transaction › PackedItemUseLegacyInventoryTransaction › Item Use Transaction › ItemUseInventoryTransaction › Actions › InventoryTransaction

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.