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/SetHealthPacket.json

39 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2577070585",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"1047151156": {
"title": "SetHealthPacketPayload",
"type": "object",
"properties": {
"Health": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 0
}
},
"required": [
"Health"
]
}
},
"title": "SetHealthPacket",
"description": "This packet is sent to the client when the player is spawned in and when they respawn.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/1047151156",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 42,
"[cereal:packet_details]": ""
}
}