1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 14:45:14 +00:00
Files
bedrock-protocol-docs/json/ClientCameraAimAssistPacket.json

53 lines
1.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1977148901",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"1803493816": {
"title": "ClientCameraAimAssistPacketPayload",
"type": "object",
"properties": {
"Action": {
"title": "ClientCameraAimAssistPacketAction",
"type": "string",
"enum": [
"SetFromCameraPreset",
"Clear"
],
"x-underlying-type": "uint8",
"x-serialization-options": [
"EnumAsValue"
],
"x-ordinal-index": 1
},
"Allow aim assist": {
"type": "boolean",
"x-ordinal-index": 2
},
"Camera Preset Id": {
"type": "string",
"x-ordinal-index": 0
}
},
"required": [
"Action",
"Camera Preset Id"
]
}
},
"title": "ClientCameraAimAssistPacket",
"description": "Client-side activation of aim-assist",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/1803493816",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 321,
"[cereal:packet_details]": "\n\tSent by clients to the server for activating/deactivating aim-assist.\n\tActivation uses the CameraPreset Id for server-side lookup and uses its aim_assist field\n\tfor aim-assist activation settings.\n\t"
}
}