{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.ostrich.main": {
      "states": {
        "default": {
          "animations": [
            "idle"
          ],
          "transitions": [
            { "flap": "!q.is_on_ground && !q.is_riding" },
            { "sit": "q.is_sitting && q.state_time > 0.5 && !q.is_riding" },
            {
              "run": "q.modified_move_speed > 0.5 && q.state_time > 0.5 && !q.is_riding"
            },
            {
              "walk": "q.modified_move_speed > 0.1 && q.state_time > 0.5 && !q.is_riding"
            },
            {
              "bury_head": "q.is_avoiding_mobs && !q.is_interested && q.state_time > 0.5 && !q.is_riding"
            }
          ],
          "blend_transition": 0.2
        },
        "sit": {
          "animations": [
            "sit"
          ],
          "transitions": [
            { "flap": "!q.is_on_ground" },
            { "default": "!q.is_sitting && q.state_time > 0.5" }
          ],
          "blend_transition": 0.2
        },
        "walk": {
          "animations": [
            "walk"
          ],
          "transitions": [
            { "flap": "!q.is_on_ground" },
            { "sit": "q.is_sitting && q.state_time > 0.5" },
            { "run": "q.modified_move_speed > 0.5 && q.state_time > 0.5" },
            {
              "bury_head": "q.modified_move_speed <= 0.1 && q.is_avoiding_mobs && !q.is_interested && q.state_time > 0.5"
            },
            { "default": "q.modified_move_speed <= 0.1 && q.state_time > 0.5" }
          ],
          "blend_transition": 0.2
        },
        "run": {
          "animations": [
            "run"
          ],
          "transitions": [
            { "flap": "!q.is_on_ground" },
            { "sit": "q.is_sitting && q.state_time > 0.5" },
            {
              "bury_head": "q.modified_move_speed <= 0.1 && q.is_avoiding_mobs && !q.is_interested && q.state_time > 0.5"
            },
            { "default": "q.modified_move_speed <= 0.1 && q.state_time > 0.5" },
            { "walk": "q.modified_move_speed <= 0.5 && q.state_time > 0.5" }
          ],
          "blend_transition": 0.2
        },
        "flap": {
          "animations": [
            "flap"
          ],
          "transitions": [
            { "sit": "q.is_on_ground && q.is_sitting" },
            { "run": "q.is_on_ground && q.modified_move_speed > 0.5" },
            { "walk": "q.is_on_ground && q.modified_move_speed > 0.1" },
            { "default": "q.is_on_ground" }
          ],
          "blend_transition": 0.15
        },
        "bury_head": {
          "animations": [
            "bury_head"
          ],
          "transitions": [
            { "flap": "!q.is_on_ground" },
            { "sit": "q.is_sitting && q.state_time > 0.5" },
            {
              "run": "!q.is_avoiding_mobs && q.modified_move_speed > 0.5 && q.state_time > 0.5"
            },
            {
              "walk": "!q.is_avoiding_mobs && q.modified_move_speed > 0.1 && q.state_time > 0.5"
            },
            {
              "default": "(!q.is_avoiding_mobs || q.is_interested) && q.state_time > 0.5"
            }
          ],
          "blend_transition": 0.5
        }
      }
    },
    "controller.animation.silverlabs_nat.ostrich.attack": {
      "states": {
        "default": {
          "transitions": [
            { "attack": "q.is_delayed_attacking" }
          ],
          "blend_transition": 0.2
        },
        "attack": {
          "animations": [
            "attack"
          ],
          "transitions": [
            {
              "default": "!q.is_delayed_attacking && q.all_animations_finished"
            }
          ],
          "blend_transition": 0.2
        }
      }
    },
    "controller.animation.silverlabs_nat.ostrich.baby_main": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": [
            "baby_idle"
          ],
          "transitions": [
            { "sit": "q.is_sitting" },
            { "run": "q.modified_move_speed > 0.5" },
            { "walk": "q.modified_move_speed > 0.1" }
          ],
          "blend_transition": 0.2
        },
        "walk": {
          "animations": [
            "baby_walk"
          ],
          "transitions": [
            { "sit": "q.is_sitting" },
            { "run": "q.modified_move_speed > 0.5" },
            { "default": "q.modified_move_speed <= 0.1" }
          ],
          "blend_transition": 0.2
        },
        "run": {
          "animations": [
            "baby_run"
          ],
          "transitions": [
            { "sit": "q.is_sitting" },
            { "default": "q.modified_move_speed <= 0.1" },
            { "walk": "q.modified_move_speed <= 0.5" }
          ],
          "blend_transition": 0.2
        },
        "sit": {
          "animations": [
            "baby_sit"
          ],
          "transitions": [
            { "sit_idle": "q.is_sitting && q.all_animations_finished" },
            { "unsit": "!q.is_sitting" }
          ],
          "blend_transition": 0.2
        },
        "sit_idle": {
          "animations": [
            "baby_sit_idle"
          ],
          "transitions": [
            { "unsit": "!q.is_sitting" }
          ],
          "blend_transition": 0.2
        },
        "unsit": {
          "animations": [
            "baby_unsit"
          ],
          "transitions": [
            { "sit": "q.is_sitting" },
            { "default": "!q.is_sitting && q.all_animations_finished" }
          ],
          "blend_transition": 0.2
        }
      }
    }
  }
}
