mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-09-18 14:49:21 +00:00
177 lines
9.4 KiB
XML
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 13.1.0 (20250701.0955)
|
|
-->
|
|
<!-- Title: MotionPredictionHintsPacket Pages: 1 -->
|
|
<svg width="788pt" height="260pt"
|
|
viewBox="0.00 0.00 788.00 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>MotionPredictionHintsPacket</title>
|
|
<polygon fill="white" stroke="none" points="-4,4 -4,-256 783.83,-256 783.83,4 -4,4"/>
|
|
<!-- 0 -->
|
|
<!-- name: "MotionPredictionHintsPacket", typeName: "", id: 0, branchId: 0, recurseId: -1, attributes: 0, notes: "It is essentially a SetActionMotionPacket with a bool indicating if the actor was on the ground at the time the packet is sent or not." -->
|
|
<g id="node1" class="node">
|
|
<title>0</title>
|
|
<ellipse fill="none" stroke="black" cx="120.96" cy="-126" rx="120.96" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="120.96" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">MotionPredictionHintsPacket</text>
|
|
</g>
|
|
<!-- 1 -->
|
|
<!-- name: "mRuntimeId", typeName: "", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: "Id of moving actor" -->
|
|
<g id="node2" class="node">
|
|
<title>1</title>
|
|
<ellipse fill="none" stroke="black" cx="336.43" cy="-207" rx="58.52" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="336.43" y="-201.95" font-family="Times New Roman,serif" font-size="14.00">mRuntimeId</text>
|
|
</g>
|
|
<!-- 0->1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>0->1</title>
|
|
<path fill="none" stroke="black" d="M166.97,-143.08C202.33,-156.5 251.47,-175.14 287.55,-188.83"/>
|
|
<polygon fill="black" stroke="black" points="286.29,-192.1 296.88,-192.37 288.78,-185.55 286.29,-192.1"/>
|
|
</g>
|
|
<!-- 4 -->
|
|
<!-- name: "mMotion", typeName: "", id: 4, branchId: 0, recurseId: -1, attributes: 0, notes: "Position delta" -->
|
|
<g id="node5" class="node">
|
|
<title>4</title>
|
|
<ellipse fill="none" stroke="black" cx="336.43" cy="-126" rx="46.23" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="336.43" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">mMotion</text>
|
|
</g>
|
|
<!-- 0->4 -->
|
|
<g id="edge4" class="edge">
|
|
<title>0->4</title>
|
|
<path fill="none" stroke="black" d="M242.11,-126C254.91,-126 267.45,-126 278.97,-126"/>
|
|
<polygon fill="black" stroke="black" points="278.61,-129.5 288.61,-126 278.61,-122.5 278.61,-129.5"/>
|
|
</g>
|
|
<!-- 11 -->
|
|
<!-- name: "mOnGround", typeName: "", id: 11, branchId: 0, recurseId: -1, attributes: 0, notes: "Not falling / jumping" -->
|
|
<g id="node12" class="node">
|
|
<title>11</title>
|
|
<ellipse fill="none" stroke="black" cx="336.43" cy="-45" rx="58" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="336.43" y="-39.95" font-family="Times New Roman,serif" font-size="14.00">mOnGround</text>
|
|
</g>
|
|
<!-- 0->11 -->
|
|
<g id="edge11" class="edge">
|
|
<title>0->11</title>
|
|
<path fill="none" stroke="black" d="M166.97,-108.92C202.44,-95.46 251.78,-76.74 287.89,-63.04"/>
|
|
<polygon fill="black" stroke="black" points="289.12,-66.32 297.23,-59.5 286.64,-59.77 289.12,-66.32"/>
|
|
</g>
|
|
<!-- 2 -->
|
|
<!-- name: "Actor Runtime ID", typeName: "", id: 2, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node3" class="node">
|
|
<title>2</title>
|
|
<ellipse fill="none" stroke="black" cx="509.94" cy="-234" rx="78.99" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="509.94" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">Actor Runtime ID</text>
|
|
</g>
|
|
<!-- 1->2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>1->2</title>
|
|
<path fill="none" stroke="black" d="M389.35,-215.17C403.02,-217.33 418.06,-219.69 432.72,-222"/>
|
|
<polygon fill="black" stroke="black" points="431.91,-225.42 442.33,-223.51 433,-218.5 431.91,-225.42"/>
|
|
</g>
|
|
<!-- 3 -->
|
|
<!-- name: "unsigned varint64", typeName: "", id: 3, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node4" class="node">
|
|
<title>3</title>
|
|
<ellipse fill="none" stroke="black" cx="702.38" cy="-234" rx="77.45" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="702.38" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">unsigned varint64</text>
|
|
</g>
|
|
<!-- 2->3 -->
|
|
<g id="edge3" class="edge">
|
|
<title>2->3</title>
|
|
<path fill="none" stroke="black" d="M589.22,-234C597.17,-234 605.28,-234 613.33,-234"/>
|
|
<polygon fill="black" stroke="black" points="613.11,-237.5 623.11,-234 613.11,-230.5 613.11,-237.5"/>
|
|
</g>
|
|
<!-- 5 -->
|
|
<!-- name: "X", typeName: "", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node6" class="node">
|
|
<title>5</title>
|
|
<ellipse fill="none" stroke="black" cx="509.94" cy="-180" rx="27" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="509.94" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">X</text>
|
|
</g>
|
|
<!-- 4->5 -->
|
|
<g id="edge5" class="edge">
|
|
<title>4->5</title>
|
|
<path fill="none" stroke="black" d="M373.38,-137.32C402.95,-146.63 444.61,-159.75 473.92,-168.98"/>
|
|
<polygon fill="black" stroke="black" points="472.85,-172.31 483.44,-171.97 474.95,-165.63 472.85,-172.31"/>
|
|
</g>
|
|
<!-- 7 -->
|
|
<!-- name: "Y", typeName: "", id: 7, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node8" class="node">
|
|
<title>7</title>
|
|
<ellipse fill="none" stroke="black" cx="509.94" cy="-126" rx="27" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="509.94" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Y</text>
|
|
</g>
|
|
<!-- 4->7 -->
|
|
<g id="edge7" class="edge">
|
|
<title>4->7</title>
|
|
<path fill="none" stroke="black" d="M382.94,-126C410.48,-126 445.18,-126 471.19,-126"/>
|
|
<polygon fill="black" stroke="black" points="470.95,-129.5 480.95,-126 470.95,-122.5 470.95,-129.5"/>
|
|
</g>
|
|
<!-- 9 -->
|
|
<!-- name: "Z", typeName: "", id: 9, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node10" class="node">
|
|
<title>9</title>
|
|
<ellipse fill="none" stroke="black" cx="509.94" cy="-72" rx="27" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="509.94" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">Z</text>
|
|
</g>
|
|
<!-- 4->9 -->
|
|
<g id="edge9" class="edge">
|
|
<title>4->9</title>
|
|
<path fill="none" stroke="black" d="M373.38,-114.68C402.95,-105.37 444.61,-92.25 473.92,-83.02"/>
|
|
<polygon fill="black" stroke="black" points="474.95,-86.37 483.44,-80.03 472.85,-79.69 474.95,-86.37"/>
|
|
</g>
|
|
<!-- 6 -->
|
|
<!-- name: "float", typeName: "", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node7" class="node">
|
|
<title>6</title>
|
|
<ellipse fill="none" stroke="black" cx="702.38" cy="-180" rx="27.81" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="702.38" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">float</text>
|
|
</g>
|
|
<!-- 5->6 -->
|
|
<g id="edge6" class="edge">
|
|
<title>5->6</title>
|
|
<path fill="none" stroke="black" d="M537.42,-180C569.97,-180 625.48,-180 662.78,-180"/>
|
|
<polygon fill="black" stroke="black" points="662.69,-183.5 672.69,-180 662.69,-176.5 662.69,-183.5"/>
|
|
</g>
|
|
<!-- 8 -->
|
|
<!-- name: "float", typeName: "", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node9" class="node">
|
|
<title>8</title>
|
|
<ellipse fill="none" stroke="black" cx="702.38" cy="-126" rx="27.81" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="702.38" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">float</text>
|
|
</g>
|
|
<!-- 7->8 -->
|
|
<g id="edge8" class="edge">
|
|
<title>7->8</title>
|
|
<path fill="none" stroke="black" d="M537.42,-126C569.97,-126 625.48,-126 662.78,-126"/>
|
|
<polygon fill="black" stroke="black" points="662.69,-129.5 672.69,-126 662.69,-122.5 662.69,-129.5"/>
|
|
</g>
|
|
<!-- 10 -->
|
|
<!-- name: "float", typeName: "", id: 10, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node11" class="node">
|
|
<title>10</title>
|
|
<ellipse fill="none" stroke="black" cx="702.38" cy="-72" rx="27.81" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="702.38" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">float</text>
|
|
</g>
|
|
<!-- 9->10 -->
|
|
<g id="edge10" class="edge">
|
|
<title>9->10</title>
|
|
<path fill="none" stroke="black" d="M537.42,-72C569.97,-72 625.48,-72 662.78,-72"/>
|
|
<polygon fill="black" stroke="black" points="662.69,-75.5 672.69,-72 662.69,-68.5 662.69,-75.5"/>
|
|
</g>
|
|
<!-- 12 -->
|
|
<!-- name: "bool", typeName: "", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: "Not falling / jumping" -->
|
|
<g id="node13" class="node">
|
|
<title>12</title>
|
|
<ellipse fill="none" stroke="black" cx="702.38" cy="-18" rx="27.3" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="702.38" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">bool</text>
|
|
</g>
|
|
<!-- 11->12 -->
|
|
<g id="edge12" class="edge">
|
|
<title>11->12</title>
|
|
<path fill="none" stroke="black" d="M393.1,-40.87C468.09,-35.31 599.53,-25.56 663.82,-20.79"/>
|
|
<polygon fill="black" stroke="black" points="663.79,-24.3 673.5,-20.07 663.27,-17.32 663.79,-24.3"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|