OverviewPacketsInventorySlot
ID 0x32 · 50Server → ClientInventory
InventorySlot
inventory-slot.bin
struct InventorySlot {
ContainerID InventoryId;
varuint32 Slot;
optional byte + FullContainerName FullContainerName;
optional byte + SerializedNetworkItemStackDescriptor StorageItem;
SerializedNetworkItemStackDescriptor Item;
}Structure
| Field | Type | Description |
|---|---|---|
| Inventory Id | ContainerID | |
| Slot | varuint32 | |
| Full Container Name | optional byte + FullContainerName | Presence flag on the wire; value omitted when absent. |
| Storage Item | optional byte + SerializedNetworkItemStackDescriptor | Presence flag on the wire; value omitted when absent. |
| Item | SerializedNetworkItemStackDescriptor |
Structure of FullContainerName
| Field | Type | Description |
|---|---|---|
| Name | ContainerEnumName | |
| Dynamic Id | optional byte + uint32 | Presence flag on the wire; value omitted when absent. |
Structure of SerializedNetworkItemStackDescriptor
cerealizer<NetworkItemStackDescriptor>::SerializedData. ItemStackNetIdVariant's
| Field | Type | Description |
|---|---|---|
| Id | int16 (LE) | |
| Stack Size | uint16 (LE) | |
| Aux Value | varuint32 | |
| Net Id Variant | optional byte + varint32 | Presence flag on the wire; value omitted when absent. |
| Block Runtime Id | varuint32 | |
| User Data Buffer | byte[] |
Notes
- No special notes.
