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

87 lines
2.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "830379746",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"3338279157": {
"title": "PlaySoundPacketPayload",
"type": "object",
"properties": {
"Name": {
"type": "string",
"x-ordinal-index": 0
},
"Pitch": {
"type": "number",
"x-underlying-type": "float",
"x-ordinal-index": 3
},
"Position": {
"$ref": "#/definitions/269289973",
"x-ordinal-index": 1
},
"Volume": {
"type": "number",
"x-underlying-type": "float",
"x-ordinal-index": 2
}
},
"required": [
"Name",
"Pitch",
"Position",
"Volume"
]
},
"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": "PlaySoundPacket",
"description": "This packet is only used via command or script event. This is for 3rd party content.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/3338279157",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 86,
"[cereal:packet_details]": ""
}
}