1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2024-11-23 13:56:11 +00:00
bedrock-protocol-docs/dot/NetworkItemStackDescriptor.dot
2024-02-15 15:10:22 -08:00

55 lines
3.9 KiB
Plaintext

digraph "NetworkItemStackDescriptor" {
rankdir = LR
18
18 -> 19
19 -> 20
20 -> 21
21 -> 22
19 -> 23
23 -> 24
24 -> 25
23 -> 26
26 -> 27
23 -> 28
28 -> 29
23 -> 30
30 -> 31
23 -> 32
32 -> 33
33 -> 34
32 -> 35
35 -> 36
36 -> 40
23 -> 41
41 -> 42
23 -> 43
43 -> 44
18 [label="NetworkItemStackDescriptor",comment="name: \"NetworkItemStackDescriptor\", typeName: \"\", id: 18, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
19 [label="Dependency on 'Valid item'",shape=note,comment="name: \"Dependency on 'Valid item'\", typeName: \"\", id: 19, branchId: 0, recurseId: -1, attributes: 2, notes: \"\""];
20 [label="if (0)",shape=diamond,comment="name: \"if (0)\", typeName: \"\", id: 20, branchId: 0, recurseId: -1, attributes: 4, notes: \"\""];
21 [label="Id",comment="name: \"Id\", typeName: \"\", id: 21, branchId: 0, recurseId: -1, attributes: 0, notes: \"Send fixed Id of 0 for invalid item\""];
22 [label="varint",comment="name: \"varint\", typeName: \"\", id: 22, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
23 [label="if (1)",shape=diamond,comment="name: \"if (1)\", typeName: \"\", id: 23, branchId: 1, recurseId: -1, attributes: 4, notes: \"\""];
24 [label="Id",comment="name: \"Id\", typeName: \"\", id: 24, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
25 [label="varint",comment="name: \"varint\", typeName: \"\", id: 25, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
26 [label="Stack size",comment="name: \"Stack size\", typeName: \"\", id: 26, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
27 [label="unsigned short",comment="name: \"unsigned short\", typeName: \"\", id: 27, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
28 [label="Aux value",comment="name: \"Aux value\", typeName: \"\", id: 28, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
29 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 29, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
30 [label="Include Net Id",comment="name: \"Include Net Id\", typeName: \"\", id: 30, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
31 [label="bool",comment="name: \"bool\", typeName: \"\", id: 31, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
32 [label="Dependency on 'Include Net Id'",shape=note,comment="name: \"Dependency on 'Include Net Id'\", typeName: \"\", id: 32, branchId: 0, recurseId: -1, attributes: 2, notes: \"\""];
33 [label="if (0)",shape=diamond,comment="name: \"if (0)\", typeName: \"\", id: 33, branchId: 0, recurseId: -1, attributes: 4, notes: \"\""];
34 [label="[No Data]",comment="name: \"[No Data]\", typeName: \"\", id: 34, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
35 [label="if (1)",shape=diamond,comment="name: \"if (1)\", typeName: \"\", id: 35, branchId: 1, recurseId: -1, attributes: 4, notes: \"\""];
36 [label="Net Id Variant",comment="name: \"Net Id Variant\", typeName: \"ItemStackNetIdVariant\", id: 36, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
40 [label="ItemStackNetIdVariant",comment="name: \"ItemStackNetIdVariant\", typeName: \"\", id: 40, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
41 [label="Block Runtime Id",comment="name: \"Block Runtime Id\", typeName: \"\", id: 41, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
42 [label="varint",comment="name: \"varint\", typeName: \"\", id: 42, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
43 [label="User Data Buffer",comment="name: \"User Data Buffer\", typeName: \"\", id: 43, branchId: 0, recurseId: -1, attributes: 0, notes: \"The @ItemInstanceUserData.html#ItemInstanceUserData@ binary blob encoded as a String, so it's unsigned varint length prefixed. Get all your nbt+property bytes, calculate the length, write that length, THEN write the data.\""];
44 [label="string",comment="name: \"string\", typeName: \"\", id: 44, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;22;25;27;29;31;34;40;42;44}
}