Overview Packets ItemStackRequest ID 0x93 · 147 Client → Server Inventory
The client's authoritative request stream for every inventory/crafting/trade operation: each request has an id, a list of filtered stack operations and string filters.
item-stack-request.bin
struct ItemStackRequest {
varuint32 [] · ItemStackRequestCereal.RequestData[] Requests;
} Structure Field Type Description Requests varuint32 count + ItemStackRequestCereal.RequestData[] Length-prefixed sequence.
Structure of RequestData Field Type Description Client Request Id ItemStackRequestId Actions varuint32 count + TakeActionData | PlaceActionData | SwapActionData | DropActionData | DestroyActionData | ConsumeActionData | CreateActionData | LabTableCombineActionData | BeaconPaymentActionData | MineBlockActionData | CraftRecipeActionData | CraftRecipeAutoActionData | CraftCreativeActionData | CraftRecipeOptionalActionData | CraftRepairAndDisenchantActionData | CraftLoomActionData | CraftNonImplementedActionData | CraftResultsActionData[] Length-prefixed sequence. Strings To Filter varuint32 count + string[] Length-prefixed sequence. Strings To Filter Origin int32 (LE)
Structure of ItemStackRequestId Field Type Description Raw Id varint32
Structure of TakeActionData Field Type Description Action Type constant ItemStackRequestActionType.TAKE Fixed tag written on the wire. Amount uint8 Source SlotInfoData Destination SlotInfoData
Structure of PlaceActionData Field Type Description Action Type constant ItemStackRequestActionType.PLACE Fixed tag written on the wire. Amount uint8 Source SlotInfoData Destination SlotInfoData
Structure of SwapActionData Field Type Description Action Type constant ItemStackRequestActionType.SWAP Fixed tag written on the wire. Source SlotInfoData Destination SlotInfoData
Structure of DropActionData Field Type Description Action Type constant ItemStackRequestActionType.DROP Fixed tag written on the wire. Amount uint8 Source SlotInfoData Randomly bool
Structure of DestroyActionData Field Type Description Action Type constant ItemStackRequestActionType.DESTROY Fixed tag written on the wire. Amount uint8 Source SlotInfoData
Structure of ConsumeActionData Field Type Description Action Type constant ItemStackRequestActionType.CONSUME Fixed tag written on the wire. Amount uint8 Source SlotInfoData
Structure of CreateActionData Field Type Description Action Type constant ItemStackRequestActionType.CREATE Fixed tag written on the wire. Results Index uint8
Structure of LabTableCombineActionData Field Type Description Action Type constant ItemStackRequestActionType.SCREEN_LAB_TABLE_COMBINE Fixed tag written on the wire.
Structure of BeaconPaymentActionData Field Type Description Action Type constant ItemStackRequestActionType.SCREEN_BEACON_PAYMENT Fixed tag written on the wire. Primary Effect Id varint32 Secondary Effect Id varint32
Structure of MineBlockActionData Field Type Description Action Type constant ItemStackRequestActionType.SCREEN_HUD_MINE_BLOCK Fixed tag written on the wire. Slot varint32 Predicted Durability varint32 Net Id Variant int32 (LE)
Structure of CraftRecipeActionData Field Type Description Action Type constant ItemStackRequestActionType.CRAFT_RECIPE Fixed tag written on the wire. Recipe Net Id RecipeNetId Num Crafts uint8
Structure of CraftRecipeAutoActionData Field Type Description Action Type constant ItemStackRequestActionType.CRAFT_RECIPE_AUTO Fixed tag written on the wire. Recipe Net Id RecipeNetId Num Crafts uint8 Ingredients varuint32 count + RecipeIngredientData[] Length-prefixed sequence.
Structure of CraftCreativeActionData Field Type Description Action Type constant ItemStackRequestActionType.CRAFT_CREATIVE Fixed tag written on the wire. Creative Item Net Id varuint32 Num Crafts uint8
Structure of CraftRecipeOptionalActionData Field Type Description Action Type constant ItemStackRequestActionType.CRAFT_RECIPE_OPTIONAL Fixed tag written on the wire. Recipe Net Id RecipeNetId Filtered String Index int32 (LE)
Structure of CraftRepairAndDisenchantActionData Field Type Description Action Type constant ItemStackRequestActionType.CRAFT_REPAIR_AND_DISENCHANT Fixed tag written on the wire. Recipe Net Id int32 (LE) Num Crafts uint8 Repair Cost varint32
Structure of CraftLoomActionData Field Type Description Action Type constant ItemStackRequestActionType.CRAFT_LOOM Fixed tag written on the wire. Pattern Name Id string Num Crafts uint8
Structure of CraftNonImplementedActionData Field Type Description Action Type constant ItemStackRequestActionType.CRAFT_NON_IMPLEMENTED_DEPRECATEDASKTYLAING Fixed tag written on the wire.
Structure of CraftResultsActionData Field Type Description Action Type constant ItemStackRequestActionType.CRAFT_RESULTS_DEPRECATEDASKTYLAING Fixed tag written on the wire. Craft Results varuint32 count + NetworkItemInstanceDescriptorData[] Length-prefixed sequence. Num Crafts uint8
Notes The server answers with ItemStackResponse using the same request ids. Since 1.26.40 requests are cereal-serialised (ItemStackRequest.RequestData).