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

177 lines
9.4 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: NpcDialoguePacket Pages: 1 -->
<svg width="601pt" height="314pt"
viewBox="0.00 0.00 601.02 314.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 310)">
<title>NpcDialoguePacket</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-310 597.02,-310 597.02,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;NpcDialoguePacket&quot;, typeName: &quot;&quot;, id: 0, branchId: 169, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="84.62" cy="-153" rx="84.62" ry="18"/>
<text text-anchor="middle" x="84.62" y="-147.95" font-family="Times New Roman,serif" font-size="14.00">NpcDialoguePacket</text>
</g>
<!-- 1 -->
<!-- name: &quot;Npc Id Raw Id&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The ActorUniqueID of the NPC being remote fired&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="315.45" cy="-288" rx="66.19" ry="18"/>
<text text-anchor="middle" x="315.45" y="-282.95" font-family="Times New Roman,serif" font-size="14.00">Npc Id Raw Id</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M100.27,-170.87C121.06,-195.03 161.5,-237.76 205.24,-261 217.69,-267.62 231.81,-272.65 245.65,-276.46"/>
<polygon fill="black" stroke="black" points="244.65,-279.82 255.2,-278.9 246.38,-273.03 244.65,-279.82"/>
</g>
<!-- 3 -->
<!-- name: &quot;Npc Dialogue Action Type&quot;, typeName: &quot;&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node4" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="315.45" cy="-234" rx="110.21" ry="18"/>
<text text-anchor="middle" x="315.45" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">Npc Dialogue Action Type</text>
</g>
<!-- 0&#45;&gt;3 -->
<g id="edge3" class="edge">
<title>0&#45;&gt;3</title>
<path fill="none" stroke="black" d="M118.73,-169.91C142.38,-181.5 175.2,-196.6 205.24,-207 215.24,-210.46 225.9,-213.67 236.49,-216.57"/>
<polygon fill="black" stroke="black" points="235.44,-219.91 246.01,-219.1 237.24,-213.15 235.44,-219.91"/>
</g>
<!-- 5 -->
<!-- name: &quot;Dialogue&quot;, typeName: &quot;&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The text to be displayed to the client&quot; -->
<g id="node6" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" cx="315.45" cy="-180" rx="44.7" ry="18"/>
<text text-anchor="middle" x="315.45" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">Dialogue</text>
</g>
<!-- 0&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>0&#45;&gt;5</title>
<path fill="none" stroke="black" d="M159.6,-161.73C192.6,-165.62 230.74,-170.12 260.92,-173.68"/>
<polygon fill="black" stroke="black" points="260.22,-177.13 270.56,-174.82 261.04,-170.17 260.22,-177.13"/>
</g>
<!-- 7 -->
<!-- name: &quot;Scene Name&quot;, typeName: &quot;&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The scene the data has been pulled from for the client to reference&quot; -->
<g id="node8" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="315.45" cy="-126" rx="58" ry="18"/>
<text text-anchor="middle" x="315.45" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Scene Name</text>
</g>
<!-- 0&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>0&#45;&gt;7</title>
<path fill="none" stroke="black" d="M159.6,-144.27C188.52,-140.86 221.39,-136.98 249.39,-133.68"/>
<polygon fill="black" stroke="black" points="249.64,-137.17 259.16,-132.52 248.82,-130.22 249.64,-137.17"/>
</g>
<!-- 9 -->
<!-- name: &quot;Npc Name&quot;, typeName: &quot;&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The name of the NPC to be displayed to the client&quot; -->
<g id="node10" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="315.45" cy="-72" rx="51.35" ry="18"/>
<text text-anchor="middle" x="315.45" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">Npc Name</text>
</g>
<!-- 0&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>0&#45;&gt;9</title>
<path fill="none" stroke="black" d="M118.73,-136.09C142.38,-124.5 175.2,-109.4 205.24,-99 222.5,-93.03 241.72,-87.81 259.17,-83.6"/>
<polygon fill="black" stroke="black" points="259.93,-87.02 268.87,-81.33 258.33,-80.21 259.93,-87.02"/>
</g>
<!-- 11 -->
<!-- name: &quot;Action JSON&quot;, typeName: &quot;&quot;, id: 11, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The JSON string of the buttons/actions the server can perform. The server is still authoritative on what actions can be performed&quot; -->
<g id="node12" class="node">
<title>11</title>
<ellipse fill="none" stroke="black" cx="315.45" cy="-18" rx="60.56" ry="18"/>
<text text-anchor="middle" x="315.45" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">Action JSON</text>
</g>
<!-- 0&#45;&gt;11 -->
<g id="edge11" class="edge">
<title>0&#45;&gt;11</title>
<path fill="none" stroke="black" d="M100.27,-135.13C121.06,-110.97 161.5,-68.24 205.24,-45 218.84,-37.77 234.42,-32.44 249.48,-28.51"/>
<polygon fill="black" stroke="black" points="249.94,-32 258.84,-26.25 248.3,-25.2 249.94,-32"/>
</g>
<!-- 2 -->
<!-- name: &quot;unsigned int64&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="527.34" cy="-288" rx="65.68" ry="18"/>
<text text-anchor="middle" x="527.34" y="-282.95" font-family="Times New Roman,serif" font-size="14.00">unsigned int64</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M381.99,-288C403.5,-288 427.6,-288 449.85,-288"/>
<polygon fill="black" stroke="black" points="449.77,-291.5 459.77,-288 449.77,-284.5 449.77,-291.5"/>
</g>
<!-- 4 -->
<!-- name: &quot;varint&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="527.34" cy="-234" rx="32.41" ry="18"/>
<text text-anchor="middle" x="527.34" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">varint</text>
</g>
<!-- 3&#45;&gt;4 -->
<g id="edge4" class="edge">
<title>3&#45;&gt;4</title>
<path fill="none" stroke="black" d="M426,-234C446.52,-234 466.79,-234 483.69,-234"/>
<polygon fill="black" stroke="black" points="483.3,-237.5 493.3,-234 483.3,-230.5 483.3,-237.5"/>
</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="527.34" cy="-180" rx="31.9" ry="18"/>
<text text-anchor="middle" x="527.34" y="-174.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="M360.45,-180C396.78,-180 448.04,-180 483.93,-180"/>
<polygon fill="black" stroke="black" points="483.49,-183.5 493.49,-180 483.49,-176.5 483.49,-183.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="527.34" cy="-126" rx="31.9" ry="18"/>
<text text-anchor="middle" x="527.34" y="-120.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="M373.8,-126C408.46,-126 451.9,-126 483.55,-126"/>
<polygon fill="black" stroke="black" points="483.54,-129.5 493.54,-126 483.54,-122.5 483.54,-129.5"/>
</g>
<!-- 10 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 10, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node11" class="node">
<title>10</title>
<ellipse fill="none" stroke="black" cx="527.34" cy="-72" rx="31.9" ry="18"/>
<text text-anchor="middle" x="527.34" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 9&#45;&gt;10 -->
<g id="edge10" class="edge">
<title>9&#45;&gt;10</title>
<path fill="none" stroke="black" d="M367.26,-72C402.96,-72 450.18,-72 483.88,-72"/>
<polygon fill="black" stroke="black" points="483.68,-75.5 493.68,-72 483.68,-68.5 483.68,-75.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="527.34" cy="-18" rx="31.9" ry="18"/>
<text text-anchor="middle" x="527.34" y="-12.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="M376.31,-18C410.69,-18 453.05,-18 483.97,-18"/>
<polygon fill="black" stroke="black" points="483.71,-21.5 493.71,-18 483.71,-14.5 483.71,-21.5"/>
</g>
</g>
</svg>