← Type index

InventoryAction

Object datagramWire order
0SourceInventorySource · variable
1Slotvaruint32 · variable (up to 5 bytes)
2From ItemNetworkItemStackDescriptor · variable
3To ItemNetworkItemStackDescriptor · variable

Fields

4 top-level fields
  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

Packet references

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

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.