1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 19:25:16 +00:00
Files
bedrock-protocol-docs/json/PacketViolationWarningPacket.json

76 lines
2.5 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2736192880",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"221087785": {
"title": "PacketViolationWarningPacketPayload",
"type": "object",
"properties": {
"Violation Context": {
"type": "string",
"x-ordinal-index": 3
},
"Violation PacketId": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 2
},
"Violation Severity": {
"title": "PacketViolationSeverity",
"type": "string",
"enum": [
"Unknown",
"Warning",
"FinalWarning",
"TerminatingConnection"
],
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression",
"EnumAsValue"
],
"x-ordinal-index": 1
},
"Violation Type": {
"title": "PacketViolationType",
"type": "string",
"enum": [
"Unknown",
"PacketMalformed"
],
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression",
"EnumAsValue"
],
"x-ordinal-index": 0
}
},
"required": [
"Violation Context",
"Violation PacketId",
"Violation Severity",
"Violation Type"
]
}
},
"title": "PacketViolationWarningPacket",
"description": "This is sent when the client detects a malformed packet",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/221087785",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 156,
"[cereal:packet_details]": ""
}
}