ItemReleaseInventoryTransaction
0ActionsInventoryTransaction · variable
1Action Typevarint32 · variable (up to 5 bytes)
2Slotvarint32 · variable (up to 5 bytes)
3ItemNetworkItemStackDescriptor · variable
4From PositionVec3 · variable
5Handuint8 · 1 byte
Fields
6 top-level fields0ActionsBase inventory actions. Lists the inventory slot changes associated with this transaction.InventoryTransaction
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>0SourceThe 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 - 99999
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
1Action TypeRelease: firing a bow or releasing a held item. Use: finishing charging a crossbow.CompressionEnum-as-ValueItemReleaseActionTypeas
varint32- 0
Release - 1
Use
- 0
- 2SlotThe inventory slot of the item being released.Compression
varint32 - 3ItemThe item stack descriptor of the item being released.NetworkItemStackDescriptor
Packet references
1 reference- InventoryTransactionPacketTransaction › ItemReleaseInventoryTransaction › ItemReleaseInventoryTransaction
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.
- Released
- Protocol
- 2207
- Previous build
- 1.26.51
Changed 1
- Added field
Hand(typeuint8).