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/ItemInstanceUserData.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: ItemInstanceUserData Pages: 1 -->
<svg width="1048pt" height="368pt"
viewBox="0.00 0.00 1047.86 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 1043.86,-364 1043.86,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="92.48" cy="-234" rx="92.48" ry="18"/>
<text text-anchor="middle" x="92.48" y="-228.57" 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="742.89" cy="-341" rx="123.42" ry="18"/>
<text text-anchor="middle" x="742.89" y="-335.57" 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="M129.78,-250.82C154.86,-261.72 189.29,-275.28 220.96,-283 351.69,-314.84 505.19,-329.25 611.54,-335.74"/>
<polygon fill="black" stroke="black" points="611.28,-339.23 621.47,-336.33 611.69,-332.24 611.28,-339.23"/>
</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="742.89" cy="-286" rx="125.91" ry="18"/>
<text text-anchor="middle" x="742.89" y="-280.57" 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="M151.21,-248.28C172.94,-253.11 197.96,-258.03 220.96,-261 350.71,-277.74 499.93,-283.55 605.32,-285.43"/>
<polygon fill="black" stroke="black" points="605.09,-288.93 615.15,-285.6 605.21,-281.93 605.09,-288.93"/>
</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="311.45" cy="-234" rx="74.52" ry="18"/>
<text text-anchor="middle" x="311.45" y="-228.57" 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="M185.18,-234C198.42,-234 212,-234 225.11,-234"/>
<polygon fill="black" stroke="black" points="224.97,-237.5 234.97,-234 224.97,-230.5 224.97,-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="311.45" cy="-180" rx="90.48" ry="18"/>
<text text-anchor="middle" x="311.45" y="-174.57" 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="M151.05,-219.67C179.11,-212.69 213.03,-204.24 242.36,-196.95"/>
<polygon fill="black" stroke="black" points="243.03,-200.39 251.89,-194.57 241.34,-193.59 243.03,-200.39"/>
</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="311.45" cy="-72" rx="85.99" ry="18"/>
<text text-anchor="middle" x="311.45" y="-66.58" 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="M117.11,-216.35C155.99,-187.32 233.54,-129.42 277.69,-96.46"/>
<polygon fill="black" stroke="black" points="279.71,-99.32 285.63,-90.53 275.52,-93.71 279.71,-99.32"/>
</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="972.33" cy="-342" rx="29.61" ry="18"/>
<text text-anchor="middle" x="972.33" y="-336.57" 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="M866.6,-341.54C889.83,-341.64 912.57,-341.74 930.88,-341.82"/>
<polygon fill="black" stroke="black" points="930.71,-345.32 940.73,-341.87 930.74,-338.32 930.71,-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="972.33" cy="-288" rx="27" ry="18"/>
<text text-anchor="middle" x="972.33" y="-282.57" 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="M868.92,-287.1C892.52,-287.31 915.46,-287.51 933.63,-287.67"/>
<polygon fill="black" stroke="black" points="933.57,-291.17 943.6,-287.76 933.63,-284.17 933.57,-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="972.33" cy="-234" rx="67.53" ry="18"/>
<text text-anchor="middle" x="972.33" y="-228.57" 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="M386.43,-234C511.9,-234 765.26,-234 893.38,-234"/>
<polygon fill="black" stroke="black" points="893.12,-237.5 903.12,-234 893.12,-230.5 893.12,-237.5"/>
</g>
<!-- 8 -->
<!-- name: &quot;Array 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="509.45" cy="-180" rx="49.57" ry="18"/>
<text text-anchor="middle" x="509.45" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
</g>
<!-- 7&#45;&gt;8 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;8</title>
<path fill="none" stroke="black" d="M402.42,-180C417.9,-180 433.66,-180 448.12,-180"/>
<polygon fill="black" stroke="black" points="447.9,-183.5 457.9,-180 447.9,-176.5 447.9,-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="509.45" cy="-126" rx="71.52" ry="18"/>
<text text-anchor="middle" x="509.45" y="-120.58" 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="M366.01,-165.24C391.69,-158.17 422.55,-149.67 448.96,-142.39"/>
<polygon fill="black" stroke="black" points="449.82,-145.79 458.53,-139.75 447.96,-139.04 449.82,-145.79"/>
</g>
<!-- 9 -->
<!-- name: &quot;unsigned int&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="972.33" cy="-180" rx="55.06" ry="18"/>
<text text-anchor="middle" x="972.33" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">unsigned int</text>
</g>
<!-- 8&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>8&#45;&gt;9</title>
<path fill="none" stroke="black" d="M559.34,-180C642.62,-180 812.07,-180 905.63,-180"/>
<polygon fill="black" stroke="black" points="905.41,-183.5 915.41,-180 905.41,-176.5 905.41,-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="742.89" cy="-126" rx="87.99" ry="18"/>
<text text-anchor="middle" x="742.89" y="-120.58" 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="M581.46,-126C600.97,-126 622.48,-126 643.24,-126"/>
<polygon fill="black" stroke="black" points="643.17,-129.5 653.17,-126 643.17,-122.5 643.17,-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="972.33" cy="-126" rx="31.1" ry="18"/>
<text text-anchor="middle" x="972.33" y="-120.58" 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="M831.17,-126C865.05,-126 902.23,-126 929.78,-126"/>
<polygon fill="black" stroke="black" points="929.45,-129.5 939.45,-126 929.45,-122.5 929.45,-129.5"/>
</g>
<!-- 14 -->
<!-- name: &quot;Array 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="509.45" cy="-72" rx="49.57" ry="18"/>
<text text-anchor="middle" x="509.45" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
</g>
<!-- 13&#45;&gt;14 -->
<g id="edge14" class="edge">
<title>13&#45;&gt;14</title>
<path fill="none" stroke="black" d="M397.85,-72C414.87,-72 432.4,-72 448.35,-72"/>
<polygon fill="black" stroke="black" points="448.14,-75.5 458.14,-72 448.14,-68.5 448.14,-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="509.45" cy="-18" rx="71.52" ry="18"/>
<text text-anchor="middle" x="509.45" y="-12.57" 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="M364.97,-57.53C390.89,-50.39 422.25,-41.75 449.04,-34.37"/>
<polygon fill="black" stroke="black" points="449.65,-37.83 458.36,-31.8 447.79,-31.08 449.65,-37.83"/>
</g>
<!-- 15 -->
<!-- name: &quot;unsigned int&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="972.33" cy="-72" rx="55.06" ry="18"/>
<text text-anchor="middle" x="972.33" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">unsigned int</text>
</g>
<!-- 14&#45;&gt;15 -->
<g id="edge15" class="edge">
<title>14&#45;&gt;15</title>
<path fill="none" stroke="black" d="M559.34,-72C642.62,-72 812.07,-72 905.63,-72"/>
<polygon fill="black" stroke="black" points="905.41,-75.5 915.41,-72 905.41,-68.5 905.41,-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="742.89" cy="-18" rx="87.99" ry="18"/>
<text text-anchor="middle" x="742.89" y="-12.57" 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="M581.46,-18C600.97,-18 622.48,-18 643.24,-18"/>
<polygon fill="black" stroke="black" points="643.17,-21.5 653.17,-18 643.17,-14.5 643.17,-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="972.33" cy="-18" rx="31.1" ry="18"/>
<text text-anchor="middle" x="972.33" 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="M831.17,-18C865.05,-18 902.23,-18 929.78,-18"/>
<polygon fill="black" stroke="black" points="929.45,-21.5 939.45,-18 929.45,-14.5 929.45,-21.5"/>
</g>
</g>
</svg>