{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.tree_frog.main": {
      "initial_state": "idle",
      "states": {
        "idle": {
          "animations": ["idle"],
          "transitions": [
            {
              "walk": "(q.modified_move_speed > 0.01) || (q.is_wall_climbing && (q.vertical_speed != 0))"
            },
            {
              "swim": "q.is_in_water"
            },
            { "jump": "!q.is_on_ground" },
            {
              "eat": "q.is_eating_mob"
            }
          ],
          "blend_transition": 0.2
        },
        "eat": {
          "animations": ["eat"],
          "transitions": [
            { "idle": "q.all_animations_finished" }
          ],
          "blend_transition": 0.2
        },
        "walk": {
          "animations": ["walk"],
          "transitions": [
            {
              "idle": "!(q.modified_move_speed > 0.01) && !(q.is_wall_climbing && (q.vertical_speed != 0)) && !q.is_in_water"
            },
            {
              "jump": "!q.is_on_ground && !q.is_in_water && !(q.is_wall_climbing && (q.vertical_speed != 0))"
            },
            {
              "swim": "q.is_in_water"
            },
            {
              "eat": "q.is_eating_mob"
            }
          ],
          "blend_transition": 0.2
        },
        "swim": {
          "animations": ["swim"],
          "transitions": [
            {
              "idle": "!(q.modified_move_speed > 0.01) && !(q.is_wall_climbing && (q.vertical_speed != 0)) && !q.is_in_water"
            },
            {
              "jump": "!q.is_on_ground && !q.is_in_water && !(q.is_wall_climbing && (q.vertical_speed != 0))"
            },
            {
              "walk": "(q.is_on_ground || (q.is_wall_climbing && (q.vertical_speed != 0))) && (q.modified_move_speed > 0.01)"
            },
            {
              "eat": "q.is_eating_mob"
            }
          ],
          "blend_transition": 0.2
        },
        "jump": {
          "animations": ["jump"],
          "transitions": [
            {
              "idle": "(q.is_on_ground) && !(q.modified_move_speed > 0.01) && !q.is_in_water"
            },
            {
              "walk": "(q.is_on_ground || (q.is_wall_climbing && (q.vertical_speed != 0))) && (q.modified_move_speed > 0.01)"
            },
            {
              "swim": "q.is_in_water"
            },
            {
              "eat": "q.is_eating_mob"
            }
          ],
          "blend_transition": 0.2
        }
      }
    },
    "controller.animation.silverlabs_nat.tree_frog.croak": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            { "croak": "Math.random_integer(0,500) == 0" }
          ]
        },
        "croak": {
          "animations": ["croak"],
          "transitions": [{ "default": "q.all_animations_finished" }]
        }
      }
    },
    "controller.animation.silverlabs_nat.tree_frog.climb": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            {
              "climb": "(q.is_wall_climbing && (q.vertical_speed != 0))"
            }
          ],
          "blend_transition": 0.5
        },
        "climb": {
          "animations": ["climb"],
          "transitions": [
            {
              "default": "!(q.is_wall_climbing && (q.vertical_speed != 0))"
            }
          ],
          "blend_transition": 0.5
        }
      }
    }
  }
}
