1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 11:15:17 +00:00
Files
bedrock-protocol-docs/json/SpawnParticleEffectPacket.json

108 lines
3.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2905948627",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"315535208": {
"title": "Json::Value",
"type": "string"
},
"4126511550": {
"title": "struct SpawnParticleEffectPacketPayload",
"type": "object",
"properties": {
"Actor Id": {
"$ref": "#/definitions/1221684255",
"x-ordinal-index": 1
},
"Dimension Id": {
"type": "integer",
"x-underlying-type": "uint8",
"x-ordinal-index": 0
},
"Effect Name": {
"description": "Should be an effect that exists on the client. No-op if the effect doesn't exist.",
"type": "string",
"x-ordinal-index": 3
},
"Molang Variables": {
"$ref": "#/definitions/2661281657",
"x-ordinal-index": 4
},
"Position": {
"$ref": "#/definitions/4004946602",
"x-ordinal-index": 2
}
},
"required": [
"Actor Id",
"Dimension Id",
"Effect Name",
"Molang Variables",
"Position"
]
},
"2661281657": {
"title": "class MolangVariableMap",
"$ref": "#/definitions/315535208"
},
"1221684255": {
"title": "ActorUniqueID",
"type": "object",
"properties": {
"Actor Unique ID": {
"type": "integer",
"x-underlying-type": "int64",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 0
}
},
"required": [
"Actor Unique ID"
]
},
"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": "SpawnParticleEffectPacket",
"description": "Tell client to spawn a particle effect.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/4126511550",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 118,
"[cereal:packet_details]": "This is not used for much anymore, only the Particle command (spawn particle by name at a location) and for ScriptServerSpawnParticleAttachedToActor and ScriptServerSpawnParticleInWorldEvent."
}
}