mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 21:45:34 +00:00
90 lines
3.4 KiB
JSON
90 lines
3.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "439727887",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"3541243607": {
|
|
"title": "ActorRuntimeID",
|
|
"type": "object",
|
|
"properties": {
|
|
"Actor Runtime ID": {
|
|
"type": "integer",
|
|
"x-underlying-type": "uint64",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"Actor Runtime ID"
|
|
]
|
|
},
|
|
"3596920726": {
|
|
"title": "AnimateEntityPacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"mAnimation": {
|
|
"type": "string",
|
|
"x-ordinal-index": 0
|
|
},
|
|
"mBlendOutTime": {
|
|
"type": "number",
|
|
"x-underlying-type": "float",
|
|
"x-ordinal-index": 5
|
|
},
|
|
"mController": {
|
|
"type": "string",
|
|
"x-ordinal-index": 4
|
|
},
|
|
"mNextState": {
|
|
"type": "string",
|
|
"x-ordinal-index": 1
|
|
},
|
|
"mRuntimeIds": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/3541243607"
|
|
},
|
|
"x-ordinal-index": 6
|
|
},
|
|
"mStopExpression": {
|
|
"type": "string",
|
|
"x-ordinal-index": 2
|
|
},
|
|
"mStopExpressionVersion": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"EnumAsValue"
|
|
],
|
|
"x-ordinal-index": 3
|
|
}
|
|
},
|
|
"required": [
|
|
"mAnimation",
|
|
"mBlendOutTime",
|
|
"mController",
|
|
"mNextState",
|
|
"mRuntimeIds",
|
|
"mStopExpression",
|
|
"mStopExpressionVersion"
|
|
]
|
|
}
|
|
},
|
|
"title": "AnimateEntityPacket",
|
|
"description": "The AnimateEntityPacket is used to trigger a one - off animation on the client it is sent to.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/3596920726",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 158,
|
|
"[cereal:packet_details]": "Several properties can be specified in the following order:</br>\n\t- The name of the animation (a string) that the specified entities are to play.</br>\n\t- The next state to transition to (a string) once the specified animation is finished playing.</br>\n\t- The stop expression (a string), the condition that determines when to transition to the next state.</br>\n\t- The name of an animation controller (a string) that you would like to use.</br>\n\t- The blend out time (a float), the amount of time to blend out of this animation.</br>\n\t- A vector of ActorRuntimeIds of the entities that will play the specified animation."
|
|
}
|
|
} |