1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-07-06 21:20:36 +00:00
Files
bedrock-protocol-docs/html/svg/ItemInstanceUserData.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: ItemInstanceUserData Pages: 1 -->
<svg width="1062pt" height="368pt"
viewBox="0.00 0.00 1061.65 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>ItemInstanceUserData</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-364 1057.65,-364 1057.65,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;ItemInstanceUserData&quot;, typeName: &quot;&quot;, id: 0, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="93.83" cy="-234" rx="93.83" ry="18"/>
<text text-anchor="middle" x="93.83" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">ItemInstanceUserData</text>
</g>
<!-- 1 -->
<!-- name: &quot;User Data Serialization Marker&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;(&#45;1) marking start of data&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="753.56" cy="-341" rx="127.61" ry="18"/>
<text text-anchor="middle" x="753.56" y="-335.95" font-family="Times New Roman,serif" font-size="14.00">User Data Serialization Marker</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M131.53,-250.83C156.88,-261.73 191.67,-275.3 223.66,-283 355.72,-314.8 510.57,-329.21 618.46,-335.71"/>
<polygon fill="black" stroke="black" points="618.04,-339.19 628.22,-336.28 618.45,-332.2 618.04,-339.19"/>
</g>
<!-- 3 -->
<!-- name: &quot;User Data Serialization Version&quot;, typeName: &quot;&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;Currently 1&quot; -->
<g id="node4" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="753.56" cy="-286" rx="127.61" ry="18"/>
<text text-anchor="middle" x="753.56" y="-280.95" font-family="Times New Roman,serif" font-size="14.00">User Data Serialization Version</text>
</g>
<!-- 0&#45;&gt;3 -->
<g id="edge3" class="edge">
<title>0&#45;&gt;3</title>
<path fill="none" stroke="black" d="M153.18,-248.28C175.15,-253.12 200.43,-258.04 223.66,-261 355.66,-277.84 507.48,-283.63 614.51,-285.48"/>
<polygon fill="black" stroke="black" points="614.13,-288.98 624.19,-285.64 614.25,-281.98 614.13,-288.98"/>
</g>
<!-- 5 -->
<!-- name: &quot;User Data Tag(s)&quot;, typeName: &quot;CompoundTag&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;See: @CompoundTag.html#Compound Tag@ .&quot; -->
<g id="node6" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" cx="313.91" cy="-234" rx="73.87" ry="18"/>
<text text-anchor="middle" x="313.91" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">User Data Tag(s)</text>
</g>
<!-- 0&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>0&#45;&gt;5</title>
<path fill="none" stroke="black" d="M187.95,-234C201.29,-234 214.96,-234 228.13,-234"/>
<polygon fill="black" stroke="black" points="228.04,-237.5 238.04,-234 228.04,-230.5 228.04,-237.5"/>
</g>
<!-- 7 -->
<!-- name: &quot;Can Place On Blocks&quot;, typeName: &quot;&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 8, notes: &quot;Blocks that this item can be placed on.&quot; -->
<g id="node8" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="313.91" cy="-180" rx="90.25" ry="18"/>
<text text-anchor="middle" x="313.91" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">Can Place On Blocks</text>
</g>
<!-- 0&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>0&#45;&gt;7</title>
<path fill="none" stroke="black" d="M152.99,-219.6C181.18,-212.62 215.23,-204.19 244.65,-196.9"/>
<polygon fill="black" stroke="black" points="245.34,-200.34 254.2,-194.54 243.66,-193.54 245.34,-200.34"/>
</g>
<!-- 13 -->
<!-- name: &quot;Can Destroy Blocks&quot;, typeName: &quot;&quot;, id: 13, branchId: 0, recurseId: &#45;1, attributes: 8, notes: &quot;Blocks that this item can destroy.&quot; -->
<g id="node14" class="node">
<title>13</title>
<ellipse fill="none" stroke="black" cx="313.91" cy="-72" rx="85.64" ry="18"/>
<text text-anchor="middle" x="313.91" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">Can Destroy Blocks</text>
</g>
<!-- 0&#45;&gt;13 -->
<g id="edge13" class="edge">
<title>0&#45;&gt;13</title>
<path fill="none" stroke="black" d="M118.59,-216.35C157.67,-187.32 235.61,-129.42 279.99,-96.46"/>
<polygon fill="black" stroke="black" points="282.03,-99.3 287.97,-90.53 277.86,-93.68 282.03,-99.3"/>
</g>
<!-- 2 -->
<!-- name: &quot;short&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="985.41" cy="-342" rx="29.34" ry="18"/>
<text text-anchor="middle" x="985.41" y="-336.95" font-family="Times New Roman,serif" font-size="14.00">short</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M881.59,-341.55C904.3,-341.65 926.38,-341.75 944.22,-341.83"/>
<polygon fill="black" stroke="black" points="944.04,-345.32 954.06,-341.87 944.07,-338.32 944.04,-345.32"/>
</g>
<!-- 4 -->
<!-- name: &quot;byte&quot;, typeName: &quot;&quot;, id: 4, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node5" class="node">
<title>4</title>
<ellipse fill="none" stroke="black" cx="985.41" cy="-288" rx="27" ry="18"/>
<text text-anchor="middle" x="985.41" y="-282.95" font-family="Times New Roman,serif" font-size="14.00">byte</text>
</g>
<!-- 3&#45;&gt;4 -->
<g id="edge4" class="edge">
<title>3&#45;&gt;4</title>
<path fill="none" stroke="black" d="M881.25,-287.1C905.16,-287.31 928.37,-287.51 946.71,-287.67"/>
<polygon fill="black" stroke="black" points="946.47,-291.17 956.5,-287.76 946.53,-284.17 946.47,-291.17"/>
</g>
<!-- 6 -->
<!-- name: &quot;CompoundTag&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="985.41" cy="-234" rx="66.19" ry="18"/>
<text text-anchor="middle" x="985.41" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">CompoundTag</text>
</g>
<!-- 5&#45;&gt;6 -->
<g id="edge6" class="edge">
<title>5&#45;&gt;6</title>
<path fill="none" stroke="black" d="M388.15,-234C515.78,-234 777.7,-234 907.71,-234"/>
<polygon fill="black" stroke="black" points="907.6,-237.5 917.6,-234 907.6,-230.5 907.6,-237.5"/>
</g>
<!-- 8 -->
<!-- name: &quot;List Size&quot;, typeName: &quot;&quot;, id: 8, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node9" class="node">
<title>8</title>
<ellipse fill="none" stroke="black" cx="515.06" cy="-180" rx="43.67" ry="18"/>
<text text-anchor="middle" x="515.06" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">List Size</text>
</g>
<!-- 7&#45;&gt;8 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;8</title>
<path fill="none" stroke="black" d="M404.58,-180C423.37,-180 442.63,-180 459.66,-180"/>
<polygon fill="black" stroke="black" points="459.55,-183.5 469.55,-180 459.55,-176.5 459.55,-183.5"/>
</g>
<!-- 10 -->
<!-- name: &quot;example element&quot;, typeName: &quot;&quot;, id: 10, branchId: 0, recurseId: &#45;1, attributes: 16, notes: &quot;&quot; -->
<g id="node11" class="node">
<title>10</title>
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="515.06" cy="-126" rx="74.89" ry="18"/>
<text text-anchor="middle" x="515.06" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">example element</text>
</g>
<!-- 7&#45;&gt;10 -->
<g id="edge10" class="edge">
<title>7&#45;&gt;10</title>
<path fill="none" stroke="black" d="M369.07,-165.32C395.08,-158.26 426.36,-149.78 453.2,-142.5"/>
<polygon fill="black" stroke="black" points="453.82,-145.96 462.55,-139.97 451.98,-139.2 453.82,-145.96"/>
</g>
<!-- 9 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node10" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="985.41" cy="-180" rx="68.24" ry="18"/>
<text text-anchor="middle" x="985.41" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 8&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>8&#45;&gt;9</title>
<path fill="none" stroke="black" d="M558.86,-180C637.46,-180 805.88,-180 905.66,-180"/>
<polygon fill="black" stroke="black" points="905.37,-183.5 915.37,-180 905.37,-176.5 905.37,-183.5"/>
</g>
<!-- 11 -->
<!-- name: &quot;Block Raw Name ID&quot;, typeName: &quot;&quot;, id: 11, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node12" class="node">
<title>11</title>
<ellipse fill="none" stroke="black" cx="753.56" cy="-126" rx="89.74" ry="18"/>
<text text-anchor="middle" x="753.56" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Block Raw Name ID</text>
</g>
<!-- 10&#45;&gt;11 -->
<g id="edge11" class="edge">
<title>10&#45;&gt;11</title>
<path fill="none" stroke="black" d="M590.24,-126C609.9,-126 631.45,-126 652.25,-126"/>
<polygon fill="black" stroke="black" points="652.2,-129.5 662.2,-126 652.2,-122.5 652.2,-129.5"/>
</g>
<!-- 12 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 12, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node13" class="node">
<title>12</title>
<ellipse fill="none" stroke="black" cx="985.41" cy="-126" rx="31.9" ry="18"/>
<text text-anchor="middle" x="985.41" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 11&#45;&gt;12 -->
<g id="edge12" class="edge">
<title>11&#45;&gt;12</title>
<path fill="none" stroke="black" d="M843.76,-126C877.54,-126 914.46,-126 941.99,-126"/>
<polygon fill="black" stroke="black" points="941.67,-129.5 951.67,-126 941.67,-122.5 941.67,-129.5"/>
</g>
<!-- 14 -->
<!-- name: &quot;List Size&quot;, typeName: &quot;&quot;, id: 14, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node15" class="node">
<title>14</title>
<ellipse fill="none" stroke="black" cx="515.06" cy="-72" rx="43.67" ry="18"/>
<text text-anchor="middle" x="515.06" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">List Size</text>
</g>
<!-- 13&#45;&gt;14 -->
<g id="edge14" class="edge">
<title>13&#45;&gt;14</title>
<path fill="none" stroke="black" d="M399.94,-72C420.16,-72 441.19,-72 459.61,-72"/>
<polygon fill="black" stroke="black" points="459.49,-75.5 469.49,-72 459.49,-68.5 459.49,-75.5"/>
</g>
<!-- 16 -->
<!-- name: &quot;example element&quot;, typeName: &quot;&quot;, id: 16, branchId: 0, recurseId: &#45;1, attributes: 16, notes: &quot;&quot; -->
<g id="node17" class="node">
<title>16</title>
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="515.06" cy="-18" rx="74.89" ry="18"/>
<text text-anchor="middle" x="515.06" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">example element</text>
</g>
<!-- 13&#45;&gt;16 -->
<g id="edge16" class="edge">
<title>13&#45;&gt;16</title>
<path fill="none" stroke="black" d="M367.76,-57.67C393.99,-50.56 425.81,-41.93 453.07,-34.54"/>
<polygon fill="black" stroke="black" points="453.86,-37.95 462.59,-31.95 452.02,-31.19 453.86,-37.95"/>
</g>
<!-- 15 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 15, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node16" class="node">
<title>15</title>
<ellipse fill="none" stroke="black" cx="985.41" cy="-72" rx="68.24" ry="18"/>
<text text-anchor="middle" x="985.41" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 14&#45;&gt;15 -->
<g id="edge15" class="edge">
<title>14&#45;&gt;15</title>
<path fill="none" stroke="black" d="M558.86,-72C637.46,-72 805.88,-72 905.66,-72"/>
<polygon fill="black" stroke="black" points="905.37,-75.5 915.37,-72 905.37,-68.5 905.37,-75.5"/>
</g>
<!-- 17 -->
<!-- name: &quot;Block Raw Name ID&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="753.56" cy="-18" rx="89.74" ry="18"/>
<text text-anchor="middle" x="753.56" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">Block Raw Name ID</text>
</g>
<!-- 16&#45;&gt;17 -->
<g id="edge17" class="edge">
<title>16&#45;&gt;17</title>
<path fill="none" stroke="black" d="M590.24,-18C609.9,-18 631.45,-18 652.25,-18"/>
<polygon fill="black" stroke="black" points="652.2,-21.5 662.2,-18 652.2,-14.5 652.2,-21.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="985.41" cy="-18" rx="31.9" ry="18"/>
<text text-anchor="middle" x="985.41" 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="M843.76,-18C877.54,-18 914.46,-18 941.99,-18"/>
<polygon fill="black" stroke="black" points="941.67,-21.5 951.67,-18 941.67,-14.5 941.67,-21.5"/>
</g>
</g>
</svg>