mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 15:55:09 +00:00
102 lines
3.2 KiB
JSON
102 lines
3.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "4218540248",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"3712476433": {
|
|
"title": "struct SetActorLinkPacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Link": {
|
|
"$ref": "#/definitions/2142523653",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"Link"
|
|
]
|
|
},
|
|
"2142523653": {
|
|
"title": "struct ActorLink",
|
|
"type": "object",
|
|
"properties": {
|
|
"Immediate": {
|
|
"type": "boolean",
|
|
"x-ordinal-index": 3
|
|
},
|
|
"Passenger Initiated": {
|
|
"description": "Whether the link was changed by the passenger",
|
|
"type": "boolean",
|
|
"x-ordinal-index": 4
|
|
},
|
|
"Target A": {
|
|
"$ref": "#/definitions/1221684255",
|
|
"x-ordinal-index": 0
|
|
},
|
|
"Target B": {
|
|
"$ref": "#/definitions/1221684255",
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Type": {
|
|
"title": "enum ActorLinkType",
|
|
"type": "string",
|
|
"enum": [
|
|
"None",
|
|
"Riding",
|
|
"Passenger"
|
|
],
|
|
"x-underlying-type": "uint8",
|
|
"x-serialization-options": [
|
|
"EnumAsValue"
|
|
],
|
|
"x-ordinal-index": 2
|
|
},
|
|
"Vehicle Angular Velocity": {
|
|
"type": "number",
|
|
"x-underlying-type": "float",
|
|
"x-ordinal-index": 5
|
|
}
|
|
},
|
|
"required": [
|
|
"Immediate",
|
|
"Passenger Initiated",
|
|
"Target A",
|
|
"Target B",
|
|
"Type",
|
|
"Vehicle Angular Velocity"
|
|
]
|
|
},
|
|
"1221684255": {
|
|
"title": "ActorUniqueID",
|
|
"type": "object",
|
|
"properties": {
|
|
"Actor Unique ID": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int64",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"Actor Unique ID"
|
|
]
|
|
}
|
|
},
|
|
"title": "SetActorLinkPacket",
|
|
"description": "Sent by both client and server, only received by LegacyClientHandler.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/3712476433",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 41,
|
|
"[cereal:packet_details]": "Sent when the player starts riding something. Two are sent at a time for some reason."
|
|
}
|
|
} |