mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 06:35:12 +00:00
39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "523590090",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"4219138389": {
|
|
"title": "SetTimePacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Time": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"Time"
|
|
]
|
|
}
|
|
},
|
|
"title": "SetTimePacket",
|
|
"description": "Set Time",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/4219138389",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 10,
|
|
"[cereal:packet_details]": "Every so often (and at login) the server sends the current time to the client, and additionally the client can set the server time through 2 commands: DayLockCommand and TimeCommand"
|
|
}
|
|
} |