mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-07-19 17:51:46 +00:00
177 lines
9.5 KiB
XML
177 lines
9.5 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 11.0.0 (20240428.1522)
|
|
-->
|
|
<!-- Title: InventoryContentPacket Pages: 1 -->
|
|
<svg width="995pt" height="260pt"
|
|
viewBox="0.00 0.00 994.97 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 990.97,-256 990.97,4 -4,4"/>
|
|
<!-- 0 -->
|
|
<!-- name: "InventoryContentPacket", typeName: "", id: 0, branchId: 49, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node1" class="node">
|
|
<title>0</title>
|
|
<ellipse fill="none" stroke="black" cx="100.46" cy="-99" rx="100.46" ry="18"/>
|
|
<text text-anchor="middle" x="100.46" y="-93.58" font-family="Times New Roman,serif" font-size="14.00">InventoryContentPacket</text>
|
|
</g>
|
|
<!-- 1 -->
|
|
<!-- name: "Inventory Id", typeName: "", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node2" class="node">
|
|
<title>1</title>
|
|
<ellipse fill="none" stroke="black" cx="655.56" cy="-234" rx="56.55" ry="18"/>
|
|
<text text-anchor="middle" x="655.56" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">Inventory Id</text>
|
|
</g>
|
|
<!-- 0->1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>0->1</title>
|
|
<path fill="none" stroke="black" d="M138.75,-116.07C165.59,-127.8 202.92,-143.02 236.93,-153 360.29,-189.2 508.97,-213.62 591.51,-225.54"/>
|
|
<polygon fill="black" stroke="black" points="590.82,-228.98 601.21,-226.93 591.81,-222.05 590.82,-228.98"/>
|
|
</g>
|
|
<!-- 3 -->
|
|
<!-- name: "Slots", typeName: "", id: 3, branchId: 0, recurseId: -1, attributes: 8, notes: "" -->
|
|
<g id="node4" class="node">
|
|
<title>3</title>
|
|
<ellipse fill="none" stroke="black" cx="294.98" cy="-126" rx="29.61" ry="18"/>
|
|
<text text-anchor="middle" x="294.98" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Slots</text>
|
|
</g>
|
|
<!-- 0->3 -->
|
|
<g id="edge3" class="edge">
|
|
<title>0->3</title>
|
|
<path fill="none" stroke="black" d="M180.88,-110.14C206.4,-113.72 233.55,-117.52 254.85,-120.51"/>
|
|
<polygon fill="black" stroke="black" points="254.14,-123.95 264.53,-121.87 255.11,-117.02 254.14,-123.95"/>
|
|
</g>
|
|
<!-- 9 -->
|
|
<!-- name: "Full Container Name", typeName: "FullContainerName", id: 9, branchId: 0, recurseId: -1, attributes: 256, notes: "Used to reference a specific container within a given screen container context." -->
|
|
<g id="node10" class="node">
|
|
<title>9</title>
|
|
<ellipse fill="none" stroke="black" cx="476.02" cy="-72" rx="86.99" ry="18"/>
|
|
<text text-anchor="middle" x="476.02" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">Full Container Name</text>
|
|
</g>
|
|
<!-- 0->9 -->
|
|
<g id="edge9" class="edge">
|
|
<title>0->9</title>
|
|
<path fill="none" stroke="black" d="M194.28,-92.29C251.51,-88.15 324.65,-82.87 381.93,-78.73"/>
|
|
<polygon fill="black" stroke="black" points="381.93,-82.24 391.65,-78.03 381.43,-75.26 381.93,-82.24"/>
|
|
</g>
|
|
<!-- 19 -->
|
|
<!-- name: "Storage Item", typeName: "NetworkItemStackDescriptor", id: 19, branchId: 0, recurseId: -1, attributes: 256, notes: "Optional storage item containing the contents to set. Only the item type is relevant, not any stack information." -->
|
|
<g id="node12" class="node">
|
|
<title>19</title>
|
|
<ellipse fill="none" stroke="black" cx="294.98" cy="-22" rx="58.05" ry="18"/>
|
|
<text text-anchor="middle" x="294.98" y="-16.57" font-family="Times New Roman,serif" font-size="14.00">Storage Item</text>
|
|
</g>
|
|
<!-- 0->19 -->
|
|
<g id="edge11" class="edge">
|
|
<title>0->19</title>
|
|
<path fill="none" stroke="black" d="M143.24,-82.29C174.04,-69.97 215.93,-53.22 247.74,-40.49"/>
|
|
<polygon fill="black" stroke="black" points="248.72,-43.87 256.71,-36.91 246.12,-37.37 248.72,-43.87"/>
|
|
</g>
|
|
<!-- 2 -->
|
|
<!-- name: "unsigned varint", typeName: "", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node3" class="node">
|
|
<title>2</title>
|
|
<ellipse fill="none" stroke="black" cx="867.54" cy="-234" rx="66.53" ry="18"/>
|
|
<text text-anchor="middle" x="867.54" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
|
|
</g>
|
|
<!-- 1->2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>1->2</title>
|
|
<path fill="none" stroke="black" d="M712.56,-234C736.05,-234 763.77,-234 789.16,-234"/>
|
|
<polygon fill="black" stroke="black" points="789.13,-237.5 799.13,-234 789.13,-230.5 789.13,-237.5"/>
|
|
</g>
|
|
<!-- 4 -->
|
|
<!-- name: "Array Size", typeName: "", id: 4, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node5" class="node">
|
|
<title>4</title>
|
|
<ellipse fill="none" stroke="black" cx="655.56" cy="-180" rx="49.57" ry="18"/>
|
|
<text text-anchor="middle" x="655.56" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
|
|
</g>
|
|
<!-- 3->4 -->
|
|
<g id="edge4" class="edge">
|
|
<title>3->4</title>
|
|
<path fill="none" stroke="black" d="M321.35,-134.71C339.88,-140.75 365.75,-148.48 389.03,-153 458.95,-166.58 540.64,-173.59 594.76,-177.02"/>
|
|
<polygon fill="black" stroke="black" points="594.51,-180.51 604.7,-177.63 594.93,-173.52 594.51,-180.51"/>
|
|
</g>
|
|
<!-- 6 -->
|
|
<!-- name: "example element", typeName: "", id: 6, branchId: 0, recurseId: -1, attributes: 16, notes: "" -->
|
|
<g id="node7" class="node">
|
|
<title>6</title>
|
|
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="476.02" cy="-126" rx="71.52" ry="18"/>
|
|
<text text-anchor="middle" x="476.02" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">example element</text>
|
|
</g>
|
|
<!-- 3->6 -->
|
|
<g id="edge6" class="edge">
|
|
<title>3->6</title>
|
|
<path fill="none" stroke="black" d="M324.74,-126C343.26,-126 368.35,-126 392.71,-126"/>
|
|
<polygon fill="black" stroke="black" points="392.69,-129.5 402.69,-126 392.69,-122.5 392.69,-129.5"/>
|
|
</g>
|
|
<!-- 5 -->
|
|
<!-- name: "unsigned varint", typeName: "", id: 5, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node6" class="node">
|
|
<title>5</title>
|
|
<ellipse fill="none" stroke="black" cx="867.54" cy="-180" rx="66.53" ry="18"/>
|
|
<text text-anchor="middle" x="867.54" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
|
|
</g>
|
|
<!-- 4->5 -->
|
|
<g id="edge5" class="edge">
|
|
<title>4->5</title>
|
|
<path fill="none" stroke="black" d="M705.53,-180C730.45,-180 761.33,-180 789.36,-180"/>
|
|
<polygon fill="black" stroke="black" points="789.25,-183.5 799.25,-180 789.25,-176.5 789.25,-183.5"/>
|
|
</g>
|
|
<!-- 7 -->
|
|
<!-- name: "Item stack", typeName: "NetworkItemStackDescriptor", id: 7, branchId: 0, recurseId: -1, attributes: 256, notes: "" -->
|
|
<g id="node8" class="node">
|
|
<title>7</title>
|
|
<ellipse fill="none" stroke="black" cx="655.56" cy="-126" rx="49.07" ry="18"/>
|
|
<text text-anchor="middle" x="655.56" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Item stack</text>
|
|
</g>
|
|
<!-- 6->7 -->
|
|
<g id="edge7" class="edge">
|
|
<title>6->7</title>
|
|
<path fill="none" stroke="black" d="M547.96,-126C563.5,-126 579.81,-126 594.87,-126"/>
|
|
<polygon fill="black" stroke="black" points="594.59,-129.5 604.59,-126 594.59,-122.5 594.59,-129.5"/>
|
|
</g>
|
|
<!-- 8 -->
|
|
<!-- name: "NetworkItemStackDescriptor", typeName: "", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node9" class="node">
|
|
<title>8</title>
|
|
<ellipse fill="none" stroke="black" cx="867.54" cy="-126" rx="119.43" ry="18"/>
|
|
<text text-anchor="middle" x="867.54" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">NetworkItemStackDescriptor</text>
|
|
</g>
|
|
<!-- 7->8 -->
|
|
<g id="edge8" class="edge">
|
|
<title>7->8</title>
|
|
<path fill="none" stroke="black" d="M705,-126C714.81,-126 725.56,-126 736.71,-126"/>
|
|
<polygon fill="black" stroke="black" points="736.45,-129.5 746.45,-126 736.45,-122.5 736.45,-129.5"/>
|
|
</g>
|
|
<!-- 18 -->
|
|
<!-- name: "FullContainerName", typeName: "", id: 18, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node11" class="node">
|
|
<title>18</title>
|
|
<ellipse fill="none" stroke="black" cx="867.54" cy="-72" rx="82" ry="18"/>
|
|
<text text-anchor="middle" x="867.54" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">FullContainerName</text>
|
|
</g>
|
|
<!-- 9->18 -->
|
|
<g id="edge10" class="edge">
|
|
<title>9->18</title>
|
|
<path fill="none" stroke="black" d="M563.47,-72C625.95,-72 710.24,-72 774.06,-72"/>
|
|
<polygon fill="black" stroke="black" points="773.81,-75.5 783.81,-72 773.81,-68.5 773.81,-75.5"/>
|
|
</g>
|
|
<!-- 20 -->
|
|
<!-- name: "NetworkItemStackDescriptor", typeName: "", id: 20, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node13" class="node">
|
|
<title>20</title>
|
|
<ellipse fill="none" stroke="black" cx="867.54" cy="-18" rx="119.43" ry="18"/>
|
|
<text text-anchor="middle" x="867.54" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">NetworkItemStackDescriptor</text>
|
|
</g>
|
|
<!-- 19->20 -->
|
|
<g id="edge12" class="edge">
|
|
<title>19->20</title>
|
|
<path fill="none" stroke="black" d="M353.3,-21.6C442.27,-20.97 615.9,-19.76 736.42,-18.91"/>
|
|
<polygon fill="black" stroke="black" points="736.43,-22.41 746.4,-18.84 736.38,-15.41 736.43,-22.41"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|