mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-07-22 13:19:17 +00:00
* 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
102 lines
5.6 KiB
XML
102 lines
5.6 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: PlayerInputPacket Pages: 1 -->
|
|
<svg width="386pt" height="152pt"
|
|
viewBox="0.00 0.00 386.06 152.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 148)">
|
|
<title>PlayerInputPacket</title>
|
|
<polygon fill="white" stroke="none" points="-4,4 -4,-148 382.06,-148 382.06,4 -4,4"/>
|
|
<!-- 0 -->
|
|
<!-- name: "PlayerInputPacket", typeName: "", id: 0, branchId: 57, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node1" class="node">
|
|
<title>0</title>
|
|
<ellipse fill="none" stroke="black" cx="78.48" cy="-72" rx="78.48" ry="18"/>
|
|
<text text-anchor="middle" x="78.48" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">PlayerInputPacket</text>
|
|
</g>
|
|
<!-- 1 -->
|
|
<!-- name: "Move", typeName: "Vec2", id: 1, branchId: 0, recurseId: -1, attributes: 256, notes: "The desired local space move direction of the player in the vehicle. Convert this to world space by rotating by `mRot.y` along the Y (up) axis.
|
|
The server authoritative near-equivalent is PlayerAuthInputPacket::mMove with the only difference being that this is scaled by expected movement slowdowns like sneaking and using items." -->
|
|
<g id="node2" class="node">
|
|
<title>1</title>
|
|
<ellipse fill="none" stroke="black" cx="238.16" cy="-126" rx="32.93" ry="18"/>
|
|
<text text-anchor="middle" x="238.16" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Move</text>
|
|
</g>
|
|
<!-- 0->1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>0->1</title>
|
|
<path fill="none" stroke="black" d="M123.4,-87.04C147.21,-95.19 176.34,-105.17 199.16,-112.99"/>
|
|
<polygon fill="black" stroke="black" points="197.78,-116.21 208.38,-116.14 200.05,-109.59 197.78,-116.21"/>
|
|
</g>
|
|
<!-- 3 -->
|
|
<!-- name: "Jumping", typeName: "", id: 3, branchId: 0, recurseId: -1, attributes: 0, notes: "True if the player is holding down the jump input or is auto-jumping.
|
|
In server authoritative movement this is equivalent to `PlayerAuthInputPacket::InputData::Jumping` bit." -->
|
|
<g id="node4" class="node">
|
|
<title>3</title>
|
|
<ellipse fill="none" stroke="black" cx="238.16" cy="-72" rx="43.16" ry="18"/>
|
|
<text text-anchor="middle" x="238.16" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">Jumping</text>
|
|
</g>
|
|
<!-- 0->3 -->
|
|
<g id="edge3" class="edge">
|
|
<title>0->3</title>
|
|
<path fill="none" stroke="black" d="M157.4,-72C166.15,-72 174.92,-72 183.27,-72"/>
|
|
<polygon fill="black" stroke="black" points="183.25,-75.5 193.25,-72 183.25,-68.5 183.25,-75.5"/>
|
|
</g>
|
|
<!-- 5 -->
|
|
<!-- name: "Sneaking", typeName: "", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: "This is either the predicted sneak state as determined by sneak input or the latest value received from `SetActorDataPacket` depending on timing.
|
|
In server authoritative movement the closest equivalent is `PlayerAuthInputPacket::InputData::Sneaking` and does not have the timing issue." -->
|
|
<g id="node6" class="node">
|
|
<title>5</title>
|
|
<ellipse fill="none" stroke="black" cx="238.16" cy="-18" rx="45.21" ry="18"/>
|
|
<text text-anchor="middle" x="238.16" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">Sneaking</text>
|
|
</g>
|
|
<!-- 0->5 -->
|
|
<g id="edge5" class="edge">
|
|
<title>0->5</title>
|
|
<path fill="none" stroke="black" d="M123.4,-56.96C144.82,-49.62 170.55,-40.81 192.11,-33.43"/>
|
|
<polygon fill="black" stroke="black" points="193.21,-36.75 201.53,-30.2 190.94,-30.13 193.21,-36.75"/>
|
|
</g>
|
|
<!-- 2 -->
|
|
<!-- name: "Vec2", typeName: "", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node3" class="node">
|
|
<title>2</title>
|
|
<ellipse fill="none" stroke="black" cx="348.72" cy="-126" rx="29.34" ry="18"/>
|
|
<text text-anchor="middle" x="348.72" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Vec2</text>
|
|
</g>
|
|
<!-- 1->2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>1->2</title>
|
|
<path fill="none" stroke="black" d="M271.44,-126C282.78,-126 295.67,-126 307.58,-126"/>
|
|
<polygon fill="black" stroke="black" points="307.56,-129.5 317.56,-126 307.56,-122.5 307.56,-129.5"/>
|
|
</g>
|
|
<!-- 4 -->
|
|
<!-- name: "bool", typeName: "", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node5" class="node">
|
|
<title>4</title>
|
|
<ellipse fill="none" stroke="black" cx="348.72" cy="-72" rx="27.3" ry="18"/>
|
|
<text text-anchor="middle" x="348.72" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">bool</text>
|
|
</g>
|
|
<!-- 3->4 -->
|
|
<g id="edge4" class="edge">
|
|
<title>3->4</title>
|
|
<path fill="none" stroke="black" d="M281.76,-72C291.01,-72 300.73,-72 309.79,-72"/>
|
|
<polygon fill="black" stroke="black" points="309.7,-75.5 319.7,-72 309.7,-68.5 309.7,-75.5"/>
|
|
</g>
|
|
<!-- 6 -->
|
|
<!-- name: "bool", typeName: "", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node7" class="node">
|
|
<title>6</title>
|
|
<ellipse fill="none" stroke="black" cx="348.72" cy="-18" rx="27.3" ry="18"/>
|
|
<text text-anchor="middle" x="348.72" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">bool</text>
|
|
</g>
|
|
<!-- 5->6 -->
|
|
<g id="edge6" class="edge">
|
|
<title>5->6</title>
|
|
<path fill="none" stroke="black" d="M283.63,-18C292.31,-18 301.33,-18 309.77,-18"/>
|
|
<polygon fill="black" stroke="black" points="309.7,-21.5 319.7,-18 309.7,-14.5 309.7,-21.5"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|