Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Makes one or more entities play a one-off animation.
Permission Level | Game Directors |
---|---|
Requires Cheats? | Yes |
Usage
Play animation
/playanimation <entity: target> <animation: string> [next_state: string] [blend_out_time: float] [stop_expression: string] [controller: string]
Play an animation with an entity and animation chosen, and optional next state, blend out time, stop expression, and controller.
Arguments
animation
: string Required. Astring
that is a single word or quotedstring
that refers to an animation name or an animation JSON file in a resource pack.blend_out_time
: floatcontroller
: string Optional. Astring
that is an animation controller name or a new file defined in a resource pack.entity
: target Required. Astring
ortarget selector
to identify the entity.next_state
: stringstop_expression
: string