mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 22:55:12 +00:00
71 lines
2.1 KiB
JSON
71 lines
2.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "2749481094",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"528292593": {
|
|
"title": "PlayerArmorDamagePacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Armor Slot and Damage Pairs": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/2724693065"
|
|
},
|
|
"x-ordinal-index": 0,
|
|
"maxItems": 5
|
|
}
|
|
},
|
|
"required": [
|
|
"Armor Slot and Damage Pairs"
|
|
]
|
|
},
|
|
"2724693065": {
|
|
"title": "ArmorSlotAndDamagePair",
|
|
"type": "object",
|
|
"properties": {
|
|
"Armor Slot": {
|
|
"title": "SharedTypes::Legacy::ArmorSlot",
|
|
"type": "string",
|
|
"enum": [
|
|
"Head",
|
|
"Torso",
|
|
"Legs",
|
|
"Feet",
|
|
"Body"
|
|
],
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression",
|
|
"EnumAsValue"
|
|
],
|
|
"x-ordinal-index": 0
|
|
},
|
|
"Damage": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int16",
|
|
"x-ordinal-index": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"Armor Slot",
|
|
"Damage"
|
|
]
|
|
}
|
|
},
|
|
"title": "PlayerArmorDamagePacket",
|
|
"description": "Sent from server whenever the player's armor takes damage.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/528292593",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 149,
|
|
"[cereal:packet_details]": ""
|
|
}
|
|
} |