Commands/playanimation

Makes one or more entities play a one-off animation.

Arguments

 * Specifies the targeted entities.
 * Specifies the targeted entities.


 * And it must be either a single word (no spaces) or a quoted string.
 * Should be an animation name (e.g. ), or an animation defined under the Json path   in the /entity/.entity.json file (e.g.   for only wolf entity).
 * Specifies an animation to play now.


 * And it must be either a single word (no spaces) or a quoted string.
 * Should be an animation name, or an animation defined under the Json path  in the /entity/.entity.json file.
 * Specifies the animation after the first animation stops playing.


 * Specifies the duration of the gradient animation.
 * Specifies the duration of the gradient animation.


 * And it must be either a single word (no spaces) or a quoted string.
 * Should be a MoLang expression.
 * A list of useable strings are Here.
 * Specifies the conditions for stopping animation.


 * And it must be either a single word (no spaces) or a quoted string.
 * Should be an animation controller name (such as ), or an animation controller defined under the Json path   in the /entity/.entity.json file.
 * Specifies an animation controller.

Example
Make the foxes sit down until they leave the ground. Once leaving the ground, the foxes become in sleep state:

History
命令/playanimation