1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-07 03:35:09 +00:00
Files
bedrock-protocol-docs/json/LevelEventPacket.json

80 lines
2.5 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "4270035307",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"3056216976": {
"title": "LevelEventPacketPayload",
"type": "object",
"properties": {
"Data": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 2
},
"Event Id": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 0
},
"Position": {
"description": "Note about Event ID: Legacy particles use the @enums.html#Particle Type@ enum |ed with ParticleLegacyEvent(0x4000)",
"$ref": "#/definitions/4004946602",
"x-ordinal-index": 1
}
},
"required": [
"Data",
"Event Id",
"Position"
]
},
"4004946602": {
"title": "Vec3",
"type": "object",
"properties": {
"X": {
"type": "number",
"x-underlying-type": "float",
"x-ordinal-index": 0
},
"Y": {
"type": "number",
"x-underlying-type": "float",
"x-ordinal-index": 1
},
"Z": {
"type": "number",
"x-underlying-type": "float",
"x-ordinal-index": 2
}
},
"required": [
"X",
"Y",
"Z"
]
}
},
"title": "LevelEventPacket",
"description": "Splash Potions, weather events, global pause, simlock commands, oh my!",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/3056216976",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 25,
"[cereal:packet_details]": ""
}
}