ItemStackResponseSlotInfo
0Requested Slotuint8 · 1 byte
1Slotuint8 · 1 byte
2Amountuint8 · 1 byte
3Item Stack Net IdItemStackNetId · variable
4Custom NameBedrock::Safety::RedactableString · variable
5Durability Correctionvarint32 · variable (up to 5 bytes)
Fields
6 top-level fields- 0Requested SlotThe slot index that was requested.
uint8 - 1SlotThe actual slot index.
uint8 - 2AmountThe item amount in the slot. When zero, the Item Stack Net Id optional carries no value (a single presence byte of 0 is still written).
uint8 3Item Stack Net IdoptionalThe server net ID for the item stack. Encoded as an optional: a presence byte is always written, followed by the value only when Amount > 0.ItemStackNetId
- 0IDRaw Id (32 bit signed)Compression
varint32
4Custom NameThe custom name of the item.Bedrock::Safety::RedactableString
- 5Durability CorrectionDurability correction value, encoded as a zigzag VarInt32 on the wire. Must fit in an int16_t.Compression
varint32
Packet references
1 reference- ItemStackResponsePacketResponses › ItemStackResponseInfo › Containers › ItemStackResponseContainerInfo › Slots › ItemStackResponseSlotInfo
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.