1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-08-05 00:10:44 +00:00
Files
bedrock-protocol-docs/html/svg/CorrectPlayerMovePredictionPacket.svg
Oswaldo Leyva Barrientos 11ff951378 Protocol version 671 for r/20_u8
2024-04-25 11:47:36 -07:00

151 lines
7.8 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 10.0.1 (20240210.2158)
-->
<!-- Title: CorrectPlayerMovePredictionPacket Pages: 1 -->
<svg width="660pt" height="260pt"
viewBox="0.00 0.00 659.83 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>CorrectPlayerMovePredictionPacket</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-256 655.83,-256 655.83,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;CorrectPlayerMovePredictionPacket&quot;, typeName: &quot;&quot;, id: 0, branchId: 161, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="146.37" cy="-126" rx="146.37" ry="18"/>
<text text-anchor="middle" x="146.37" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">CorrectPlayerMovePredictionPacket</text>
</g>
<!-- 1 -->
<!-- name: &quot;PredictionType&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;Vehicle or Player Prediction&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="396.77" cy="-234" rx="68.03" ry="18"/>
<text text-anchor="middle" x="396.77" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">PredictionType</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M186.11,-143.8C222.71,-160.5 279.22,-185.98 328.74,-207 334.74,-209.54 341.05,-212.17 347.32,-214.73"/>
<polygon fill="black" stroke="black" points="345.76,-217.87 356.34,-218.4 348.39,-211.39 345.76,-217.87"/>
</g>
<!-- 3 -->
<!-- name: &quot;Pos&quot;, typeName: &quot;Vec3&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;Corrected position&quot; -->
<g id="node4" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="396.77" cy="-180" rx="27" ry="18"/>
<text text-anchor="middle" x="396.77" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">Pos</text>
</g>
<!-- 0&#45;&gt;3 -->
<g id="edge3" class="edge">
<title>0&#45;&gt;3</title>
<path fill="none" stroke="black" d="M220.56,-141.91C266.4,-151.88 323.47,-164.28 359.77,-172.17"/>
<polygon fill="black" stroke="black" points="358.79,-175.54 369.3,-174.25 360.28,-168.7 358.79,-175.54"/>
</g>
<!-- 5 -->
<!-- name: &quot;Pos Delta&quot;, typeName: &quot;Vec3&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 256, notes: &quot;Corrected velocity&quot; -->
<g id="node6" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" cx="396.77" cy="-126" rx="46.57" ry="18"/>
<text text-anchor="middle" x="396.77" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Pos Delta</text>
</g>
<!-- 0&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>0&#45;&gt;5</title>
<path fill="none" stroke="black" d="M292.95,-126C308.99,-126 324.55,-126 338.5,-126"/>
<polygon fill="black" stroke="black" points="338.31,-129.5 348.31,-126 338.31,-122.5 338.31,-129.5"/>
</g>
<!-- 7 -->
<!-- name: &quot;On Ground&quot;, typeName: &quot;&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;Is on ground&quot; -->
<g id="node8" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="396.77" cy="-72" rx="53.56" ry="18"/>
<text text-anchor="middle" x="396.77" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">On Ground</text>
</g>
<!-- 0&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>0&#45;&gt;7</title>
<path fill="none" stroke="black" d="M220.56,-110.09C258.78,-101.78 304.81,-91.78 340.09,-84.1"/>
<polygon fill="black" stroke="black" points="340.64,-87.57 349.67,-82.02 339.16,-80.73 340.64,-87.57"/>
</g>
<!-- 9 -->
<!-- name: &quot;Tick&quot;, typeName: &quot;&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;Which frame we&#39;re correcting; should match the tick in the Player Auth Input packet&quot; -->
<g id="node10" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="396.77" cy="-18" rx="27.61" ry="18"/>
<text text-anchor="middle" x="396.77" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">Tick</text>
</g>
<!-- 0&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>0&#45;&gt;9</title>
<path fill="none" stroke="black" d="M186.11,-108.2C222.71,-91.5 279.22,-66.02 328.74,-45 339.46,-40.45 351.21,-35.65 361.84,-31.39"/>
<polygon fill="black" stroke="black" points="363.03,-34.68 371.02,-27.72 360.43,-28.18 363.03,-34.68"/>
</g>
<!-- 2 -->
<!-- name: &quot;byte&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="576.32" cy="-234" rx="27" ry="18"/>
<text text-anchor="middle" x="576.32" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">byte</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M465.15,-234C489.7,-234 516.57,-234 537.63,-234"/>
<polygon fill="black" stroke="black" points="537.48,-237.5 547.48,-234 537.48,-230.5 537.48,-237.5"/>
</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="576.32" cy="-180" rx="30.11" ry="18"/>
<text text-anchor="middle" x="576.32" y="-174.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="M423.97,-180C453.05,-180 500.35,-180 534.34,-180"/>
<polygon fill="black" stroke="black" points="534.24,-183.5 544.24,-180 534.24,-176.5 534.24,-183.5"/>
</g>
<!-- 6 -->
<!-- name: &quot;Vec3&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="576.32" cy="-126" rx="30.11" ry="18"/>
<text text-anchor="middle" x="576.32" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Vec3</text>
</g>
<!-- 5&#45;&gt;6 -->
<g id="edge6" class="edge">
<title>5&#45;&gt;6</title>
<path fill="none" stroke="black" d="M443.5,-126C471.6,-126 507.3,-126 534.45,-126"/>
<polygon fill="black" stroke="black" points="534.38,-129.5 544.38,-126 534.38,-122.5 534.38,-129.5"/>
</g>
<!-- 8 -->
<!-- name: &quot;bool&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="576.32" cy="-72" rx="27.61" ry="18"/>
<text text-anchor="middle" x="576.32" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">bool</text>
</g>
<!-- 7&#45;&gt;8 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;8</title>
<path fill="none" stroke="black" d="M450.56,-72C478.45,-72 512.03,-72 537.33,-72"/>
<polygon fill="black" stroke="black" points="537.16,-75.5 547.16,-72 537.16,-68.5 537.16,-75.5"/>
</g>
<!-- 10 -->
<!-- name: &quot;unsigned varint64&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="576.32" cy="-18" rx="75.51" ry="18"/>
<text text-anchor="middle" x="576.32" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint64</text>
</g>
<!-- 9&#45;&gt;10 -->
<g id="edge10" class="edge">
<title>9&#45;&gt;10</title>
<path fill="none" stroke="black" d="M424.74,-18C442.08,-18 465.66,-18 489.02,-18"/>
<polygon fill="black" stroke="black" points="488.93,-21.5 498.93,-18 488.93,-14.5 488.93,-21.5"/>
</g>
</g>
</svg>