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

58 lines
1.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1848826019",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"169551854": {
"title": "struct HurtArmorPacketPayload",
"type": "object",
"properties": {
"Armor Slots": {
"description": "Bitset",
"type": "integer",
"x-underlying-type": "uint64",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 2
},
"Cause": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 0
},
"Damage": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 1
}
},
"required": [
"Armor Slots",
"Cause",
"Damage"
]
}
},
"title": "HurtArmorPacket",
"description": "Hurt Armor",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/169551854",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 38,
"[cereal:packet_details]": "Sends the damage taken after armor is taken into account. This looks like it is trying to be phased out, this is not sent while the ItemStackNetManagerServer is active. From the server."
}
}