1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-02-24 09:45:28 +00:00
bedrock-protocol-docs/html/svg/MovePlayerPacket.svg
Oswaldo Leyva Barrientos 933599d224 Protocol version 622 for r/20_u7
2024-02-15 15:10:22 -08:00

335 lines
18 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: MovePlayerPacket Pages: 1 -->
<svg width="1059pt" height="584pt"
viewBox="0.00 0.00 1059.30 584.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 580)">
<title>MovePlayerPacket</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-580 1055.3,-580 1055.3,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;MovePlayerPacket&quot;, typeName: &quot;&quot;, id: 0, branchId: 19, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="80.01" cy="-342" rx="80.01" ry="18"/>
<text text-anchor="middle" x="80.01" y="-336.57" font-family="Times New Roman,serif" font-size="14.00">MovePlayerPacket</text>
</g>
<!-- 1 -->
<!-- name: &quot;Player Runtime ID&quot;, typeName: &quot;ActorRuntimeID&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="578.27" cy="-549" rx="79.01" ry="18"/>
<text text-anchor="middle" x="578.27" y="-543.58" font-family="Times New Roman,serif" font-size="14.00">Player Runtime ID</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M87.69,-360.38C101.64,-395.84 137.53,-473.26 196.01,-508 288.53,-562.96 416.22,-564.86 497.78,-558.79"/>
<polygon fill="black" stroke="black" points="497.78,-562.31 507.46,-558.01 497.21,-555.33 497.78,-562.31"/>
</g>
<!-- 3 -->
<!-- name: &quot;Position&quot;, typeName: &quot;Vec3&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;&quot; -->
<g id="node4" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="778.77" cy="-500" rx="41.08" ry="18"/>
<text text-anchor="middle" x="778.77" y="-494.57" font-family="Times New Roman,serif" font-size="14.00">Position</text>
</g>
<!-- 0&#45;&gt;3 -->
<g id="edge3" class="edge">
<title>0&#45;&gt;3</title>
<path fill="none" stroke="black" d="M96.42,-359.99C116.73,-382.32 154.74,-419.58 196.01,-437 379.18,-514.32 622.29,-510.24 726.64,-504.03"/>
<polygon fill="black" stroke="black" points="726.81,-507.52 736.57,-503.4 726.37,-500.54 726.81,-507.52"/>
</g>
<!-- 5 -->
<!-- name: &quot;Rotation&quot;, typeName: &quot;Vec2&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;&quot; -->
<g id="node6" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" cx="578.27" cy="-443" rx="42.58" ry="18"/>
<text text-anchor="middle" x="578.27" y="-437.57" font-family="Times New Roman,serif" font-size="14.00">Rotation</text>
</g>
<!-- 0&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>0&#45;&gt;5</title>
<path fill="none" stroke="black" d="M106.21,-359.37C128.69,-373.91 163.05,-393.87 196.01,-404 309.05,-438.74 448.91,-444.04 523.86,-444.04"/>
<polygon fill="black" stroke="black" points="523.81,-447.54 533.8,-444 523.79,-440.54 523.81,-447.54"/>
</g>
<!-- 7 -->
<!-- name: &quot;Y&#45;Head Rotation&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="778.77" cy="-392" rx="74.02" ry="18"/>
<text text-anchor="middle" x="778.77" y="-386.57" font-family="Times New Roman,serif" font-size="14.00">Y&#45;Head Rotation</text>
</g>
<!-- 0&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>0&#45;&gt;7</title>
<path fill="none" stroke="black" d="M149.96,-351.07C165.11,-352.87 181.09,-354.63 196.01,-356 373.08,-372.24 581.16,-383.15 694.25,-388.39"/>
<polygon fill="black" stroke="black" points="693.9,-391.88 704.05,-388.84 694.22,-384.89 693.9,-391.88"/>
</g>
<!-- 9 -->
<!-- name: &quot;Position Mode&quot;, typeName: &quot;&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;enumeration: PlayerPositionModeComponent::PositionMode&quot; -->
<g id="node10" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="578.27" cy="-342" rx="65.53" ry="18"/>
<text text-anchor="middle" x="578.27" y="-336.57" font-family="Times New Roman,serif" font-size="14.00">Position Mode</text>
</g>
<!-- 0&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>0&#45;&gt;9</title>
<path fill="none" stroke="black" d="M160.46,-342C254.08,-342 408.51,-342 500.8,-342"/>
<polygon fill="black" stroke="black" points="500.78,-345.5 510.78,-342 500.78,-338.5 500.78,-345.5"/>
</g>
<!-- 11 -->
<!-- name: &quot;On Ground&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="329.64" cy="-294" rx="53.56" ry="18"/>
<text text-anchor="middle" x="329.64" y="-288.57" font-family="Times New Roman,serif" font-size="14.00">On Ground</text>
</g>
<!-- 0&#45;&gt;11 -->
<g id="edge11" class="edge">
<title>0&#45;&gt;11</title>
<path fill="none" stroke="black" d="M141.9,-330.2C181.39,-322.54 232.52,-312.63 271.29,-305.12"/>
<polygon fill="black" stroke="black" points="271.75,-308.59 280.9,-303.25 270.41,-301.72 271.75,-308.59"/>
</g>
<!-- 13 -->
<!-- name: &quot;Riding Runtime ID&quot;, typeName: &quot;ActorRuntimeID&quot;, id: 13, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;&quot; -->
<g id="node14" class="node">
<title>13</title>
<ellipse fill="none" stroke="black" cx="329.64" cy="-236" rx="80.5" ry="18"/>
<text text-anchor="middle" x="329.64" y="-230.57" font-family="Times New Roman,serif" font-size="14.00">Riding Runtime ID</text>
</g>
<!-- 0&#45;&gt;13 -->
<g id="edge13" class="edge">
<title>0&#45;&gt;13</title>
<path fill="none" stroke="black" d="M102.6,-324.59C124.78,-307.53 160.94,-281.98 196.01,-267 213.73,-259.43 233.61,-253.54 252.48,-249.02"/>
<polygon fill="black" stroke="black" points="253.01,-252.49 261.98,-246.86 251.45,-245.67 253.01,-252.49"/>
</g>
<!-- 15 -->
<!-- name: &quot;Dependency on &#39;Position Mode == Teleport&#39;&quot;, typeName: &quot;&quot;, id: 15, branchId: 0, recurseId: &#45;1, attributes: 2, notes: &quot;&quot; -->
<g id="node16" class="node">
<title>15</title>
<polygon fill="none" stroke="black" points="457.26,-198 196.01,-198 196.01,-162 463.26,-162 463.26,-192 457.26,-198"/>
<polyline fill="none" stroke="black" points="457.26,-198 457.26,-192"/>
<polyline fill="none" stroke="black" points="463.26,-192 457.26,-192"/>
<text text-anchor="middle" x="329.64" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">Dependency on &#39;Position Mode == Teleport&#39;</text>
</g>
<!-- 0&#45;&gt;15 -->
<g id="edge15" class="edge">
<title>0&#45;&gt;15</title>
<path fill="none" stroke="black" d="M91.15,-324.12C108.61,-295.08 147.21,-238.02 196.01,-209 199.62,-206.86 203.36,-204.87 207.21,-203.03"/>
<polygon fill="black" stroke="black" points="208.46,-206.3 216.22,-199.1 205.66,-199.89 208.46,-206.3"/>
</g>
<!-- 23 -->
<!-- name: &quot;Tick&quot;, typeName: &quot;&quot;, id: 23, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;Should be the tick we last processed from PlayerAuthInputPacket or 0 if we&#39;re not doing server authoritative movement&quot; -->
<g id="node24" class="node">
<title>23</title>
<ellipse fill="none" stroke="black" cx="329.64" cy="-72" rx="27.61" ry="18"/>
<text text-anchor="middle" x="329.64" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">Tick</text>
</g>
<!-- 0&#45;&gt;23 -->
<g id="edge23" class="edge">
<title>0&#45;&gt;23</title>
<path fill="none" stroke="black" d="M88.59,-323.67C104.26,-287.5 143.23,-205.87 196.01,-153 225.25,-123.71 267.07,-100.44 295.89,-86.49"/>
<polygon fill="black" stroke="black" points="297.33,-89.68 304.88,-82.25 294.35,-83.35 297.33,-89.68"/>
</g>
<!-- 2 -->
<!-- name: &quot;ActorRuntimeID&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="975.78" cy="-558" rx="72.52" ry="18"/>
<text text-anchor="middle" x="975.78" y="-552.58" font-family="Times New Roman,serif" font-size="14.00">ActorRuntimeID</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M656.94,-550.77C724.7,-552.31 822.75,-554.54 891.99,-556.12"/>
<polygon fill="black" stroke="black" points="891.69,-559.61 901.76,-556.34 891.85,-552.61 891.69,-559.61"/>
</g>
<!-- 4 -->
<!-- name: &quot;Vec3&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="975.78" cy="-504" rx="30.11" ry="18"/>
<text text-anchor="middle" x="975.78" y="-498.57" font-family="Times New Roman,serif" font-size="14.00">Vec3</text>
</g>
<!-- 3&#45;&gt;4 -->
<g id="edge4" class="edge">
<title>3&#45;&gt;4</title>
<path fill="none" stroke="black" d="M820.18,-500.83C853.51,-501.51 900.59,-502.48 934.02,-503.16"/>
<polygon fill="black" stroke="black" points="933.64,-506.66 943.71,-503.36 933.79,-499.66 933.64,-506.66"/>
</g>
<!-- 6 -->
<!-- name: &quot;Vec2&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="975.78" cy="-450" rx="30.11" ry="18"/>
<text text-anchor="middle" x="975.78" y="-444.57" font-family="Times New Roman,serif" font-size="14.00">Vec2</text>
</g>
<!-- 5&#45;&gt;6 -->
<g id="edge6" class="edge">
<title>5&#45;&gt;6</title>
<path fill="none" stroke="black" d="M621.22,-443.74C697.56,-445.09 858.24,-447.94 933.83,-449.28"/>
<polygon fill="black" stroke="black" points="933.63,-452.77 943.69,-449.45 933.75,-445.77 933.63,-452.77"/>
</g>
<!-- 8 -->
<!-- name: &quot;float&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="975.78" cy="-396" rx="27.11" ry="18"/>
<text text-anchor="middle" x="975.78" y="-390.57" font-family="Times New Roman,serif" font-size="14.00">float</text>
</g>
<!-- 7&#45;&gt;8 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;8</title>
<path fill="none" stroke="black" d="M852.94,-393.5C881.6,-394.09 913.26,-394.74 937.12,-395.23"/>
<polygon fill="black" stroke="black" points="936.91,-398.72 946.98,-395.43 937.06,-391.73 936.91,-398.72"/>
</g>
<!-- 10 -->
<!-- name: &quot;byte&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="975.78" cy="-342" rx="27" ry="18"/>
<text text-anchor="middle" x="975.78" y="-336.57" font-family="Times New Roman,serif" font-size="14.00">byte</text>
</g>
<!-- 9&#45;&gt;10 -->
<g id="edge10" class="edge">
<title>9&#45;&gt;10</title>
<path fill="none" stroke="black" d="M644.14,-342C727.66,-342 870.04,-342 937.38,-342"/>
<polygon fill="black" stroke="black" points="937.16,-345.5 947.16,-342 937.16,-338.5 937.16,-345.5"/>
</g>
<!-- 12 -->
<!-- name: &quot;bool&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="975.78" cy="-288" rx="27.61" ry="18"/>
<text text-anchor="middle" x="975.78" y="-282.57" font-family="Times New Roman,serif" font-size="14.00">bool</text>
</g>
<!-- 11&#45;&gt;12 -->
<g id="edge12" class="edge">
<title>11&#45;&gt;12</title>
<path fill="none" stroke="black" d="M383.62,-293.51C509.95,-292.33 826.49,-289.38 936.44,-288.36"/>
<polygon fill="black" stroke="black" points="936.43,-291.86 946.4,-288.26 936.36,-284.86 936.43,-291.86"/>
</g>
<!-- 14 -->
<!-- name: &quot;ActorRuntimeID&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="975.78" cy="-234" rx="72.52" ry="18"/>
<text text-anchor="middle" x="975.78" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">ActorRuntimeID</text>
</g>
<!-- 13&#45;&gt;14 -->
<g id="edge14" class="edge">
<title>13&#45;&gt;14</title>
<path fill="none" stroke="black" d="M410.59,-235.75C533.28,-235.37 766.82,-234.65 891.49,-234.26"/>
<polygon fill="black" stroke="black" points="891.34,-237.76 901.32,-234.23 891.31,-230.76 891.34,-237.76"/>
</g>
<!-- 16 -->
<!-- name: &quot;if (0)&quot;, typeName: &quot;&quot;, id: 16, branchId: 0, recurseId: &#45;1, attributes: 4, notes: &quot;&quot; -->
<g id="node17" class="node">
<title>16</title>
<polygon fill="none" stroke="black" points="778.77,-198 738.31,-180 778.77,-162 819.23,-180 778.77,-198"/>
<text text-anchor="middle" x="778.77" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">if (0)</text>
</g>
<!-- 15&#45;&gt;16 -->
<g id="edge16" class="edge">
<title>15&#45;&gt;16</title>
<path fill="none" stroke="black" d="M463.58,-180C551.55,-180 662.06,-180 725.83,-180"/>
<polygon fill="black" stroke="black" points="725.66,-183.5 735.66,-180 725.66,-176.5 725.66,-183.5"/>
</g>
<!-- 18 -->
<!-- name: &quot;if (1)&quot;, typeName: &quot;&quot;, id: 18, branchId: 1, recurseId: &#45;1, attributes: 4, notes: &quot;&quot; -->
<g id="node19" class="node">
<title>18</title>
<polygon fill="none" stroke="black" points="578.27,-144 537.81,-126 578.27,-108 618.73,-126 578.27,-144"/>
<text text-anchor="middle" x="578.27" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">if (1)</text>
</g>
<!-- 15&#45;&gt;18 -->
<g id="edge18" class="edge">
<title>15&#45;&gt;18</title>
<path fill="none" stroke="black" d="M414.82,-161.57C457.02,-152.33 506.03,-141.6 539.09,-134.36"/>
<polygon fill="black" stroke="black" points="539.58,-137.83 548.6,-132.28 538.08,-131 539.58,-137.83"/>
</g>
<!-- 17 -->
<!-- name: &quot;[No Data]&quot;, typeName: &quot;&quot;, id: 17, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node18" class="node">
<title>17</title>
<ellipse fill="none" stroke="black" cx="975.78" cy="-180" rx="47.57" ry="18"/>
<text text-anchor="middle" x="975.78" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">[No Data]</text>
</g>
<!-- 16&#45;&gt;17 -->
<g id="edge17" class="edge">
<title>16&#45;&gt;17</title>
<path fill="none" stroke="black" d="M820.18,-180C848.1,-180 885.66,-180 916.77,-180"/>
<polygon fill="black" stroke="black" points="916.4,-183.5 926.4,-180 916.4,-176.5 916.4,-183.5"/>
</g>
<!-- 19 -->
<!-- name: &quot;Teleportation Cause&quot;, typeName: &quot;&quot;, id: 19, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node20" class="node">
<title>19</title>
<ellipse fill="none" stroke="black" cx="778.77" cy="-126" rx="85.49" ry="18"/>
<text text-anchor="middle" x="778.77" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Teleportation Cause</text>
</g>
<!-- 18&#45;&gt;19 -->
<g id="edge19" class="edge">
<title>18&#45;&gt;19</title>
<path fill="none" stroke="black" d="M619.92,-126C637.88,-126 659.84,-126 681.6,-126"/>
<polygon fill="black" stroke="black" points="681.42,-129.5 691.42,-126 681.42,-122.5 681.42,-129.5"/>
</g>
<!-- 21 -->
<!-- name: &quot;Source Actor Type&quot;, typeName: &quot;&quot;, id: 21, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node22" class="node">
<title>21</title>
<ellipse fill="none" stroke="black" cx="778.77" cy="-72" rx="83" ry="18"/>
<text text-anchor="middle" x="778.77" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">Source Actor Type</text>
</g>
<!-- 18&#45;&gt;21 -->
<g id="edge21" class="edge">
<title>18&#45;&gt;21</title>
<path fill="none" stroke="black" d="M604.41,-119.16C632.04,-111.64 677.48,-99.28 714.9,-89.1"/>
<polygon fill="black" stroke="black" points="715.53,-92.56 724.26,-86.56 713.7,-85.8 715.53,-92.56"/>
</g>
<!-- 20 -->
<!-- name: &quot;int&quot;, typeName: &quot;&quot;, id: 20, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node21" class="node">
<title>20</title>
<ellipse fill="none" stroke="black" cx="975.78" cy="-126" rx="27" ry="18"/>
<text text-anchor="middle" x="975.78" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">int</text>
</g>
<!-- 19&#45;&gt;20 -->
<g id="edge20" class="edge">
<title>19&#45;&gt;20</title>
<path fill="none" stroke="black" d="M864.74,-126C889.96,-126 916.33,-126 936.92,-126"/>
<polygon fill="black" stroke="black" points="936.82,-129.5 946.82,-126 936.82,-122.5 936.82,-129.5"/>
</g>
<!-- 22 -->
<!-- name: &quot;int&quot;, typeName: &quot;&quot;, id: 22, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node23" class="node">
<title>22</title>
<ellipse fill="none" stroke="black" cx="975.78" cy="-72" rx="27" ry="18"/>
<text text-anchor="middle" x="975.78" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">int</text>
</g>
<!-- 21&#45;&gt;22 -->
<g id="edge22" class="edge">
<title>21&#45;&gt;22</title>
<path fill="none" stroke="black" d="M862.19,-72C888.21,-72 915.69,-72 936.99,-72"/>
<polygon fill="black" stroke="black" points="936.94,-75.5 946.94,-72 936.94,-68.5 936.94,-75.5"/>
</g>
<!-- 24 -->
<!-- name: &quot;unsigned varint64&quot;, typeName: &quot;&quot;, id: 24, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node25" class="node">
<title>24</title>
<ellipse fill="none" stroke="black" cx="975.78" cy="-18" rx="75.51" ry="18"/>
<text text-anchor="middle" x="975.78" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint64</text>
</g>
<!-- 23&#45;&gt;24 -->
<g id="edge24" class="edge">
<title>23&#45;&gt;24</title>
<path fill="none" stroke="black" d="M357.49,-69.75C448.4,-62.13 746.99,-37.1 892.97,-24.86"/>
<polygon fill="black" stroke="black" points="892.88,-28.38 902.55,-24.06 892.29,-21.4 892.88,-28.38"/>
</g>
</g>
</svg>