1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-07-07 11:15:17 +00:00
Files
bedrock-protocol-docs/html/svg/TrimDataPacket.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

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 12.2.1 (20241206.2353)
-->
<!-- Title: TrimDataPacket Pages: 1 -->
<svg width="846pt" height="368pt"
viewBox="0.00 0.00 845.67 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 841.67,-364 841.67,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="71.82" cy="-207" rx="71.82" ry="18"/>
<text text-anchor="middle" x="71.82" y="-201.95" 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="258.12" cy="-261" rx="72.85" ry="18"/>
<text text-anchor="middle" x="258.12" y="-255.95" 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="M119.81,-220.77C143.87,-227.82 173.39,-236.47 198.88,-243.94"/>
<polygon fill="black" stroke="black" points="197.87,-247.29 208.45,-246.74 199.84,-240.57 197.87,-247.29"/>
</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="258.12" cy="-180" rx="78.48" ry="18"/>
<text text-anchor="middle" x="258.12" y="-174.95" 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="M134.71,-197.93C149.12,-195.82 164.65,-193.55 179.65,-191.35"/>
<polygon fill="black" stroke="black" points="180.1,-194.82 189.49,-189.91 179.08,-187.9 180.1,-194.82"/>
</g>
<!-- 2 -->
<!-- name: &quot;List 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="447.5" cy="-328" rx="43.67" ry="18"/>
<text text-anchor="middle" x="447.5" y="-322.95" font-family="Times New Roman,serif" font-size="14.00">List Size</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M300.71,-275.87C331.18,-286.77 372.45,-301.52 403.3,-312.55"/>
<polygon fill="black" stroke="black" points="401.72,-315.71 412.31,-315.78 404.08,-309.11 401.72,-315.71"/>
</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="447.5" cy="-261" rx="74.89" ry="18"/>
<text text-anchor="middle" x="447.5" y="-255.95" 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="M331.3,-261C340.93,-261 350.89,-261 360.72,-261"/>
<polygon fill="black" stroke="black" points="360.68,-264.5 370.68,-261 360.68,-257.5 360.68,-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="769.43" cy="-342" rx="68.24" ry="18"/>
<text text-anchor="middle" x="769.43" y="-336.95" 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="M491.31,-329.87C542.05,-332.09 627.58,-335.84 690.23,-338.58"/>
<polygon fill="black" stroke="black" points="689.99,-342.07 700.13,-339.01 690.3,-335.08 689.99,-342.07"/>
</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="611.79" cy="-288" rx="53.4" ry="18"/>
<text text-anchor="middle" x="611.79" y="-282.95" 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="M509.85,-271.21C523.67,-273.51 538.3,-275.94 552,-278.22"/>
<polygon fill="black" stroke="black" points="551.33,-281.66 561.77,-279.84 552.48,-274.75 551.33,-281.66"/>
</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="611.79" cy="-234" rx="47.26" ry="18"/>
<text text-anchor="middle" x="611.79" y="-228.95" 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="M509.85,-250.79C525.3,-248.22 541.77,-245.48 556.83,-242.98"/>
<polygon fill="black" stroke="black" points="557.25,-246.46 566.54,-241.36 556.1,-239.55 557.25,-246.46"/>
</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="769.43" cy="-288" rx="31.9" ry="18"/>
<text text-anchor="middle" x="769.43" y="-282.95" 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="M665.48,-288C685.11,-288 707.12,-288 725.74,-288"/>
<polygon fill="black" stroke="black" points="725.62,-291.5 735.62,-288 725.62,-284.5 725.62,-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="769.43" cy="-234" rx="31.9" ry="18"/>
<text text-anchor="middle" x="769.43" y="-228.95" 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="M659.49,-234C680.54,-234 705.24,-234 725.79,-234"/>
<polygon fill="black" stroke="black" points="725.53,-237.5 735.53,-234 725.53,-230.5 725.53,-237.5"/>
</g>
<!-- 10 -->
<!-- name: &quot;List 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="447.5" cy="-180" rx="43.67" ry="18"/>
<text text-anchor="middle" x="447.5" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">List Size</text>
</g>
<!-- 9&#45;&gt;10 -->
<g id="edge10" class="edge">
<title>9&#45;&gt;10</title>
<path fill="none" stroke="black" d="M336.96,-180C355.42,-180 374.73,-180 391.9,-180"/>
<polygon fill="black" stroke="black" points="391.9,-183.5 401.9,-180 391.9,-176.5 391.9,-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="447.5" cy="-99" rx="74.89" ry="18"/>
<text text-anchor="middle" x="447.5" y="-93.95" 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="M296.14,-164C325.66,-151.24 367.19,-133.29 399.12,-119.48"/>
<polygon fill="black" stroke="black" points="400.38,-122.75 408.17,-115.57 397.6,-116.33 400.38,-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="769.43" cy="-180" rx="68.24" ry="18"/>
<text text-anchor="middle" x="769.43" y="-174.95" 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="M491.64,-180C542.22,-180 627.06,-180 689.51,-180"/>
<polygon fill="black" stroke="black" points="689.38,-183.5 699.38,-180 689.38,-176.5 689.38,-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="611.79" cy="-126" rx="52.89" ry="18"/>
<text text-anchor="middle" x="611.79" y="-120.95" 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="M509.85,-109.21C523.74,-111.52 538.45,-113.96 552.21,-116.25"/>
<polygon fill="black" stroke="black" points="551.59,-119.7 562.02,-117.89 552.73,-112.79 551.59,-119.7"/>
</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="611.79" cy="-72" rx="31.9" ry="18"/>
<text text-anchor="middle" x="611.79" y="-66.95" 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="M509.85,-88.79C529.73,-85.48 551.3,-81.9 569.38,-78.89"/>
<polygon fill="black" stroke="black" points="569.92,-82.35 579.21,-77.25 568.77,-75.44 569.92,-82.35"/>
</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="611.79" cy="-18" rx="53.4" ry="18"/>
<text text-anchor="middle" x="611.79" y="-12.95" 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="M481.34,-82.61C507.13,-69.74 543.15,-51.76 570.65,-38.03"/>
<polygon fill="black" stroke="black" points="571.99,-41.27 579.38,-33.68 568.87,-35.01 571.99,-41.27"/>
</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="769.43" cy="-126" rx="31.9" ry="18"/>
<text text-anchor="middle" x="769.43" y="-120.95" 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="M665.05,-126C684.85,-126 707.13,-126 725.92,-126"/>
<polygon fill="black" stroke="black" points="725.9,-129.5 735.9,-126 725.9,-122.5 725.9,-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="769.43" cy="-72" rx="31.9" ry="18"/>
<text text-anchor="middle" x="769.43" y="-66.95" 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="M643.91,-72C667.37,-72 699.83,-72 725.72,-72"/>
<polygon fill="black" stroke="black" points="725.58,-75.5 735.58,-72 725.58,-68.5 725.58,-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="769.43" cy="-18" rx="31.9" ry="18"/>
<text text-anchor="middle" x="769.43" y="-12.95" 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="M665.48,-18C685.11,-18 707.12,-18 725.74,-18"/>
<polygon fill="black" stroke="black" points="725.62,-21.5 735.62,-18 725.62,-14.5 725.62,-21.5"/>
</g>
</g>
</svg>