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

39 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3143740386",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"4021901037": {
"title": "SetDifficultyPacketPayload",
"type": "object",
"properties": {
"Difficulty": {
"type": "integer",
"x-underlying-type": "uint32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 0
}
},
"required": [
"Difficulty"
]
}
},
"title": "SetDifficultyPacket",
"description": "Set Difficulty",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/4021901037",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 60,
"[cereal:packet_details]": "Used for when a client changes difficulty through the menu or when the server changes the difficulty."
}
}