ItemStackResponseInfo
0Resultuint8 · 1 byte
1Client Request IdItemStackRequestId · variable
2Containersarray<ItemStackResponseContainerInfo> · variable
Fields
3 top-level fields0ResultThe result of the item stack request. When not Success, the Containers optional carries no value.Enum-as-Value
uint8- 0
Success - 1
Error - 2
InvalidRequestActionType - 3
ActionRequestNotAllowed - 4
ScreenHandlerEndRequestFailed - 5
ItemRequestActionHandlerCommitFailed - 6
InvalidRequestCraftActionType - 7
InvalidCraftRequest - 8
InvalidCraftRequestScreen - 9
InvalidCraftResult - 10
InvalidCraftResultIndex - 11
InvalidCraftResultItem - 12
InvalidItemNetId - 13
MissingCreatedOutputContainer - 14
FailedToSetCreatedItemOutputSlot - 15
RequestAlreadyInProgress - 16
FailedToInitSparseContainer - 17
ResultTransferFailed - 18
ExpectedItemSlotNotFullyConsumed - 19
ExpectedAnywhereItemNotFullyConsumed - 20
ItemAlreadyConsumedFromSlot - 21
ConsumedTooMuchFromSlot - 22
MismatchSlotExpectedConsumedItem - 23
MismatchSlotExpectedConsumedItemNetIdVariant - 24
FailedToMatchExpectedSlotConsumedItem - 25
FailedToMatchExpectedAllowedAnywhereConsumedItem - 26
ConsumedItemOutOfAllowedSlotRange - 27
ConsumedItemNotAllowed - 28
PlayerNotInCreativeMode - 29
InvalidExperimentalRecipeRequest - 30
FailedToCraftCreative - 31
FailedToGetLevelRecipe - 32
FailedToFindRecipeByNetId - 33
MismatchedCraftingSize - 34
MissingInputSparseContainer - 35
MismatchedRecipeForInputGridItems - 36
EmptyCraftResults - 37
FailedToEnchant - 38
MissingInputItem - 39
InsufficientPlayerLevelToEnchant - 40
MissingMaterialItem - 41
MissingActor - 42
UnknownPrimaryEffect - 43
PrimaryEffectOutOfRange - 44
PrimaryEffectUnavailable - 45
SecondaryEffectOutOfRange - 46
SecondaryEffectUnavailable - 47
DstContainerEqualToCreatedOutputContainer - 48
DstContainerAndSlotEqualToSrcContainerAndSlot - 49
FailedToValidateSrcSlot - 50
FailedToValidateDstSlot - 51
InvalidAdjustedAmount - 52
InvalidItemSetType - 53
InvalidTransferAmount - 54
CannotSwapItem - 55
CannotPlaceItem - 56
UnhandledItemSetType - 57
InvalidRemovedAmount - 58
InvalidRegion - 59
CannotDropItem - 60
CannotDestroyItem - 61
InvalidSourceContainer - 62
ItemNotConsumed - 63
InvalidNumCrafts - 64
InvalidCraftResultStackSize - 65
CannotRemoveItem - 66
CannotConsumeItem - 67
ScreenStackError
- 0
1Client Request IdThe client request ID this response is for.ItemStackRequestId
- 0IDRaw Id (32 bit signed)Compression
varint32
2ContainersoptionalContainer slot info for successful responses. Encoded as an optional: a presence byte is always written, followed by the value only when Result == Success.ItemStackResponseContainerInfoas
array<ItemStackResponseContainerInfo>0Full Container NameThe full container name.FullContainerName
0Container NameEnum-as-ValueContainerEnumNameas
uint8- 0
AnvilInputContainer - 1
AnvilMaterialContainer - 2
AnvilResultPreviewContainer - 3
SmithingTableInputContainer - 4
SmithingTableMaterialContainer - 5
SmithingTableResultPreviewContainer - 6
ArmorContainer - 7
LevelEntityContainer - 8
BeaconPaymentContainer - 9
BrewingStandInputContainer - 10
BrewingStandResultContainer - 11
BrewingStandFuelContainer - 12
CombinedHotbarAndInventoryContainer - 13
CraftingInputContainer - 14
CraftingOutputPreviewContainer - 15
RecipeConstructionContainer - 16
RecipeNatureContainer - 17
RecipeItemsContainer - 64
RecipeFoodContainer - 65
RecipeBlocksContainer - 66
RecipeFurnaceItemsContainer - 18
RecipeSearchContainer - 19
RecipeSearchBarContainer - 20
RecipeEquipmentContainer - 21
RecipeBookContainer - 22
EnchantingInputContainer - 23
EnchantingMaterialContainer - 24
FurnaceFuelContainer - 25
FurnaceIngredientContainer - 26
FurnaceResultContainer - 27
HorseEquipContainer - 28
HotbarContainer - 29
InventoryContainer - 30
ShulkerBoxContainer - 31
TradeIngredient1Container - 32
TradeIngredient2Container - 33
TradeResultPreviewContainer - 34
OffhandContainer - 35
CompoundCreatorInput - 36
CompoundCreatorOutputPreview - 37
ElementConstructorOutputPreview - 38
MaterialReducerInput - 39
MaterialReducerOutput - 40
LabTableInput - 41
LoomInputContainer - 42
LoomDyeContainer - 43
LoomMaterialContainer - 44
LoomResultPreviewContainer - 45
BlastFurnaceIngredientContainer - 46
SmokerIngredientContainer - 47
Trade2Ingredient1Container - 48
Trade2Ingredient2Container - 49
Trade2ResultPreviewContainer - 50
GrindstoneInputContainer - 51
GrindstoneAdditionalContainer - 52
GrindstoneResultPreviewContainer - 53
StonecutterInputContainer - 54
StonecutterResultPreviewContainer - 55
CartographyInputContainer - 56
CartographyAdditionalContainer - 57
CartographyResultPreviewContainer - 58
BarrelContainer - 59
CursorContainer - 60
CreatedOutputContainer - 61
SmithingTableTemplateContainer - 62
CrafterLevelEntityContainer - 63
DynamicContainer
- 0
1SlotsThe slot info for each affected slot.ItemStackResponseSlotInfoas
array<ItemStackResponseSlotInfo>- 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
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.