Animation actions - mchorse/chameleon GitHub Wiki
Chameleon model morphs are animated using action system. For different states of an entity, there is a dedicated action for that. Here is a table that describes what every action does, its default name in the .animation.json file, and the name in the Chameleon morph's actions panel list.
| Name in the morph editor | Name in Blockbench | Description |
|---|---|---|
| Idle | idle |
Default animation when an entity is standing still on the ground. |
| Running | running |
Running animation when an entity walks on the ground (WASD). |
| Sprinting | sprinting |
Sprinting animation when an entity sprints (i.e. by pressing W twice or Ctrl keys) on the ground. |
| CrouchingIdle | crouching_idle |
Sneaking animation when an entity stands still on the ground. |
| Crouching | crouching |
Sneaking animation when an entity walks on the ground (WASD). |
| SwimmingIdle | swimming_idle |
Swimming animation when an entity is in water or moves vertically. |
| Swimming | swimming |
Swimming animation when an entity is in water and moves horizontally (WASD). |
| FlyingIdle | flying_idle |
Flying animation when a player is in the air floating still and in creative flight. * |
| Flying | flying |
Flying animation when a player is in the air moving around (WASD + Jump + Sneak). * |
| RidingIdle | riding_idle |
Mounting animation when an entity is sitting still on a mounted entity. |
| Riding | riding |
Mounting animation when entity's mounts is moving around. |
| Dying | dying |
Dying animation when an entity is currently dying. Important: this animation lasts only 1 second (20 ticks)! |
| Falling | falling |
Falling animation when an entity quickly falls (moves vertically down). |
| Sleeping | sleeping |
Sleeping animation when a player is in bed. |
| Swipe | swipe |
Swiping animation when an entity is hitting something (i.e. left clicking). |
| Jump | jump |
Jumping animation when an entity jumps (i.e. pressing Space). |
| Hurt | hurt |
Hurting animation when an entity gets any kind of damage. |
| Land | land |
Landing animation when an entity lands. |
| Shoot | shoot |
Shooting animation when an entity draws a bow. |
| Consume | consume |
Item usage animation when an entity consumes food, potions, etc. |
* — it works only for the client's player (i.e. you), due to Mojang not syncing creative flight state