跳转至

PackedItemUseLegacyInventoryTransaction

文档版本:r/20_u8
协议版本:671

PackedItemUseLegacyInventoryTransaction类型。该类型用于protocol.type.packeditemuselegacyinventorytransaction.description

结构

digraph "PackedItemUseLegacyInventoryTransaction" {
rankdir = LR
32
32 -> 33
33 -> 37
32 -> 38
38 -> 39
39 -> 40
38 -> 41
41 -> 42
42 -> 43
43 -> 44
42 -> 45
45 -> 46
46 -> 47
45 -> 48
48 -> 49
49 -> 50
48 -> 51
51 -> 52
52 -> 53
32 -> 54
54 -> 55
55 -> 56
54 -> 57
57 -> 58
58 -> 59
32 -> 60
60 -> 61
32 -> 62
62 -> 63
32 -> 64
64 -> 65
32 -> 66
66 -> 67
32 -> 68
68 -> 69
32 -> 70
70 -> 71
32 -> 72
72 -> 73
32 -> 74
74 -> 75

32 [label="PackedItemUseLegacyInventoryTransaction",comment="name: \"PackedItemUseLegacyInventoryTransaction\", typeName: \"\", id: 32, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
33 [label="ID",comment="name: \"ID\", typeName: \"TypedClientNetId<struct ItemStackLegacyRequestIdTag,int,0>\", id: 33, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
37 [label="TypedClientNetId<struct ItemStackLegacyRequestIdTag,int,0>",comment="name: \"TypedClientNetId<struct ItemStackLegacyRequestIdTag,int,0>\", typeName: \"\", id: 37, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
38 [label="Dependency on 'valid ID'",shape=note,comment="name: \"Dependency on 'valid ID'\", typeName: \"\", id: 38, branchId: 0, recurseId: -1, attributes: 2, notes: \"\""];
39 [label="if (0)",shape=diamond,comment="name: \"if (0)\", typeName: \"\", id: 39, branchId: 0, recurseId: -1, attributes: 4, notes: \"\""];
40 [label="[No Data]",comment="name: \"[No Data]\", typeName: \"\", id: 40, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
41 [label="if (1)",shape=diamond,comment="name: \"if (1)\", typeName: \"\", id: 41, branchId: 1, recurseId: -1, attributes: 4, notes: \"\""];
42 [label="Container Slots",comment="name: \"Container Slots\", typeName: \"\", id: 42, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
43 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 43, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
44 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 44, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
45 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 45, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
46 [label="Container Enum Name",comment="name: \"Container Enum Name\", typeName: \"\", id: 46, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
47 [label="byte",comment="name: \"byte\", typeName: \"\", id: 47, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
48 [label="Slots",comment="name: \"Slots\", typeName: \"\", id: 48, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
49 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 49, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
50 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 50, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
51 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 51, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
52 [label="Slot",comment="name: \"Slot\", typeName: \"\", id: 52, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
53 [label="byte",comment="name: \"byte\", typeName: \"\", id: 53, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
54 [label="Actions",comment="name: \"Actions\", typeName: \"\", id: 54, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
55 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 55, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
56 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 56, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
57 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 57, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
58 [label="Action",comment="name: \"Action\", typeName: \"InventoryAction\", id: 58, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
59 [label="InventoryAction",comment="name: \"InventoryAction\", typeName: \"\", id: 59, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
60 [label="Action Type",comment="name: \"Action Type\", typeName: \"\", id: 60, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
61 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 61, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
62 [label="Position",comment="name: \"Position\", typeName: \"NetworkBlockPosition\", id: 62, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
63 [label="NetworkBlockPosition",comment="name: \"NetworkBlockPosition\", typeName: \"\", id: 63, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
64 [label="Face",comment="name: \"Face\", typeName: \"\", id: 64, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
65 [label="varint",comment="name: \"varint\", typeName: \"\", id: 65, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
66 [label="Slot",comment="name: \"Slot\", typeName: \"\", id: 66, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
67 [label="varint",comment="name: \"varint\", typeName: \"\", id: 67, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
68 [label="Item",comment="name: \"Item\", typeName: \"NetworkItemStackDescriptor\", id: 68, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
69 [label="NetworkItemStackDescriptor",comment="name: \"NetworkItemStackDescriptor\", typeName: \"\", id: 69, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
70 [label="From Position",comment="name: \"From Position\", typeName: \"Vec3\", id: 70, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
71 [label="Vec3",comment="name: \"Vec3\", typeName: \"\", id: 71, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
72 [label="Click Position",comment="name: \"Click Position\", typeName: \"Vec3\", id: 72, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
73 [label="Vec3",comment="name: \"Vec3\", typeName: \"\", id: 73, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
74 [label="Target Block Id",comment="name: \"Target Block Id\", typeName: \"\", id: 74, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
75 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 75, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;37;40;44;47;50;53;56;59;61;63;65;67;69;71;73;75}

}

字段

PackedItemUseLegacyInventoryTransaction
[id][dependency_on_valid_id][actions][action_type][position][face][slot][item][from_position][click_position][target_block_id]
ID:TypedClientNetId<struct ItemStackLegacyRequestIdTag,int,0>
特殊类型。protocol.type.packeditemuselegacyinventorytransaction.id.description

依赖于valid ID

if (0):[No Data]
无数据
if (1)
[container_slots]
Container Slots
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.type.packeditemuselegacyinventorytransaction.dependency_on_valid_id.if_1.container_slots.array_size.description
示例元素
[container_enum_name][slots]
Container Enum Name:byte
基本类型枚举。protocol.type.packeditemuselegacyinventorytransaction.dependency_on_valid_id.if_1.container_slots.example_element.container_enum_name.description枚举值如下:
描述
AnvilInputContainer 0 protocol.enum.anvilinputcontainer
AnvilMaterialContainer 1 protocol.enum.anvilmaterialcontainer
AnvilResultPreviewContainer 2 protocol.enum.anvilresultpreviewcontainer
SmithingTableInputContainer 3 protocol.enum.smithingtableinputcontainer
SmithingTableMaterialContainer 4 protocol.enum.smithingtablematerialcontainer
SmithingTableResultPreviewContainer 5 protocol.enum.smithingtableresultpreviewcontainer
ArmorContainer 6 protocol.enum.armorcontainer
LevelEntityContainer 7 protocol.enum.levelentitycontainer
BeaconPaymentContainer 8 protocol.enum.beaconpaymentcontainer
BrewingStandInputContainer 9 protocol.enum.brewingstandinputcontainer
BrewingStandResultContainer 10 protocol.enum.brewingstandresultcontainer
BrewingStandFuelContainer 11 protocol.enum.brewingstandfuelcontainer
CombinedHotbarAndInventoryContainer 12 protocol.enum.combinedhotbarandinventorycontainer
CraftingInputContainer 13 protocol.enum.craftinginputcontainer
CraftingOutputPreviewContainer 14 protocol.enum.craftingoutputpreviewcontainer
RecipeConstructionContainer 15 protocol.enum.recipeconstructioncontainer
RecipeNatureContainer 16 protocol.enum.recipenaturecontainer
RecipeItemsContainer 17 protocol.enum.recipeitemscontainer
RecipeSearchContainer 18 protocol.enum.recipesearchcontainer
RecipeSearchBarContainer 19 protocol.enum.recipesearchbarcontainer
RecipeEquipmentContainer 20 protocol.enum.recipeequipmentcontainer
RecipeBookContainer 21 protocol.enum.recipebookcontainer
EnchantingInputContainer 22 protocol.enum.enchantinginputcontainer
EnchantingMaterialContainer 23 protocol.enum.enchantingmaterialcontainer
FurnaceFuelContainer 24 protocol.enum.furnacefuelcontainer
FurnaceIngredientContainer 25 protocol.enum.furnaceingredientcontainer
FurnaceResultContainer 26 protocol.enum.furnaceresultcontainer
HorseEquipContainer 27 protocol.enum.horseequipcontainer
HotbarContainer 28 protocol.enum.hotbarcontainer
InventoryContainer 29 protocol.enum.inventorycontainer
ShulkerBoxContainer 30 protocol.enum.shulkerboxcontainer
TradeIngredient1Container 31 protocol.enum.tradeingredient1container
TradeIngredient2Container 32 protocol.enum.tradeingredient2container
TradeResultPreviewContainer 33 protocol.enum.traderesultpreviewcontainer
OffhandContainer 34 protocol.enum.offhandcontainer
CompoundCreatorInput 35 protocol.enum.compoundcreatorinput
CompoundCreatorOutputPreview 36 protocol.enum.compoundcreatoroutputpreview
ElementConstructorOutputPreview 37 protocol.enum.elementconstructoroutputpreview
MaterialReducerInput 38 protocol.enum.materialreducerinput
MaterialReducerOutput 39 protocol.enum.materialreduceroutput
LabTableInput 40 protocol.enum.labtableinput
LoomInputContainer 41 protocol.enum.loominputcontainer
LoomDyeContainer 42 protocol.enum.loomdyecontainer
LoomMaterialContainer 43 protocol.enum.loommaterialcontainer
LoomResultPreviewContainer 44 protocol.enum.loomresultpreviewcontainer
BlastFurnaceIngredientContainer 45 protocol.enum.blastfurnaceingredientcontainer
SmokerIngredientContainer 46 protocol.enum.smokeringredientcontainer
Trade2Ingredient1Container 47 protocol.enum.trade2ingredient1container
Trade2Ingredient2Container 48 protocol.enum.trade2ingredient2container
Trade2ResultPreviewContainer 49 protocol.enum.trade2resultpreviewcontainer
GrindstoneInputContainer 50 protocol.enum.grindstoneinputcontainer
GrindstoneAdditionalContainer 51 protocol.enum.grindstoneadditionalcontainer
GrindstoneResultPreviewContainer 52 protocol.enum.grindstoneresultpreviewcontainer
StonecutterInputContainer 53 protocol.enum.stonecutterinputcontainer
StonecutterResultPreviewContainer 54 protocol.enum.stonecutterresultpreviewcontainer
CartographyInputContainer 55 protocol.enum.cartographyinputcontainer
CartographyAdditionalContainer 56 protocol.enum.cartographyadditionalcontainer
CartographyResultPreviewContainer 57 protocol.enum.cartographyresultpreviewcontainer
BarrelContainer 58 protocol.enum.barrelcontainer
CursorContainer 59 protocol.enum.cursorcontainer
CreatedOutputContainer 60 protocol.enum.createdoutputcontainer
SmithingTableTemplateContainer 61 protocol.enum.smithingtabletemplatecontainer
CrafterLevelEntityContainer 62 protocol.enum.crafterlevelentitycontainer
Slots
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.type.packeditemuselegacyinventorytransaction.dependency_on_valid_id.if_1.container_slots.example_element.slots.array_size.description
示例元素
[slot]
Slot:byte
基本类型。protocol.type.packeditemuselegacyinventorytransaction.dependency_on_valid_id.if_1.container_slots.example_element.slots.example_element.slot.description
Actions
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.type.packeditemuselegacyinventorytransaction.actions.array_size.description
示例元素
[action]
Action:InventoryAction
特殊类型。protocol.type.packeditemuselegacyinventorytransaction.actions.example_element.action.description
Action Type:unsigned varint
基本类型枚举。protocol.type.packeditemuselegacyinventorytransaction.action_type.description枚举值如下:
描述
Place 0 protocol.enum.place
Use 1 protocol.enum.use
Destroy 2 protocol.enum.destroy
Position:NetworkBlockPosition
特殊类型。protocol.type.packeditemuselegacyinventorytransaction.position.description
Face:varint
基本类型。protocol.type.packeditemuselegacyinventorytransaction.face.description
Slot:varint
基本类型。protocol.type.packeditemuselegacyinventorytransaction.slot.description
Item:NetworkItemStackDescriptor
特殊类型。protocol.type.packeditemuselegacyinventorytransaction.item.description
From Position:Vec3
特殊类型。protocol.type.packeditemuselegacyinventorytransaction.from_position.description
Click Position:Vec3
特殊类型。protocol.type.packeditemuselegacyinventorytransaction.click_position.description
Target Block Id:unsigned varint
基本类型。protocol.type.packeditemuselegacyinventorytransaction.target_block_id.description