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

76 lines
2.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "752507792",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"2154801871": {
"title": "AnvilDamagePacketPayload",
"type": "object",
"properties": {
"Block Position": {
"$ref": "#/definitions/269289973",
"x-ordinal-index": 1
},
"Damage Amount": {
"type": "integer",
"x-underlying-type": "uint8",
"x-ordinal-index": 0
}
},
"required": [
"Block Position",
"Damage Amount"
]
},
"269289973": {
"title": "NetworkBlockPosition",
"type": "object",
"properties": {
"X": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 0
},
"Y": {
"type": "integer",
"x-underlying-type": "uint32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 1
},
"Z": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 2
}
},
"required": [
"X",
"Y",
"Z"
]
}
},
"title": "AnvilDamagePacket",
"description": "Requests an anvil to be damaged.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/2154801871",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 141,
"[cereal:packet_details]": "Sends the current damage the anvil has taken per use from client."
}
}