1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-07 01:15:12 +00:00
Files
bedrock-protocol-docs/json/DeathInfoPacket.json

56 lines
1.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "130434945",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"3619349709": {
"title": "DeathCauseMessageType",
"type": "object",
"properties": {
"Death Cause Attack Name": {
"type": "string",
"x-ordinal-index": 0
},
"Death Cause Message List": {
"type": "array",
"items": {
"type": "string"
},
"x-ordinal-index": 1
}
},
"required": [
"Death Cause Attack Name",
"Death Cause Message List"
]
},
"378938632": {
"title": "DeathInfoPacketPayload",
"type": "object",
"properties": {
"Death Cause Message": {
"$ref": "#/definitions/3619349709",
"x-ordinal-index": 0
}
},
"required": [
"Death Cause Message"
]
}
},
"title": "DeathInfoPacket",
"description": "Sent from the server to client when player dies (Level::onPlayerDeath).",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/378938632",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 189,
"[cereal:packet_details]": "mDeathCauseMessage: is untranslated cause of death string vector returned from ActorDamageSource"
}
}