{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.quetzalcoatlus.root": {
            "initial_state": "idle",
            "states": {
                "idle": {
                    "animations": ["idle"],
                    "blend_transition": 0.2,
                    "transitions": [
                        {"move": "q.ground_speed > 0.1 && !q.has_target"},
                        {"run": "q.ground_speed > 0.1 && q.has_target"},
                        {"swim": "q.is_in_water && q.is_moving"},
                        {"swim.idle": "q.is_in_water && !q.is_moving"},
                        {"fly": "!q.is_on_ground"},
                        {"attack": "q.is_delayed_attacking"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ]
                },
                "move": {
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "q.ground_speed <= 0.1"},
                        {"run": "q.ground_speed > 0.1 && q.has_target"},
                        {"swim": "q.is_in_water && q.is_moving"},
                        {"swim.idle": "q.is_in_water && !q.is_moving"},
                        {"fly": "!q.is_on_ground"},
                        {"attack": "q.is_delayed_attacking"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ],
                    "animations": ["move"]
                },
                "run": {
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "q.ground_speed <= 0.1"},
                        {"move": "q.ground_speed > 0.1 && !q.has_target"},
                        {"swim": "q.is_in_water && q.is_moving"},
                        {"swim.idle": "q.is_in_water && !q.is_moving"},
                        {"fly": "!q.is_on_ground"},
                        {"attack": "q.is_delayed_attacking"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ],
                    "animations": ["run"]
                },
                "swim": {
                    "animations": ["swim","attack_layer"],
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "!q.is_in_water"},
                        {"swim.idle": "q.is_in_water && !q.is_moving"},
                        {"fly": "!q.is_on_ground"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ]
                },
                "swim.idle": {
                    "animations": ["swim","attack_layer"],
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "!q.is_in_water"},
                        {"swim": "q.is_in_water && q.is_moving"},
                        {"fly": "!q.is_on_ground"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ]
                },
                "fly": {
                    "animations": ["fly","attack_layer"],
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "q.is_on_ground"},
                        {"swim": "q.is_in_water && q.is_moving"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ]
                },
                "attack": {
                    "animations": ["attack"],
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "!q.is_delayed_attacking"},
                        {"swim": "q.is_in_water && q.is_moving"},
                        {"fly": "!q.is_on_ground"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ]
                },
                "death": {
                    "blend_transition": 0.2,
                    "animations": ["death","sink"]
                }
            }
        }
    }
}