1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-07-16 17:35:15 +00:00
Files
bedrock-protocol-docs/html/svg/PlayerEnchantOptionsPacket.svg
2024-06-14 10:31:51 -07:00

177 lines
9.2 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: PlayerEnchantOptionsPacket Pages: 1 -->
<svg width="1206pt" height="260pt"
viewBox="0.00 0.00 1205.55 260.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 256)">
<title>PlayerEnchantOptionsPacket</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-256 1201.55,-256 1201.55,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;PlayerEnchantOptionsPacket&quot;, typeName: &quot;&quot;, id: 0, branchId: 146, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="118.43" cy="-153" rx="118.43" ry="18"/>
<text text-anchor="middle" x="118.43" y="-147.57" font-family="Times New Roman,serif" font-size="14.00">PlayerEnchantOptionsPacket</text>
</g>
<!-- 1 -->
<!-- name: &quot;Options&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="313.44" cy="-153" rx="40.58" ry="18"/>
<text text-anchor="middle" x="313.44" y="-147.57" font-family="Times New Roman,serif" font-size="14.00">Options</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M237.26,-153C245.51,-153 253.53,-153 261.08,-153"/>
<polygon fill="black" stroke="black" points="260.99,-156.5 270.99,-153 260.99,-149.5 260.99,-156.5"/>
</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="461.55" cy="-207" rx="49.57" ry="18"/>
<text text-anchor="middle" x="461.55" y="-201.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="M345.43,-164.45C365.66,-171.93 392.41,-181.82 415.04,-190.18"/>
<polygon fill="black" stroke="black" points="413.75,-193.44 424.35,-193.62 416.18,-186.87 413.75,-193.44"/>
</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="461.55" cy="-126" rx="71.52" ry="18"/>
<text text-anchor="middle" x="461.55" y="-120.58" 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="M351.31,-146.19C363.65,-143.91 377.83,-141.29 391.81,-138.7"/>
<polygon fill="black" stroke="black" points="392.24,-142.18 401.44,-136.92 390.97,-135.3 392.24,-142.18"/>
</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="967.84" cy="-234" rx="66.53" ry="18"/>
<text text-anchor="middle" x="967.84" y="-228.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="M510.9,-209.59C598.82,-214.3 785.47,-224.29 890.66,-229.92"/>
<polygon fill="black" stroke="black" points="890.45,-233.41 900.62,-230.45 890.82,-226.42 890.45,-233.41"/>
</g>
<!-- 5 -->
<!-- name: &quot;Cost&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="635.6" cy="-180" rx="28.61" ry="18"/>
<text text-anchor="middle" x="635.6" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">Cost</text>
</g>
<!-- 4&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>4&#45;&gt;5</title>
<path fill="none" stroke="black" d="M507.75,-140.19C536.16,-149.1 572.28,-160.44 598.71,-168.74"/>
<polygon fill="black" stroke="black" points="597.36,-171.98 607.95,-171.64 599.46,-165.3 597.36,-171.98"/>
</g>
<!-- 7 -->
<!-- name: &quot;Enchants&quot;, typeName: &quot;ItemEnchants&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;&quot; -->
<g id="node8" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="635.6" cy="-126" rx="44.58" ry="18"/>
<text text-anchor="middle" x="635.6" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Enchants</text>
</g>
<!-- 4&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>4&#45;&gt;7</title>
<path fill="none" stroke="black" d="M533.52,-126C548.86,-126 564.86,-126 579.48,-126"/>
<polygon fill="black" stroke="black" points="579.36,-129.5 589.36,-126 579.36,-122.5 579.36,-129.5"/>
</g>
<!-- 36 -->
<!-- name: &quot;Enchant Name&quot;, typeName: &quot;&quot;, id: 36, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node10" class="node">
<title>36</title>
<ellipse fill="none" stroke="black" cx="635.6" cy="-72" rx="64.54" ry="18"/>
<text text-anchor="middle" x="635.6" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">Enchant Name</text>
</g>
<!-- 4&#45;&gt;36 -->
<g id="edge9" class="edge">
<title>4&#45;&gt;36</title>
<path fill="none" stroke="black" d="M507.75,-111.81C530.1,-104.8 557.23,-96.28 580.66,-88.93"/>
<polygon fill="black" stroke="black" points="581.54,-92.32 590.04,-85.99 579.45,-85.64 581.54,-92.32"/>
</g>
<!-- 38 -->
<!-- name: &quot;Enchant Net Id&quot;, typeName: &quot;TypedServerNetId&lt;struct RecipeNetIdTag,unsigned int,0&gt;&quot;, id: 38, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;&quot; -->
<g id="node12" class="node">
<title>38</title>
<ellipse fill="none" stroke="black" cx="635.6" cy="-18" rx="66.53" ry="18"/>
<text text-anchor="middle" x="635.6" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">Enchant Net Id</text>
</g>
<!-- 4&#45;&gt;38 -->
<g id="edge11" class="edge">
<title>4&#45;&gt;38</title>
<path fill="none" stroke="black" d="M482.26,-108.5C502.85,-90.84 536.62,-63.6 569.07,-45 573.95,-42.2 579.18,-39.54 584.47,-37.06"/>
<polygon fill="black" stroke="black" points="585.57,-40.41 593.28,-33.14 582.72,-34.01 585.57,-40.41"/>
</g>
<!-- 6 -->
<!-- name: &quot;unsigned varint&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="967.84" cy="-180" rx="66.53" ry="18"/>
<text text-anchor="middle" x="967.84" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 5&#45;&gt;6 -->
<g id="edge6" class="edge">
<title>5&#45;&gt;6</title>
<path fill="none" stroke="black" d="M664.48,-180C713.7,-180 817.64,-180 889.83,-180"/>
<polygon fill="black" stroke="black" points="889.61,-183.5 899.61,-180 889.61,-176.5 889.61,-183.5"/>
</g>
<!-- 35 -->
<!-- name: &quot;ItemEnchants&quot;, typeName: &quot;&quot;, id: 35, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node9" class="node">
<title>35</title>
<ellipse fill="none" stroke="black" cx="967.84" cy="-126" rx="61.04" ry="18"/>
<text text-anchor="middle" x="967.84" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">ItemEnchants</text>
</g>
<!-- 7&#45;&gt;35 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;35</title>
<path fill="none" stroke="black" d="M680.46,-126C735.24,-126 829.72,-126 895.1,-126"/>
<polygon fill="black" stroke="black" points="895.04,-129.5 905.04,-126 895.04,-122.5 895.04,-129.5"/>
</g>
<!-- 37 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 37, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node11" class="node">
<title>37</title>
<ellipse fill="none" stroke="black" cx="967.84" cy="-72" rx="31.1" ry="18"/>
<text text-anchor="middle" x="967.84" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 36&#45;&gt;37 -->
<g id="edge10" class="edge">
<title>36&#45;&gt;37</title>
<path fill="none" stroke="black" d="M700.28,-72C766.6,-72 868.56,-72 925.23,-72"/>
<polygon fill="black" stroke="black" points="925.09,-75.5 935.09,-72 925.09,-68.5 925.09,-75.5"/>
</g>
<!-- 39 -->
<!-- name: &quot;TypedServerNetId&lt;struct RecipeNetIdTag,unsigned int,0&gt;&quot;, typeName: &quot;&quot;, id: 39, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node13" class="node">
<title>39</title>
<ellipse fill="none" stroke="black" cx="967.84" cy="-18" rx="229.7" ry="18"/>
<text text-anchor="middle" x="967.84" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">TypedServerNetId&lt;struct RecipeNetIdTag,unsigned int,0&gt;</text>
</g>
<!-- 38&#45;&gt;39 -->
<g id="edge12" class="edge">
<title>38&#45;&gt;39</title>
<path fill="none" stroke="black" d="M702.24,-18C709.89,-18 718,-18 726.44,-18"/>
<polygon fill="black" stroke="black" points="726.2,-21.5 736.2,-18 726.2,-14.5 726.2,-21.5"/>
</g>
</g>
</svg>