mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 15:55:09 +00:00
91 lines
2.9 KiB
JSON
91 lines
2.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "315512544",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"1984843379": {
|
|
"title": "MotionPredictionHintsPacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"mMotion": {
|
|
"description": "Position delta",
|
|
"$ref": "#/definitions/4004946602",
|
|
"x-ordinal-index": 1
|
|
},
|
|
"mOnGround": {
|
|
"description": "Not falling / jumping",
|
|
"type": "boolean",
|
|
"x-ordinal-index": 2
|
|
},
|
|
"mRuntimeId": {
|
|
"description": "Id of moving actor",
|
|
"$ref": "#/definitions/3541243607",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"mMotion",
|
|
"mOnGround",
|
|
"mRuntimeId"
|
|
]
|
|
},
|
|
"4004946602": {
|
|
"title": "Vec3",
|
|
"type": "object",
|
|
"properties": {
|
|
"X": {
|
|
"type": "number",
|
|
"x-underlying-type": "float",
|
|
"x-ordinal-index": 0
|
|
},
|
|
"Y": {
|
|
"type": "number",
|
|
"x-underlying-type": "float",
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Z": {
|
|
"type": "number",
|
|
"x-underlying-type": "float",
|
|
"x-ordinal-index": 2
|
|
}
|
|
},
|
|
"required": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
},
|
|
"3541243607": {
|
|
"title": "ActorRuntimeID",
|
|
"type": "object",
|
|
"properties": {
|
|
"Actor Runtime ID": {
|
|
"type": "integer",
|
|
"x-underlying-type": "uint64",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"Actor Runtime ID"
|
|
]
|
|
}
|
|
},
|
|
"title": "MotionPredictionHintsPacket",
|
|
"description": "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.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/1984843379",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 157,
|
|
"[cereal:packet_details]": "This is from the server when spatial optimizations are enabled and the server does not send a spatial update."
|
|
}
|
|
} |