← Type index

NormalTransactionData

Object datagramWire order
0ActionsInventoryTransaction · variable

Fields

1 top-level fields
  1. 0ActionsBase inventory actions. Lists the slot changes making up this Normal (container UI) transaction.InventoryTransaction
    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

1 reference
  1. InventoryTransactionPacket
    Transaction › NormalTransactionData › NormalTransactionData

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.