InventoryAction
0SourceInventorySource · variable
1Slotvaruint32 · variable (up to 5 bytes)
2From ItemNetworkItemStackDescriptor · variable
3To ItemNetworkItemStackDescriptor · variable
Fields
4 top-level fields0SourceThe inventory source identifying which container this action targets.InventorySource
0Source TypeThe inventory source type.CompressionEnum-as-ValueInventorySourceTypeas
varuint32- 0
Container Inventory - 1
Global Inventory - 2
World Interaction - 3
Creative Inventory - 4
Non Implemented Feature TODO
- 0
2Bit FlagsoptionalSource flags. Present only for WorldInteraction source type.CompressionEnum-as-ValueInventorySourceFlagsas
varuint32- 0
No Flag - 1
World Interaction Random
- 0
- 1SlotThe slot index within the source container.Compression
varuint32 - 2From ItemThe item descriptor representing the state of the slot before this action.NetworkItemStackDescriptor
- 3To ItemThe item descriptor representing the desired state of the slot after this action.NetworkItemStackDescriptor
Packet references
6 references- InventoryTransactionPacketTransaction › InventoryMismatchData › InventoryMismatchData › Actions › InventoryTransaction › Actions › InventoryAction
- InventoryTransactionPacketTransaction › ItemReleaseInventoryTransaction › ItemReleaseInventoryTransaction › Actions › InventoryTransaction › Actions › InventoryAction
- InventoryTransactionPacketTransaction › ItemUseInventoryTransaction › ItemUseInventoryTransaction › Actions › InventoryTransaction › Actions › InventoryAction
- InventoryTransactionPacketTransaction › ItemUseOnActorInventoryTransaction › ItemUseOnActorInventoryTransaction › Actions › InventoryTransaction › Actions › InventoryAction
- InventoryTransactionPacketTransaction › NormalTransactionData › NormalTransactionData › Actions › InventoryTransaction › Actions › InventoryAction
- 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.
All builds
Changes between consecutive stable releases and preview builds.
No changes are recorded for this type.