ItemUseOnActorInventoryTransaction
0ActionsInventoryTransaction · variable
1Runtime IdActorRuntimeID · variable
2Action Typevarint32 · variable (up to 5 bytes)
3Slotvarint32 · variable (up to 5 bytes)
4ItemNetworkItemStackDescriptor · variable
5From PositionVec3 · variable
6Hit PositionVec3 · variable
Fields
7 top-level fields0ActionsInventoryTransaction
0ActionsInventoryActionas
array<InventoryAction>0SourceInventorySource
0Source TypeCompressionEnum-as-ValueInventorySourceTypeas
varuint32- 0
Container Inventory - 1
Global Inventory - 2
World Interaction - 3
Creative Inventory - 4
Non Implemented Feature TODO
- 0
2Bit FlagsoptionalCompressionEnum-as-ValueInventorySourceFlagsas
varuint32- 0
No Flag - 1
World Interaction Random
- 0
- 1SlotCompression
varuint32 - 2From ItemNetworkItemStackDescriptor
- 3To ItemNetworkItemStackDescriptor
1Runtime IdActorRuntimeID
- 0Actor Runtime IDCompression
varuint64
2Action TypeCompressionEnum-as-ValueItemUseOnActorActionTypeas
varint32- 0
Interact - 1
Attack - 2
Item Interact
- 0
- 3SlotCompression
varint32
Packet references
1 reference- InventoryTransactionPacketTransaction › ItemUseOnActorInventoryTransaction › ItemUseOnActorInventoryTransaction
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). - Moved
Itemfrom field 4 to 5. - Moved
From Positionfrom field 5 to 6. - Moved
Hit Positionfrom field 6 to 7.