{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.cc_alien.drone.levitate": {
      "states": {
        "default": {
          "transitions": [
            {
              "levitate": "query.is_on_ground"
            }
          ]
        },
        "levitate": {
          "on_entry": [
            "/effect @s levitation 3 3 true"
          ],
          "transitions": [
            {
              "default": "1"
            }
          ]
        }
      }
    },
    "controller.animation.cc_alien.drone.crash_on_damage": {
      "states": {
        "default": {
          "transitions": [
            {
              "crashed": "(query.health \u003c\u003d 10)"
            }
          ]
        },
        "crashed": {
          "animations": [
            "wait_15sec"
          ],
          "on_entry": [
            "@s on_crash"
          ],
          "transitions": [
            {
              "despawn": "query.all_animations_finished"
            }
          ]
        },
        "despawn": {
          "on_entry": [
            "/kill @s"
          ]
        }
      }
    }
  }
}