mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-06-12 01:31:48 +00:00
125 lines
6.5 KiB
XML
125 lines
6.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: ItemComponentPacket Pages: 1 -->
|
|
<svg width="870pt" height="152pt"
|
|
viewBox="0.00 0.00 870.22 152.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 148)">
|
|
<title>ItemComponentPacket</title>
|
|
<polygon fill="white" stroke="none" points="-4,4 -4,-148 866.22,-148 866.22,4 -4,4"/>
|
|
<!-- 0 -->
|
|
<!-- name: "ItemComponentPacket", typeName: "", id: 0, branchId: 162, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node1" class="node">
|
|
<title>0</title>
|
|
<ellipse fill="none" stroke="black" cx="95.97" cy="-99" rx="95.97" ry="18"/>
|
|
<text text-anchor="middle" x="95.97" y="-93.58" font-family="Times New Roman,serif" font-size="14.00">ItemComponentPacket</text>
|
|
</g>
|
|
<!-- 1 -->
|
|
<!-- name: "Items", typeName: "", id: 1, branchId: 0, recurseId: -1, attributes: 8, notes: "Array of component based items" -->
|
|
<g id="node2" class="node">
|
|
<title>1</title>
|
|
<ellipse fill="none" stroke="black" cx="259.05" cy="-99" rx="31.1" ry="18"/>
|
|
<text text-anchor="middle" x="259.05" y="-93.58" font-family="Times New Roman,serif" font-size="14.00">Items</text>
|
|
</g>
|
|
<!-- 0->1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>0->1</title>
|
|
<path fill="none" stroke="black" d="M192.07,-99C200.47,-99 208.66,-99 216.24,-99"/>
|
|
<polygon fill="black" stroke="black" points="216.1,-102.5 226.1,-99 216.1,-95.5 216.1,-102.5"/>
|
|
</g>
|
|
<!-- 2 -->
|
|
<!-- name: "Array Size", typeName: "", id: 2, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node3" class="node">
|
|
<title>2</title>
|
|
<ellipse fill="none" stroke="black" cx="397.68" cy="-126" rx="49.57" ry="18"/>
|
|
<text text-anchor="middle" x="397.68" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
|
|
</g>
|
|
<!-- 1->2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>1->2</title>
|
|
<path fill="none" stroke="black" d="M289.03,-104.73C304.53,-107.79 324.13,-111.66 342.35,-115.26"/>
|
|
<polygon fill="black" stroke="black" points="341.49,-118.66 351.98,-117.17 342.85,-111.79 341.49,-118.66"/>
|
|
</g>
|
|
<!-- 4 -->
|
|
<!-- name: "example element", typeName: "", id: 4, branchId: 0, recurseId: -1, attributes: 16, notes: "" -->
|
|
<g id="node5" class="node">
|
|
<title>4</title>
|
|
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="397.68" cy="-72" rx="71.52" ry="18"/>
|
|
<text text-anchor="middle" x="397.68" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">example element</text>
|
|
</g>
|
|
<!-- 1->4 -->
|
|
<g id="edge4" class="edge">
|
|
<title>1->4</title>
|
|
<path fill="none" stroke="black" d="M289.03,-93.27C300.83,-90.94 315.01,-88.14 329.15,-85.34"/>
|
|
<polygon fill="black" stroke="black" points="329.82,-88.78 338.95,-83.41 328.46,-81.91 329.82,-88.78"/>
|
|
</g>
|
|
<!-- 3 -->
|
|
<!-- name: "unsigned varint", typeName: "", id: 3, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node4" class="node">
|
|
<title>3</title>
|
|
<ellipse fill="none" stroke="black" cx="794.69" cy="-126" rx="66.53" ry="18"/>
|
|
<text text-anchor="middle" x="794.69" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
|
|
</g>
|
|
<!-- 2->3 -->
|
|
<g id="edge3" class="edge">
|
|
<title>2->3</title>
|
|
<path fill="none" stroke="black" d="M447.51,-126C514.8,-126 636.72,-126 716.44,-126"/>
|
|
<polygon fill="black" stroke="black" points="716.38,-129.5 726.37,-126 716.37,-122.5 716.38,-129.5"/>
|
|
</g>
|
|
<!-- 5 -->
|
|
<!-- name: "ComponentItem name", typeName: "", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node6" class="node">
|
|
<title>5</title>
|
|
<ellipse fill="none" stroke="black" cx="598.18" cy="-72" rx="92.98" ry="18"/>
|
|
<text text-anchor="middle" x="598.18" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">ComponentItem name</text>
|
|
</g>
|
|
<!-- 4->5 -->
|
|
<g id="edge5" class="edge">
|
|
<title>4->5</title>
|
|
<path fill="none" stroke="black" d="M469.5,-72C477.3,-72 485.35,-72 493.44,-72"/>
|
|
<polygon fill="black" stroke="black" points="493.36,-75.5 503.36,-72 493.36,-68.5 493.36,-75.5"/>
|
|
</g>
|
|
<!-- 7 -->
|
|
<!-- name: "Component data", typeName: "CompoundTag", id: 7, branchId: 0, recurseId: -1, attributes: 256, notes: "Compound tag members - itemname: string, itemid: short, itemcomponents: {[componentkey:string]: { ...component definition here... } } }" -->
|
|
<g id="node8" class="node">
|
|
<title>7</title>
|
|
<ellipse fill="none" stroke="black" cx="598.18" cy="-18" rx="72.52" ry="18"/>
|
|
<text text-anchor="middle" x="598.18" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">Component data</text>
|
|
</g>
|
|
<!-- 4->7 -->
|
|
<g id="edge7" class="edge">
|
|
<title>4->7</title>
|
|
<path fill="none" stroke="black" d="M447.49,-58.72C474.67,-51.33 508.72,-42.06 537.47,-34.24"/>
|
|
<polygon fill="black" stroke="black" points="538.02,-37.72 546.75,-31.72 536.18,-30.97 538.02,-37.72"/>
|
|
</g>
|
|
<!-- 6 -->
|
|
<!-- name: "string", typeName: "", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node7" class="node">
|
|
<title>6</title>
|
|
<ellipse fill="none" stroke="black" cx="794.69" cy="-72" rx="31.1" ry="18"/>
|
|
<text text-anchor="middle" x="794.69" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">string</text>
|
|
</g>
|
|
<!-- 5->6 -->
|
|
<g id="edge6" class="edge">
|
|
<title>5->6</title>
|
|
<path fill="none" stroke="black" d="M691.59,-72C712.72,-72 734.15,-72 751.89,-72"/>
|
|
<polygon fill="black" stroke="black" points="751.73,-75.5 761.73,-72 751.73,-68.5 751.73,-75.5"/>
|
|
</g>
|
|
<!-- 8 -->
|
|
<!-- name: "CompoundTag", typeName: "", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node9" class="node">
|
|
<title>8</title>
|
|
<ellipse fill="none" stroke="black" cx="794.69" cy="-18" rx="67.53" ry="18"/>
|
|
<text text-anchor="middle" x="794.69" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">CompoundTag</text>
|
|
</g>
|
|
<!-- 7->8 -->
|
|
<g id="edge8" class="edge">
|
|
<title>7->8</title>
|
|
<path fill="none" stroke="black" d="M671.06,-18C685.63,-18 701.02,-18 715.79,-18"/>
|
|
<polygon fill="black" stroke="black" points="715.43,-21.5 725.43,-18 715.43,-14.5 715.43,-21.5"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|