1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-02-24 12:05:28 +00:00
bedrock-protocol-docs/html/svg/TrimDataPacket.svg
Oswaldo Leyva Barrientos 933599d224 Protocol version 622 for r/20_u7
2024-02-15 15:10:22 -08:00

255 lines
13 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 9.0.0 (20230911.1827)
-->
<!-- Title: TrimDataPacket Pages: 1 -->
<svg width="820pt" height="368pt"
viewBox="0.00 0.00 820.32 368.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 364)">
<title>TrimDataPacket</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-364 816.32,-364 816.32,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;TrimDataPacket&quot;, typeName: &quot;&quot;, id: 0, branchId: 302, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="70.52" cy="-207" rx="70.52" ry="18"/>
<text text-anchor="middle" x="70.52" y="-201.57" font-family="Times New Roman,serif" font-size="14.00">TrimDataPacket</text>
</g>
<!-- 1 -->
<!-- name: &quot;TrimPattern List&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 8, notes: &quot;&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="251.57" cy="-261" rx="71.02" ry="18"/>
<text text-anchor="middle" x="251.57" y="-255.57" font-family="Times New Roman,serif" font-size="14.00">TrimPattern List</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M117.17,-220.77C140.54,-227.82 169.22,-236.47 193.99,-243.94"/>
<polygon fill="black" stroke="black" points="192.66,-247.19 203.25,-246.73 194.68,-240.49 192.66,-247.19"/>
</g>
<!-- 9 -->
<!-- name: &quot;TrimMaterial List&quot;, typeName: &quot;&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 8, notes: &quot;&quot; -->
<g id="node10" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="251.57" cy="-180" rx="74.52" ry="18"/>
<text text-anchor="middle" x="251.57" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">TrimMaterial List</text>
</g>
<!-- 0&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>0&#45;&gt;9</title>
<path fill="none" stroke="black" d="M132.14,-197.86C146.37,-195.71 161.69,-193.4 176.43,-191.18"/>
<polygon fill="black" stroke="black" points="176.71,-194.68 186.07,-189.73 175.66,-187.76 176.71,-194.68"/>
</g>
<!-- 2 -->
<!-- name: &quot;Array Size&quot;, typeName: &quot;&quot;, id: 2, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node3" class="node">
<title>2</title>
<ellipse fill="none" stroke="black" cx="433.61" cy="-328" rx="49.57" ry="18"/>
<text text-anchor="middle" x="433.61" y="-322.57" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M292.97,-276.04C321.01,-286.47 358.39,-300.38 387.41,-311.18"/>
<polygon fill="black" stroke="black" points="386.08,-314.42 396.68,-314.63 388.52,-307.86 386.08,-314.42"/>
</g>
<!-- 4 -->
<!-- name: &quot;example element&quot;, typeName: &quot;&quot;, id: 4, branchId: 0, recurseId: &#45;1, attributes: 16, notes: &quot;&quot; -->
<g id="node5" class="node">
<title>4</title>
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="433.61" cy="-261" rx="71.52" ry="18"/>
<text text-anchor="middle" x="433.61" y="-255.57" font-family="Times New Roman,serif" font-size="14.00">example element</text>
</g>
<!-- 1&#45;&gt;4 -->
<g id="edge4" class="edge">
<title>1&#45;&gt;4</title>
<path fill="none" stroke="black" d="M322.95,-261C331.89,-261 341.11,-261 350.22,-261"/>
<polygon fill="black" stroke="black" points="350.17,-264.5 360.17,-261 350.17,-257.5 350.17,-264.5"/>
</g>
<!-- 3 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node4" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="745.79" cy="-342" rx="66.53" ry="18"/>
<text text-anchor="middle" x="745.79" y="-336.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 2&#45;&gt;3 -->
<g id="edge3" class="edge">
<title>2&#45;&gt;3</title>
<path fill="none" stroke="black" d="M483.07,-330.19C532.67,-332.43 610.47,-335.94 668.37,-338.55"/>
<polygon fill="black" stroke="black" points="668.01,-342.04 678.16,-338.99 668.33,-335.05 668.01,-342.04"/>
</g>
<!-- 5 -->
<!-- name: &quot;Item Name&quot;, typeName: &quot;&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node6" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" cx="592.19" cy="-288" rx="51.06" ry="18"/>
<text text-anchor="middle" x="592.19" y="-282.57" font-family="Times New Roman,serif" font-size="14.00">Item Name</text>
</g>
<!-- 4&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>4&#45;&gt;5</title>
<path fill="none" stroke="black" d="M493.36,-271.13C506.92,-273.47 521.31,-275.95 534.77,-278.27"/>
<polygon fill="black" stroke="black" points="533.87,-281.67 544.32,-279.92 535.06,-274.77 533.87,-281.67"/>
</g>
<!-- 7 -->
<!-- name: &quot;Pattern Id&quot;, typeName: &quot;&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node8" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="592.19" cy="-234" rx="47.07" ry="18"/>
<text text-anchor="middle" x="592.19" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">Pattern Id</text>
</g>
<!-- 4&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>4&#45;&gt;7</title>
<path fill="none" stroke="black" d="M493.36,-250.87C507.88,-248.37 523.35,-245.7 537.61,-243.24"/>
<polygon fill="black" stroke="black" points="537.99,-246.73 547.25,-241.58 536.8,-239.83 537.99,-246.73"/>
</g>
<!-- 6 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 6, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node7" class="node">
<title>6</title>
<ellipse fill="none" stroke="black" cx="745.79" cy="-288" rx="31.1" ry="18"/>
<text text-anchor="middle" x="745.79" y="-282.57" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 5&#45;&gt;6 -->
<g id="edge6" class="edge">
<title>5&#45;&gt;6</title>
<path fill="none" stroke="black" d="M643.67,-288C662.89,-288 684.56,-288 702.9,-288"/>
<polygon fill="black" stroke="black" points="702.89,-291.5 712.89,-288 702.89,-284.5 702.89,-291.5"/>
</g>
<!-- 8 -->
<!-- name: &quot;string&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="745.79" cy="-234" rx="31.1" ry="18"/>
<text text-anchor="middle" x="745.79" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 7&#45;&gt;8 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;8</title>
<path fill="none" stroke="black" d="M639.5,-234C659.79,-234 683.41,-234 703.13,-234"/>
<polygon fill="black" stroke="black" points="703.03,-237.5 713.03,-234 703.03,-230.5 703.03,-237.5"/>
</g>
<!-- 10 -->
<!-- name: &quot;Array Size&quot;, typeName: &quot;&quot;, id: 10, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node11" class="node">
<title>10</title>
<ellipse fill="none" stroke="black" cx="433.61" cy="-180" rx="49.57" ry="18"/>
<text text-anchor="middle" x="433.61" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
</g>
<!-- 9&#45;&gt;10 -->
<g id="edge10" class="edge">
<title>9&#45;&gt;10</title>
<path fill="none" stroke="black" d="M326.57,-180C341.73,-180 357.51,-180 372.12,-180"/>
<polygon fill="black" stroke="black" points="372.04,-183.5 382.04,-180 372.04,-176.5 372.04,-183.5"/>
</g>
<!-- 12 -->
<!-- name: &quot;example element&quot;, typeName: &quot;&quot;, id: 12, branchId: 0, recurseId: &#45;1, attributes: 16, notes: &quot;&quot; -->
<g id="node13" class="node">
<title>12</title>
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="433.61" cy="-99" rx="71.52" ry="18"/>
<text text-anchor="middle" x="433.61" y="-93.58" font-family="Times New Roman,serif" font-size="14.00">example element</text>
</g>
<!-- 9&#45;&gt;12 -->
<g id="edge12" class="edge">
<title>9&#45;&gt;12</title>
<path fill="none" stroke="black" d="M288.14,-164C316.46,-151.25 356.31,-133.33 386.98,-119.53"/>
<polygon fill="black" stroke="black" points="388.35,-122.75 396.04,-115.45 385.48,-116.36 388.35,-122.75"/>
</g>
<!-- 11 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 11, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node12" class="node">
<title>11</title>
<ellipse fill="none" stroke="black" cx="745.79" cy="-180" rx="66.53" ry="18"/>
<text text-anchor="middle" x="745.79" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 10&#45;&gt;11 -->
<g id="edge11" class="edge">
<title>10&#45;&gt;11</title>
<path fill="none" stroke="black" d="M483.41,-180C532.84,-180 610.01,-180 667.7,-180"/>
<polygon fill="black" stroke="black" points="667.45,-183.5 677.45,-180 667.45,-176.5 667.45,-183.5"/>
</g>
<!-- 13 -->
<!-- name: &quot;Material Id&quot;, typeName: &quot;&quot;, id: 13, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node14" class="node">
<title>13</title>
<ellipse fill="none" stroke="black" cx="592.19" cy="-126" rx="50.56" ry="18"/>
<text text-anchor="middle" x="592.19" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Material Id</text>
</g>
<!-- 12&#45;&gt;13 -->
<g id="edge13" class="edge">
<title>12&#45;&gt;13</title>
<path fill="none" stroke="black" d="M493.36,-109.13C507.05,-111.49 521.6,-114 535.17,-116.34"/>
<polygon fill="black" stroke="black" points="534.37,-119.75 544.81,-118 535.55,-112.85 534.37,-119.75"/>
</g>
<!-- 15 -->
<!-- name: &quot;Color&quot;, typeName: &quot;&quot;, id: 15, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node16" class="node">
<title>15</title>
<ellipse fill="none" stroke="black" cx="592.19" cy="-72" rx="32.1" ry="18"/>
<text text-anchor="middle" x="592.19" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">Color</text>
</g>
<!-- 12&#45;&gt;15 -->
<g id="edge15" class="edge">
<title>12&#45;&gt;15</title>
<path fill="none" stroke="black" d="M493.36,-88.87C512.29,-85.6 532.86,-82.06 550.23,-79.06"/>
<polygon fill="black" stroke="black" points="550.38,-82.59 559.64,-77.44 549.19,-75.69 550.38,-82.59"/>
</g>
<!-- 17 -->
<!-- name: &quot;Item Name&quot;, typeName: &quot;&quot;, id: 17, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node18" class="node">
<title>17</title>
<ellipse fill="none" stroke="black" cx="592.19" cy="-18" rx="51.06" ry="18"/>
<text text-anchor="middle" x="592.19" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">Item Name</text>
</g>
<!-- 12&#45;&gt;17 -->
<g id="edge17" class="edge">
<title>12&#45;&gt;17</title>
<path fill="none" stroke="black" d="M466.29,-82.61C491.07,-69.79 525.63,-51.92 552.11,-38.22"/>
<polygon fill="black" stroke="black" points="553.57,-41.4 560.85,-33.7 550.36,-35.18 553.57,-41.4"/>
</g>
<!-- 14 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 14, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node15" class="node">
<title>14</title>
<ellipse fill="none" stroke="black" cx="745.79" cy="-126" rx="31.1" ry="18"/>
<text text-anchor="middle" x="745.79" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 13&#45;&gt;14 -->
<g id="edge14" class="edge">
<title>13&#45;&gt;14</title>
<path fill="none" stroke="black" d="M643.25,-126C662.59,-126 684.46,-126 702.93,-126"/>
<polygon fill="black" stroke="black" points="702.72,-129.5 712.72,-126 702.72,-122.5 702.72,-129.5"/>
</g>
<!-- 16 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 16, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node17" class="node">
<title>16</title>
<ellipse fill="none" stroke="black" cx="745.79" cy="-72" rx="31.1" ry="18"/>
<text text-anchor="middle" x="745.79" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 15&#45;&gt;16 -->
<g id="edge16" class="edge">
<title>15&#45;&gt;16</title>
<path fill="none" stroke="black" d="M624.6,-72C647.29,-72 678.16,-72 702.94,-72"/>
<polygon fill="black" stroke="black" points="702.68,-75.5 712.68,-72 702.68,-68.5 702.68,-75.5"/>
</g>
<!-- 18 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 18, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node19" class="node">
<title>18</title>
<ellipse fill="none" stroke="black" cx="745.79" cy="-18" rx="31.1" ry="18"/>
<text text-anchor="middle" x="745.79" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 17&#45;&gt;18 -->
<g id="edge18" class="edge">
<title>17&#45;&gt;18</title>
<path fill="none" stroke="black" d="M643.67,-18C662.89,-18 684.56,-18 702.9,-18"/>
<polygon fill="black" stroke="black" points="702.89,-21.5 712.89,-18 702.89,-14.5 702.89,-21.5"/>
</g>
</g>
</svg>