MCBE
OverviewPacketsItemStackResponse
ID 0x94 · 148Server → ClientInventory

ItemStackResponse

Server's per-request result for ItemStackRequest: ok with modified slots, or an error with a reason.

item-stack-response.bin
struct ItemStackResponse {
  varuint32 [] · ItemStackResponseInfo[]       Responses;
}

Structure

FieldTypeDescription
Responsesvaruint32 count + ItemStackResponseInfo[]Length-prefixed sequence.

Structure of ItemStackResponseInfo

FieldTypeDescription
ResultItemStackNetResult
Client Request IdItemStackRequestId
Containersoptional byte + list[ItemStackResponseContainerInfo]Presence flag on the wire; value omitted when absent.

Structure of ItemStackRequestId

FieldTypeDescription
Raw Idvarint32

Structure of ItemStackResponseContainerInfo

FieldTypeDescription
Full Container NameFullContainerName
Slotsvaruint32 count + ItemStackResponseSlotInfo[]Length-prefixed sequence.

Structure of FullContainerName

FieldTypeDescription
NameContainerEnumName
Dynamic Idoptional byte + uint32Presence flag on the wire; value omitted when absent.

Structure of ItemStackResponseSlotInfo

FieldTypeDescription
Requested Slotuint8
Slotuint8
Amountuint8
Item Stack Net Idoptional byte + ItemStackNetIdPresence flag on the wire; value omitted when absent.
Custom NameRedactableString
Durability Correctionvarint32

Structure of ItemStackNetId

FieldTypeDescription
Raw Idvarint32

Structure of RedactableString

FieldTypeDescription
Unredacted Stringstring
Redacted Stringoptional byte + stringPresence flag on the wire; value omitted when absent.

Notes

  • Slot states returned here are applied blindly by the client — the server is authoritative.