1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-09-18 17:09:21 +00:00
Files
bedrock-protocol-docs/html/MotionPredictionHintsPacket.html
2025-07-08 11:52:36 -07:00

20 lines
1.3 KiB
HTML

<!DOCTYPE html> <html> <head><style>table{font-family: arial, sans-serif;border-collapse: collapse;width: 100% ;}.tab { margin-left: 40px; }td, th{text-align: left;padding: 8px;}tr:nth-child(even) {background-color: #dddddd;}div#expand{display:block;}</style> </head> <body><h1>MotionPredictionHintsPacket (id: 157)</h1>
<table><col width="1%"><col width="99%"><tr><th></th><th></th></tr><tr><td> <b>Purpose:</b> </td>
<td>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.</td>
</tr><tr><td> <b>Notes:</b> </td>
<td>This is from the server when spatial optimizations are enabled and the server does not send a spatial update.</td>
</tr></table><br><h2>Payload</h2>
<img src="svg/MotionPredictionHintsPacket.svg" alt="MotionPredictionHintsPacket">
<br><br><br><table><col width="10%"><col width="10%"><col width="15%"><col width="80%"><tr><th>Field Name</th><th>Field Type</th><th>Field Constraints</th><th>Field Notes</th></tr><tr><td>mRuntimeId</td>
<td>ActorRuntimeID</td>
<td></td>
<td>Id of moving actor</td>
</tr><tr><td>mMotion</td>
<td>Vec3</td>
<td></td>
<td>Position delta</td>
</tr><tr><td>mOnGround</td>
<td>bool</td>
<td></td>
<td>Not falling / jumping</td>
</tr></table></body> </html>