1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-07-16 00:24:44 +00:00
Files
bedrock-protocol-docs/html/svg/InventoryContentPacket.svg
Oswaldo Leyva Barrientos a27d6bb22a Protocol for r/21_u6 NetworkProtocolVersion 776 (#18)
* Protocol for r/21_u6 NetworkProtocolVersion 776

* Protocol for r/21_u6 NetworkProtocolVersion 776 - Fix README version

* Protocol for r/21_u6 NetworkProtocolVersion 776 - Fix changelog release

* Protocol for r/21_u6 NetworkProtocolVersion 776 - Add NoteBlockInstrument to protocol doc
2025-02-13 19:28:13 -08:00

177 lines
9.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
-->
<!-- Title: InventoryContentPacket Pages: 1 -->
<svg width="1004pt" height="260pt"
viewBox="0.00 0.00 1004.33 260.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 256)">
<title>InventoryContentPacket</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-256 1000.33,-256 1000.33,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;InventoryContentPacket&quot;, typeName: &quot;&quot;, id: 0, branchId: 49, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="100.48" cy="-99" rx="100.48" ry="18"/>
<text text-anchor="middle" x="100.48" y="-93.95" font-family="Times New Roman,serif" font-size="14.00">InventoryContentPacket</text>
</g>
<!-- 1 -->
<!-- name: &quot;Inventory Id&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="663.48" cy="-234" rx="56.98" ry="18"/>
<text text-anchor="middle" x="663.48" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">Inventory Id</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M138.77,-116.1C165.61,-127.86 202.94,-143.08 236.97,-153 362.81,-189.69 514.55,-213.97 598.58,-225.73"/>
<polygon fill="black" stroke="black" points="598.09,-229.19 608.48,-227.1 599.05,-222.26 598.09,-229.19"/>
</g>
<!-- 3 -->
<!-- name: &quot;Slots&quot;, typeName: &quot;&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 8, notes: &quot;&quot; -->
<g id="node4" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="296" cy="-126" rx="29.34" ry="18"/>
<text text-anchor="middle" x="296" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Slots</text>
</g>
<!-- 0&#45;&gt;3 -->
<g id="edge3" class="edge">
<title>0&#45;&gt;3</title>
<path fill="none" stroke="black" d="M181.03,-110.1C206.89,-113.71 234.45,-117.55 255.98,-120.56"/>
<polygon fill="black" stroke="black" points="255.39,-124.01 265.78,-121.92 256.36,-117.07 255.39,-124.01"/>
</g>
<!-- 9 -->
<!-- name: &quot;Full Container Name&quot;, typeName: &quot;FullContainerName&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;Used to reference a specific container within a given screen container context.&quot; -->
<g id="node10" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="480.76" cy="-72" rx="89.74" ry="18"/>
<text text-anchor="middle" x="480.76" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">Full Container Name</text>
</g>
<!-- 0&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>0&#45;&gt;9</title>
<path fill="none" stroke="black" d="M194.51,-92.36C252.14,-88.25 325.98,-82.98 384.1,-78.83"/>
<polygon fill="black" stroke="black" points="384.27,-82.33 393.99,-78.12 383.77,-75.34 384.27,-82.33"/>
</g>
<!-- 19 -->
<!-- name: &quot;Storage Item&quot;, typeName: &quot;NetworkItemStackDescriptor&quot;, id: 19, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;Optional storage item containing the contents to set. Only the item type is relevant, not any stack information.&quot; -->
<g id="node12" class="node">
<title>19</title>
<ellipse fill="none" stroke="black" cx="296" cy="-22" rx="59.03" ry="18"/>
<text text-anchor="middle" x="296" y="-16.95" font-family="Times New Roman,serif" font-size="14.00">Storage Item</text>
</g>
<!-- 0&#45;&gt;19 -->
<g id="edge11" class="edge">
<title>0&#45;&gt;19</title>
<path fill="none" stroke="black" d="M143.47,-82.29C174.43,-69.97 216.55,-53.22 248.52,-40.49"/>
<polygon fill="black" stroke="black" points="249.54,-43.86 257.54,-36.91 246.95,-37.35 249.54,-43.86"/>
</g>
<!-- 2 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 2, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node3" class="node">
<title>2</title>
<ellipse fill="none" stroke="black" cx="876.4" cy="-234" rx="68.24" ry="18"/>
<text text-anchor="middle" x="876.4" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M720.73,-234C743.9,-234 771.17,-234 796.3,-234"/>
<polygon fill="black" stroke="black" points="796.16,-237.5 806.16,-234 796.16,-230.5 796.16,-237.5"/>
</g>
<!-- 4 -->
<!-- name: &quot;List Size&quot;, typeName: &quot;&quot;, id: 4, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node5" class="node">
<title>4</title>
<ellipse fill="none" stroke="black" cx="663.48" cy="-180" rx="43.67" ry="18"/>
<text text-anchor="middle" x="663.48" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">List Size</text>
</g>
<!-- 3&#45;&gt;4 -->
<g id="edge4" class="edge">
<title>3&#45;&gt;4</title>
<path fill="none" stroke="black" d="M322.24,-134.59C341,-140.65 367.34,-148.46 391.03,-153 465.72,-167.32 553.51,-174.3 608.58,-177.51"/>
<polygon fill="black" stroke="black" points="608.13,-180.99 618.31,-178.06 608.52,-174 608.13,-180.99"/>
</g>
<!-- 6 -->
<!-- name: &quot;example element&quot;, typeName: &quot;&quot;, id: 6, branchId: 0, recurseId: &#45;1, attributes: 16, notes: &quot;&quot; -->
<g id="node7" class="node">
<title>6</title>
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="480.76" cy="-126" rx="74.89" ry="18"/>
<text text-anchor="middle" x="480.76" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">example element</text>
</g>
<!-- 3&#45;&gt;6 -->
<g id="edge6" class="edge">
<title>3&#45;&gt;6</title>
<path fill="none" stroke="black" d="M325.56,-126C344.19,-126 369.57,-126 394.37,-126"/>
<polygon fill="black" stroke="black" points="394.18,-129.5 404.18,-126 394.18,-122.5 394.18,-129.5"/>
</g>
<!-- 5 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node6" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" cx="876.4" cy="-180" rx="68.24" ry="18"/>
<text text-anchor="middle" x="876.4" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 4&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>4&#45;&gt;5</title>
<path fill="none" stroke="black" d="M707.42,-180C733.05,-180 766.4,-180 796.61,-180"/>
<polygon fill="black" stroke="black" points="796.51,-183.5 806.51,-180 796.51,-176.5 796.51,-183.5"/>
</g>
<!-- 7 -->
<!-- name: &quot;Item stack&quot;, typeName: &quot;NetworkItemStackDescriptor&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;&quot; -->
<g id="node8" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="663.48" cy="-126" rx="49.82" ry="18"/>
<text text-anchor="middle" x="663.48" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Item stack</text>
</g>
<!-- 6&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>6&#45;&gt;7</title>
<path fill="none" stroke="black" d="M556.05,-126C571.26,-126 587.1,-126 601.76,-126"/>
<polygon fill="black" stroke="black" points="601.73,-129.5 611.73,-126 601.73,-122.5 601.73,-129.5"/>
</g>
<!-- 8 -->
<!-- name: &quot;NetworkItemStackDescriptor&quot;, typeName: &quot;&quot;, id: 8, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node9" class="node">
<title>8</title>
<ellipse fill="none" stroke="black" cx="876.4" cy="-126" rx="119.93" ry="18"/>
<text text-anchor="middle" x="876.4" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">NetworkItemStackDescriptor</text>
</g>
<!-- 7&#45;&gt;8 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;8</title>
<path fill="none" stroke="black" d="M713.67,-126C723.43,-126 734.11,-126 745.18,-126"/>
<polygon fill="black" stroke="black" points="744.84,-129.5 754.84,-126 744.84,-122.5 744.84,-129.5"/>
</g>
<!-- 18 -->
<!-- name: &quot;FullContainerName&quot;, typeName: &quot;&quot;, id: 18, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node11" class="node">
<title>18</title>
<ellipse fill="none" stroke="black" cx="876.4" cy="-72" rx="84.62" ry="18"/>
<text text-anchor="middle" x="876.4" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">FullContainerName</text>
</g>
<!-- 9&#45;&gt;18 -->
<g id="edge10" class="edge">
<title>9&#45;&gt;18</title>
<path fill="none" stroke="black" d="M570.59,-72C633.06,-72 716.53,-72 780.34,-72"/>
<polygon fill="black" stroke="black" points="780.09,-75.5 790.09,-72 780.09,-68.5 780.09,-75.5"/>
</g>
<!-- 20 -->
<!-- name: &quot;NetworkItemStackDescriptor&quot;, typeName: &quot;&quot;, id: 20, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node13" class="node">
<title>20</title>
<ellipse fill="none" stroke="black" cx="876.4" cy="-18" rx="119.93" ry="18"/>
<text text-anchor="middle" x="876.4" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">NetworkItemStackDescriptor</text>
</g>
<!-- 19&#45;&gt;20 -->
<g id="edge12" class="edge">
<title>19&#45;&gt;20</title>
<path fill="none" stroke="black" d="M355.37,-21.6C445.98,-20.97 622.73,-19.75 744.84,-18.9"/>
<polygon fill="black" stroke="black" points="744.62,-22.4 754.6,-18.84 744.58,-15.4 744.62,-22.4"/>
</g>
</g>
</svg>